Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/include/net/
H A Draw.h35 #define RAW_HTABLE_SIZE (1U << RAW_HTABLE_LOG) macro
40 struct hlist_head ht[RAW_HTABLE_SIZE] ____cacheline_aligned;
53 for (i = 0; i < RAW_HTABLE_SIZE; i++) in raw_hashinfo_init()
/kernel/linux/linux-5.10/include/net/
H A Draw.h33 #define RAW_HTABLE_SIZE MAX_INET_PROTOS macro
37 struct hlist_head ht[RAW_HTABLE_SIZE];
/kernel/linux/linux-6.6/net/ipv4/
H A Draw_diag.c68 for (slot = 0; slot < RAW_HTABLE_SIZE; slot++) { in raw_sock_get()
158 for (slot = s_slot; slot < RAW_HTABLE_SIZE; s_num = 0, slot++) { in raw_diag_dump()
H A Draw.c954 for (state->bucket = bucket; state->bucket < RAW_HTABLE_SIZE; in raw_get_first()
/kernel/linux/linux-5.10/net/ipv4/
H A Draw_diag.c68 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()
H A Draw.c98 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()
982 for (state->bucket = 0; state->bucket < RAW_HTABLE_SIZE; in raw_get_first()
1004 if (!sk && ++state->bucket < RAW_HTABLE_SIZE) { in raw_get_next()
/kernel/linux/linux-5.10/net/ipv6/
H A Draw.c169 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()

Completed in 7 milliseconds