Searched refs:RAW_HTABLE_SIZE (Results 1 – 4 of 4) sorted by relevance
33 #define RAW_HTABLE_SIZE MAX_INET_PROTOS macro37 struct hlist_head ht[RAW_HTABLE_SIZE];
68 for (slot = 0; slot < RAW_HTABLE_SIZE; slot++) { in raw_sock_get()161 for (slot = s_slot; slot < RAW_HTABLE_SIZE; s_num = 0, slot++) { in raw_diag_dump()
98 head = &h->ht[inet_sk(sk)->inet_num & (RAW_HTABLE_SIZE - 1)]; in raw_hash_sk()212 hash = protocol & (RAW_HTABLE_SIZE - 1); in raw_local_deliver()294 hash = protocol & (RAW_HTABLE_SIZE - 1); in raw_icmp_error()979 for (state->bucket = 0; state->bucket < RAW_HTABLE_SIZE; in raw_get_first()1001 if (!sk && ++state->bucket < RAW_HTABLE_SIZE) { in raw_get_next()
169 hash = nexthdr & (RAW_HTABLE_SIZE - 1); in ipv6_raw_deliver()234 raw_sk = sk_head(&raw_v6_hashinfo.ht[nexthdr & (RAW_HTABLE_SIZE - 1)]); in raw6_local_deliver()369 hash = nexthdr & (RAW_HTABLE_SIZE - 1); in raw6_icmp_error()