Searched refs:EXTRACTBIT (Results 1 – 3 of 3) sorted by relevance
/illumos-gate/usr/src/uts/common/ipp/ipgpc/ |
H A D | trie.c | 139 bit = EXTRACTBIT(nodep->val, pos, key_len); in t_split() 159 EXTRACTBIT(nodep->val, in t_split() 185 EXTRACTBIT(nodep->val, in t_split() 234 if (EXTRACTBIT(mask, (pos - 1), key_len) != 1) { in t_insert() 247 bit = EXTRACTBIT(key, (pos - 1), key_len); in t_insert() 253 if (bit != EXTRACTBIT(c_node->val, (pos - 1), in t_insert() 353 if (EXTRACTBIT(mask.s6_addr32[i], (pos - 1), type_len) in t_insert6() 357 bit = EXTRACTBIT(key.s6_addr32[i], (pos - 1), type_len); in t_insert6() 410 (EXTRACTBIT(mask, (pos - 1), (uint8_t)(*tid)->key_len) != 1)) { in t_traverse_delete() 452 (EXTRACTBIT(mask, (pos - 1), (uint8_t)(*tid)->key_len) in t_traverse_delete() [all …]
|
H A D | trie.h | 56 #define EXTRACTBIT(val, pos, len) (EXTRACTBIT_CMN(val, pos)) macro 58 #define EXTRACTBIT(val, pos, len) \
|
H A D | filters.c | 924 if (EXTRACTBIT(mask, (pos - 1), len) == 0) { in iscontinuousmask()
|