Searched refs:udptable (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/net/ipv4/ |
D | udp.c | 243 struct udp_table *udptable = udp_get_table_prot(sk); in udp_lib_get_port() local 262 rand = (rand | 1) * (udptable->mask + 1); in udp_lib_get_port() 263 last = first + udptable->mask + 1; in udp_lib_get_port() 265 hslot = udp_hashslot(udptable, net, first); in udp_lib_get_port() 269 udptable->log); in udp_lib_get_port() 279 !test_bit(snum >> udptable->log, bitmap) && in udp_lib_get_port() 289 hslot = udp_hashslot(udptable, net, snum); in udp_lib_get_port() 295 slot2 &= udptable->mask; in udp_lib_get_port() 296 hash2_nulladdr &= udptable->mask; in udp_lib_get_port() 298 hslot2 = udp_hashslot2(udptable, slot2); in udp_lib_get_port() [all …]
|
/linux-6.12.1/tools/testing/selftests/bpf/progs/ |
D | sock_iter_batch.c | 65 struct udp_table *udptable; in iter_udp_soreuse() local 84 udptable = sk->sk_net.net->ipv4.udp_table; in iter_udp_soreuse() 85 bucket[idx] = udp_sk(sk)->udp_portaddr_hash & udptable->mask; in iter_udp_soreuse()
|
/linux-6.12.1/net/ipv6/ |
D | udp.c | 223 int dif, int sdif, struct udp_table *udptable, in __udp6_lib_lookup() argument 232 slot2 = hash2 & udptable->mask; in __udp6_lib_lookup() 233 hslot2 = &udptable->hash2[slot2]; in __udp6_lib_lookup() 244 udptable == net->ipv4.udp_table) { in __udp6_lib_lookup() 260 slot2 = hash2 & udptable->mask; in __udp6_lib_lookup() 261 hslot2 = &udptable->hash2[slot2]; in __udp6_lib_lookup() 275 struct udp_table *udptable) in __udp6_lib_lookup_skb() argument 281 inet6_sdif(skb), udptable, skb); in __udp6_lib_lookup_skb() 515 struct udp_table *udptable, in __udp6_lib_err_encap() argument 546 inet6_iif(skb), 0, udptable, skb); in __udp6_lib_err_encap() [all …]
|