Lines Matching refs:mask
137 #define TNRH_ADDR_MASK_HASH_V6(addr, mask) \
138 ((((addr).s6_addr8[8] & (mask).s6_addr8[8]) ^ \
139 ((addr).s6_addr8[9] & (mask).s6_addr8[9]) ^ \
140 ((addr).s6_addr8[10] & (mask).s6_addr8[10]) ^ \
141 ((addr).s6_addr8[13] & (mask).s6_addr8[13]) ^ \
142 ((addr).s6_addr8[14] & (mask).s6_addr8[14]) ^ \
143 ((addr).s6_addr8[15] & (mask).s6_addr8[15])) % TNRH_TABLE_HASH_SIZE)
145 /* Mask comparison: is IPv6 addr a, and'ed with mask m, equal to addr b? */
316 (void) fprintf(logf, gettext("rhaddr_compar_mask mask = 0x%4x, \
382 * Convert length for a mask to the mask.
393 * Convert length for a mask to the mask.
1147 rhtable_lookup_v6(struct sockaddr_in6 *saddrp, in6_addr_t mask, int i)
1155 hash = (unsigned char) TNRH_ADDR_MASK_HASH_V6(saddrp->sin6_addr, mask);
1426 * to load, if only the mask used has changed,
1489 * to load, if only the mask used has changed,
1854 mask = %u, reload = %d\n", tlbt->addr, tlbt->template_name,