| 524 | (&V_in6_ifaddrhashtbl[IN6ADDR_HASHVAL(x) & V_in6_ifaddrhmask]) |
| 525 | |
| 526 | static __inline uint32_t |
| 527 | in6_addrhash(const struct in6_addr *in6) |
| 528 | { |
| 529 | uint32_t x; |
| 530 | |
| 531 | x = in6->s6_addr32[0] ^ in6->s6_addr32[1] ^ in6->s6_addr32[2] ^ |
| 532 | in6->s6_addr32[3]; |
| 533 | return (fnv_32_buf(&x, sizeof(x), FNV1_32_INIT)); |
| 534 | } |
| 535 | |
| 536 | extern struct rmlock in6_ifaddr_lock; |
| 537 | #define IN6_IFADDR_LOCK_ASSERT() rm_assert(&in6_ifaddr_lock, RA_LOCKED) |
nothing calls this directly
no test coverage detected