Home
last modified time | relevance | path

Searched refs:udptable (Results 1 – 3 of 3) sorted by relevance

/linux/net/ipv4/
A Dudp.c269 udptable->log); in udp_lib_get_port()
2268 udptable->mask; in __udp4_lib_mcast_deliver()
3481 udptable = kmalloc(sizeof(*udptable), GFP_KERNEL); in udp_pernet_table_alloc()
3482 if (!udptable) in udp_pernet_table_alloc()
3487 if (!udptable->hash) in udp_pernet_table_alloc()
3490 udptable->hash2 = udptable->hash + hash_entries; in udp_pernet_table_alloc()
3504 return udptable; in udp_pernet_table_alloc()
3507 kfree(udptable); in udp_pernet_table_alloc()
3519 kvfree(udptable->hash); in udp_pernet_table_free()
3520 kfree(udptable); in udp_pernet_table_free()
[all …]
/linux/tools/testing/selftests/bpf/progs/
A Dsock_iter_batch.c65 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/net/ipv6/
A Dudp.c232 slot2 = hash2 & udptable->mask; in __udp6_lib_lookup()
233 hslot2 = &udptable->hash2[slot2]; 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
515 struct udp_table *udptable, in __udp6_lib_err_encap() argument
569 struct udp_table *udptable) in __udp6_lib_err() argument
589 udptable, sk, skb, in __udp6_lib_err()
859 udptable->mask; in __udp6_lib_mcast_deliver()
862 hslot = &udptable->hash2[hash2]; in __udp6_lib_mcast_deliver()
[all …]

Completed in 19 milliseconds