Lines Matching refs:udp_table

120 struct udp_table udp_table __read_mostly;
121 EXPORT_SYMBOL(udp_table);
134 static struct udp_table *udp_get_table_prot(struct sock *sk) in udp_get_table_prot()
136 return sk->sk_prot->h.udp_table ? : sock_net(sk)->ipv4.udp_table; in udp_get_table_prot()
240 struct udp_table *udptable = udp_get_table_prot(sk); in udp_lib_get_port()
467 struct udp_table *udptable, in udp4_lookup_run_bpf()
475 if (udptable != net->ipv4.udp_table) in udp4_lookup_run_bpf()
494 int sdif, struct udp_table *udptable, struct sk_buff *skb) in __udp4_lib_lookup()
543 struct udp_table *udptable) in __udp4_lib_lookup_skb()
560 inet_sdif(skb), net->ipv4.udp_table, NULL); in udp4_lib_lookup_skb()
573 dif, 0, net->ipv4.udp_table, NULL); in udp4_lib_lookup()
656 struct udp_table *udptable, in __udp4_lib_err_encap()
715 int __udp4_lib_err(struct sk_buff *skb, u32 info, struct udp_table *udptable) in __udp4_lib_err()
811 return __udp4_lib_err(skb, info, dev_net(skb->dev)->ipv4.udp_table); in udp_err()
2008 struct udp_table *udptable = udp_get_table_prot(sk); in udp_lib_unhash()
2039 struct udp_table *udptable = udp_get_table_prot(sk); in udp_lib_rehash()
2281 struct udp_table *udptable, in __udp4_lib_mcast_deliver()
2415 int __udp4_lib_rcv(struct sk_buff *skb, struct udp_table *udptable, in __udp4_lib_rcv()
2528 struct udp_table *udptable = net->ipv4.udp_table; in __udp4_lib_mcast_demux_lookup()
2563 struct udp_table *udptable = net->ipv4.udp_table; in __udp4_lib_demux_lookup()
2655 return __udp4_lib_rcv(skb, dev_net(skb->dev)->ipv4.udp_table, IPPROTO_UDP); in udp_rcv()
2978 .h.udp_table = NULL,
2986 static struct udp_table *udp_get_table_afinfo(struct udp_seq_afinfo *afinfo, in udp_get_table_afinfo()
2989 return afinfo->udp_table ? : net->ipv4.udp_table; in udp_get_table_afinfo()
2997 struct udp_table *udptable; in udp_get_first()
3034 struct udp_table *udptable; in udp_get_next()
3095 struct udp_table *udptable; in udp_seq_stop()
3218 .udp_table = NULL,
3268 void __init udp_table_init(struct udp_table *table, const char *name) in udp_table_init()
3315 static struct udp_table __net_init *udp_pernet_table_alloc(unsigned int hash_entries) in udp_pernet_table_alloc()
3317 struct udp_table *udptable; in udp_pernet_table_alloc()
3353 struct udp_table *udptable = net->ipv4.udp_table; in udp_pernet_table_free()
3355 if (udptable == &udp_table) in udp_pernet_table_free()
3364 struct udp_table *udptable; in udp_set_table()
3384 net->ipv4.udp_table = udptable; in udp_set_table()
3390 net->ipv4.udp_table = &udp_table; in udp_set_table()
3427 afinfo->udp_table = NULL; in DEFINE_BPF_ITER_FUNC()
3473 udp_table_init(&udp_table, "UDP"); in udp_init()