Searched refs:RAW_HTABLE_SIZE (Results 1 – 4 of 4) sorted by relevance
37 #define RAW_HTABLE_SIZE MAX_INET_PROTOS macro41 struct hlist_head ht[RAW_HTABLE_SIZE];
70 for (slot = 0; slot < RAW_HTABLE_SIZE; slot++) { in raw_sock_get()164 for (slot = s_slot; slot < RAW_HTABLE_SIZE; s_num = 0, slot++) { in raw_diag_dump()
102 head = &h->ht[inet_sk(sk)->inet_num & (RAW_HTABLE_SIZE - 1)]; in raw_hash_sk()217 hash = protocol & (RAW_HTABLE_SIZE - 1); in raw_local_deliver()298 hash = protocol & (RAW_HTABLE_SIZE - 1); in raw_icmp_error()1002 for (state->bucket = 0; state->bucket < RAW_HTABLE_SIZE; in raw_get_first()1024 if (!sk && ++state->bucket < RAW_HTABLE_SIZE) { in raw_get_next()
174 hash = nexthdr & (RAW_HTABLE_SIZE - 1); in ipv6_raw_deliver()239 raw_sk = sk_head(&raw_v6_hashinfo.ht[nexthdr & (RAW_HTABLE_SIZE - 1)]); in raw6_local_deliver()372 hash = nexthdr & (RAW_HTABLE_SIZE - 1); in raw6_icmp_error()