Home
last modified time | relevance | path

Searched refs:udp_table (Results 1 – 18 of 18) sorted by relevance

/linux/include/net/
H A Dudp.h97 struct udp_table { struct
106 extern struct udp_table udp_table; argument
107 void udp_table_init(struct udp_table *, const char *);
108 static inline struct udp_hslot *udp_hashslot(struct udp_table *table, in udp_hashslot()
119 static inline struct udp_hslot *udp_hashslot2(struct udp_table *table, in udp_hashslot2()
126 static inline void udp_table_hash4_init(struct udp_table *table) in udp_table_hash4_init()
130 static inline struct udp_hslot *udp_hashslot4(struct udp_table *table, in udp_hashslot4()
162 static inline void udp_table_hash4_init(struct udp_table *table) in udp_table_hash4_init()
174 static inline struct udp_hslot *udp_hashslot4(struct udp_table *table, in udp_hashslot4()
430 struct udp_table *tbl, struct sk_buff *skb);
[all …]
H A Dudplite.h16 extern struct udp_table udplite_table;
H A Dipv6_stubs.h88 int dif, int sdif, struct udp_table *tbl,
H A Dsock.h1354 struct udp_table *udp_table; member
/linux/net/ipv4/
H A Dudp.c125 struct udp_table udp_table __read_mostly;
136 static struct udp_table *udp_get_table_prot(struct sock *sk) in udp_get_table_prot()
138 return sk->sk_prot->h.udp_table ? : sock_net(sk)->ipv4.udp_table; in udp_get_table_prot()
242 struct udp_table *udptable = udp_get_table_prot(sk); in udp_lib_get_port()
446 const struct udp_table *udptable) in udp4_lib_lookup1()
528 struct udp_table *udptable) in udp4_lib_lookup4()
533 static void udp_rehash4(struct udp_table *udptable, struct sock *sk, in udp_rehash4()
538 static void udp_unhash4(struct udp_table *udptable, struct sock *sk) in udp_unhash4()
546 struct udp_table *udptable) in udp4_lib_lookup4()
579 static void udp_rehash4(struct udp_table *udptable, struct sock *sk, in udp_rehash4()
[all …]
H A Dudp_diag.c28 static int udp_dump_one(struct udp_table *tbl, in udp_dump_one()
89 static void udp_dump(struct udp_table *table, struct sk_buff *skb, in udp_dump()
150 udp_dump(sock_net(cb->skb->sk)->ipv4.udp_table, skb, cb, r); in udp_diag_dump()
156 return udp_dump_one(sock_net(cb->skb->sk)->ipv4.udp_table, cb, req); in udp_diag_dump_one()
169 struct udp_table *tbl) in __udp_diag_destroy()
228 return __udp_diag_destroy(in_skb, req, sock_net(in_skb->sk)->ipv4.udp_table); in udp_diag_destroy()
H A Dudplite.c17 struct udp_table udplite_table __read_mostly;
70 .h.udp_table = &udplite_table,
85 .udp_table = &udplite_table,
H A Dudp_impl.h10 int __udp4_lib_rcv(struct sk_buff *, struct udp_table *, int);
11 int __udp4_lib_err(struct sk_buff *, u32, struct udp_table *);
H A Dsysctl_net_ipv4.c423 udp_hash_entries = net->ipv4.udp_table->mask + 1; in proc_udp_hash_entries()
428 if (!net_eq(net, &init_net) && net->ipv4.udp_table == &udp_table) in proc_udp_hash_entries()
H A Dudp_offload.c870 sdif, net->ipv4.udp_table, NULL); in udp4_gro_lookup_skb()
/linux/net/ipv6/
H A Dudp_impl.h12 int __udp6_lib_rcv(struct sk_buff *, struct udp_table *, int);
14 __be32, struct udp_table *);
H A Dudp.c198 const struct udp_table *udptable) in udp6_lib_lookup1()
279 struct udp_table *udptable) in udp6_lib_lookup4()
292 struct udp_table *udptable) in udp6_lib_lookup4()
346 int dif, int sdif, struct udp_table *udptable, in __udp6_lib_lookup()
373 udptable == net->ipv4.udp_table) { in __udp6_lib_lookup()
410 struct udp_table *udptable) in __udp6_lib_lookup_skb()
431 sdif, net->ipv4.udp_table, NULL); in udp6_lib_lookup_skb()
444 dif, 0, net->ipv4.udp_table, NULL); in udp6_lib_lookup()
650 struct udp_table *udptable, in __udp6_lib_err_encap()
704 struct udp_table *udptable) in __udp6_lib_err()
[all …]
H A Dudplite.c70 .h.udp_table = &udplite_table,
109 .udp_table = &udplite_table,
H A Dudp_offload.c132 sdif, net->ipv4.udp_table, NULL); in udp6_gro_receive()
/linux/tools/testing/selftests/bpf/progs/
H A Dsock_iter_batch.c100 struct udp_table *udptable; in iter_udp_soreuse()
125 udptable = sk->sk_net.net->ipv4.udp_table; in iter_udp_soreuse()
/linux/include/net/netns/
H A Dipv4.h91 struct udp_table *udp_table;
86 struct udp_table *udp_table; global() member
/linux/Documentation/networking/net_cachelines/
H A Dnetns_ipv4_sysctl.rst12 struct_udp_table* udp_table
/linux/net/core/
H A Dfilter.c6786 dif, sdif, net->ipv4.udp_table, NULL); in sk_lookup()
6802 net->ipv4.udp_table, NULL); in sk_lookup()