Lines Matching refs:udp_table

123 struct udp_table udp_table __read_mostly;
124 EXPORT_SYMBOL(udp_table);
137 static struct udp_table *udp_get_table_prot(struct sock *sk) in udp_get_table_prot()
139 return sk->sk_prot->h.udp_table ? : sock_net(sk)->ipv4.udp_table; in udp_get_table_prot()
243 struct udp_table *udptable = udp_get_table_prot(sk); in udp_lib_get_port()
486 int sdif, struct udp_table *udptable, struct sk_buff *skb) in __udp4_lib_lookup()
506 udptable == net->ipv4.udp_table) { in __udp4_lib_lookup()
537 struct udp_table *udptable) in __udp4_lib_lookup_skb()
558 sdif, net->ipv4.udp_table, NULL); in udp4_lib_lookup_skb()
571 dif, 0, net->ipv4.udp_table, NULL); in udp4_lib_lookup()
661 struct udp_table *udptable, in __udp4_lib_err_encap()
720 int __udp4_lib_err(struct sk_buff *skb, u32 info, struct udp_table *udptable) in __udp4_lib_err()
816 return __udp4_lib_err(skb, info, dev_net(skb->dev)->ipv4.udp_table); in udp_err()
1978 struct udp_table *udptable = udp_get_table_prot(sk); in udp_lib_unhash()
2009 struct udp_table *udptable = udp_get_table_prot(sk); in udp_lib_rehash()
2253 struct udp_table *udptable, in __udp4_lib_mcast_deliver()
2387 int __udp4_lib_rcv(struct sk_buff *skb, struct udp_table *udptable, in __udp4_lib_rcv()
2504 struct udp_table *udptable = net->ipv4.udp_table; in __udp4_lib_mcast_demux_lookup()
2539 struct udp_table *udptable = net->ipv4.udp_table; in __udp4_lib_demux_lookup()
2632 return __udp4_lib_rcv(skb, dev_net(skb->dev)->ipv4.udp_table, IPPROTO_UDP); in udp_rcv()
2969 .h.udp_table = NULL,
2990 static struct udp_table *udp_get_table_seq(struct seq_file *seq, in udp_get_table_seq()
2997 return net->ipv4.udp_table; in udp_get_table_seq()
3001 return afinfo->udp_table ? : net->ipv4.udp_table; in udp_get_table_seq()
3008 struct udp_table *udptable; in udp_get_first()
3036 struct udp_table *udptable; in udp_get_next()
3089 struct udp_table *udptable; in udp_seq_stop()
3162 struct udp_table *udptable; in bpf_iter_udp_batch()
3379 .udp_table = NULL,
3429 void __init udp_table_init(struct udp_table *table, const char *name) in udp_table_init()
3476 static struct udp_table __net_init *udp_pernet_table_alloc(unsigned int hash_entries) in udp_pernet_table_alloc()
3478 struct udp_table *udptable; in udp_pernet_table_alloc()
3514 struct udp_table *udptable = net->ipv4.udp_table; in udp_pernet_table_free()
3516 if (udptable == &udp_table) in udp_pernet_table_free()
3525 struct udp_table *udptable; in udp_set_table()
3545 net->ipv4.udp_table = udptable; in udp_set_table()
3551 net->ipv4.udp_table = &udp_table; in udp_set_table()
3651 udp_table_init(&udp_table, "UDP"); in udp_init()