Searched refs:udptable (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/net/ipv4/ |
D | udp.c | 242 struct udp_table *udptable = udp_get_table_prot(sk); in udp_lib_get_port() local 261 rand = (rand | 1) * (udptable->mask + 1); in udp_lib_get_port() 262 last = first + udptable->mask + 1; in udp_lib_get_port() 264 hslot = udp_hashslot(udptable, net, first); in udp_lib_get_port() 268 udptable->log); in udp_lib_get_port() 278 !test_bit(snum >> udptable->log, bitmap) && in udp_lib_get_port() 288 hslot = udp_hashslot(udptable, net, snum); in udp_lib_get_port() 294 slot2 &= udptable->mask; in udp_lib_get_port() 295 hash2_nulladdr &= udptable->mask; in udp_lib_get_port() 297 hslot2 = udp_hashslot2(udptable, slot2); in udp_lib_get_port() [all …]
|
/linux-6.6.21/net/ipv6/ |
D | udp.c | 214 int dif, int sdif, struct udp_table *udptable, in __udp6_lib_lookup() argument 223 slot2 = hash2 & udptable->mask; in __udp6_lib_lookup() 224 hslot2 = &udptable->hash2[slot2]; in __udp6_lib_lookup() 235 udptable == net->ipv4.udp_table) { in __udp6_lib_lookup() 251 slot2 = hash2 & udptable->mask; in __udp6_lib_lookup() 252 hslot2 = &udptable->hash2[slot2]; in __udp6_lib_lookup() 266 struct udp_table *udptable) in __udp6_lib_lookup_skb() argument 272 inet6_sdif(skb), udptable, skb); in __udp6_lib_lookup_skb() 505 struct udp_table *udptable, in __udp6_lib_err_encap() argument 536 inet6_iif(skb), 0, udptable, skb); in __udp6_lib_err_encap() [all …]
|