Searched refs:INBOUND_HASH (Results 1 – 2 of 2) sorted by relevance
383 #define INBOUND_HASH(sadb, spi) ((spi) % ((sadb)->sdb_hashsize)) macro393 #define INBOUND_BUCKET(sadb, spi) &(((sadb)->sdb_if)[INBOUND_HASH(sadb, spi)])
2348 sq->inhash = INBOUND_HASH(sq->sp, sq->assoc->sadb_sa_spi); in sadb_form_query()