Searched refs:RAW_HTABLE_SIZE (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/include/net/
H A Draw.h31 #define RAW_HTABLE_SIZE MAX_INET_PROTOS macro
35 struct hlist_head ht[RAW_HTABLE_SIZE];
/linux-4.4.14/net/ipv4/
H A Draw.c101 head = &h->ht[inet_sk(sk)->inet_num & (RAW_HTABLE_SIZE - 1)]; raw_hash_sk()
210 hash = protocol & (RAW_HTABLE_SIZE - 1); raw_local_deliver()
291 hash = protocol & (RAW_HTABLE_SIZE - 1); raw_icmp_error()
951 for (state->bucket = 0; state->bucket < RAW_HTABLE_SIZE; raw_get_first()
972 if (!sk && ++state->bucket < RAW_HTABLE_SIZE) { raw_get_next()
/linux-4.4.14/net/ipv6/
H A Draw.c170 hash = nexthdr & (RAW_HTABLE_SIZE - 1); ipv6_raw_deliver()
234 raw_sk = sk_head(&raw_v6_hashinfo.ht[nexthdr & (RAW_HTABLE_SIZE - 1)]); raw6_local_deliver()
367 hash = nexthdr & (RAW_HTABLE_SIZE - 1); raw6_icmp_error()

Completed in 115 milliseconds