Home
last modified time | relevance | path

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

/linux-3.4.99/include/net/
Draw.h31 #define RAW_HTABLE_SIZE MAX_INET_PROTOS macro
35 struct hlist_head ht[RAW_HTABLE_SIZE];
/linux-3.4.99/net/ipv4/
Draw.c91 head = &h->ht[inet_sk(sk)->inet_num & (RAW_HTABLE_SIZE - 1)]; in raw_hash_sk()
200 hash = protocol & (RAW_HTABLE_SIZE - 1); in raw_local_deliver()
274 hash = protocol & (RAW_HTABLE_SIZE - 1); in raw_icmp_error()
907 for (state->bucket = 0; state->bucket < RAW_HTABLE_SIZE; in raw_get_first()
930 if (!sk && ++state->bucket < RAW_HTABLE_SIZE) { in raw_get_next()
/linux-3.4.99/net/ipv6/
Draw.c354 hash = nexthdr & (RAW_HTABLE_SIZE - 1); in raw6_icmp_error()