Searched refs:udptable (Results 1 – 3 of 3) sorted by relevance
/kernel/linux/linux-5.10/net/ipv4/ |
D | udp.c | 234 struct udp_table *udptable = sk->sk_prot->h.udp_table; in udp_lib_get_port() local 252 rand = (rand | 1) * (udptable->mask + 1); in udp_lib_get_port() 253 last = first + udptable->mask + 1; in udp_lib_get_port() 255 hslot = udp_hashslot(udptable, net, first); in udp_lib_get_port() 259 udptable->log); in udp_lib_get_port() 269 !test_bit(snum >> udptable->log, bitmap) && in udp_lib_get_port() 279 hslot = udp_hashslot(udptable, net, snum); in udp_lib_get_port() 285 slot2 &= udptable->mask; in udp_lib_get_port() 286 hash2_nulladdr &= udptable->mask; in udp_lib_get_port() 288 hslot2 = udp_hashslot2(udptable, slot2); in udp_lib_get_port() [all …]
|
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/ |
D | udp.c | 226 int dif, int sdif, struct udp_table *udptable, in __nip_udp_lib_lookup() argument 236 slot2 = hash2 & udptable->mask; in __nip_udp_lib_lookup() 237 hslot2 = &udptable->hash2[slot2]; in __nip_udp_lib_lookup() 249 slot2 = hash2 & udptable->mask; in __nip_udp_lib_lookup() 250 hslot2 = &udptable->hash2[slot2]; in __nip_udp_lib_lookup() 263 struct udp_table *udptable) in __nip_udp_lib_lookup_skb() argument 268 0, udptable, skb); in __nip_udp_lib_lookup_skb()
|
/kernel/linux/linux-5.10/net/ipv6/ |
D | udp.c | 215 struct udp_table *udptable, in udp6_lookup_run_bpf() argument 225 if (udptable != &udp_table) in udp6_lookup_run_bpf() 243 int dif, int sdif, struct udp_table *udptable, in __udp6_lib_lookup() argument 252 slot2 = hash2 & udptable->mask; in __udp6_lib_lookup() 253 hslot2 = &udptable->hash2[slot2]; in __udp6_lib_lookup() 264 sk = udp6_lookup_run_bpf(net, udptable, skb, in __udp6_lib_lookup() 278 slot2 = hash2 & udptable->mask; in __udp6_lib_lookup() 279 hslot2 = &udptable->hash2[slot2]; in __udp6_lib_lookup() 293 struct udp_table *udptable) in __udp6_lib_lookup_skb() argument 299 inet6_sdif(skb), udptable, skb); in __udp6_lib_lookup_skb() [all …]
|