Lines Matching refs:udp_table
120 struct udp_table udp_table __read_mostly;
121 EXPORT_SYMBOL(udp_table);
234 struct udp_table *udptable = sk->sk_prot->h.udp_table; in udp_lib_get_port()
460 struct udp_table *udptable, in udp4_lookup_run_bpf()
468 if (udptable != &udp_table) in udp4_lookup_run_bpf()
487 int sdif, struct udp_table *udptable, struct sk_buff *skb) in __udp4_lib_lookup()
536 struct udp_table *udptable) in __udp4_lib_lookup_skb()
552 inet_sdif(skb), &udp_table, NULL); in udp4_lib_lookup_skb()
565 dif, 0, &udp_table, NULL); in udp4_lib_lookup()
648 struct udp_table *udptable, in __udp4_lib_err_encap()
707 int __udp4_lib_err(struct sk_buff *skb, u32 info, struct udp_table *udptable) in __udp4_lib_err()
800 return __udp4_lib_err(skb, info, &udp_table); in udp_err()
1996 struct udp_table *udptable = sk->sk_prot->h.udp_table; in udp_lib_unhash()
2027 struct udp_table *udptable = sk->sk_prot->h.udp_table; in udp_lib_rehash()
2259 struct udp_table *udptable, in __udp4_lib_mcast_deliver()
2393 int __udp4_lib_rcv(struct sk_buff *skb, struct udp_table *udptable, in __udp4_lib_rcv()
2502 unsigned int slot = udp_hashfn(net, hnum, udp_table.mask); in __udp4_lib_mcast_demux_lookup()
2503 struct udp_hslot *hslot = &udp_table.hash[slot]; in __udp4_lib_mcast_demux_lookup()
2533 unsigned int slot2 = hash2 & udp_table.mask; in __udp4_lib_demux_lookup()
2534 struct udp_hslot *hslot2 = &udp_table.hash2[slot2]; in __udp4_lib_demux_lookup()
2619 return __udp4_lib_rcv(skb, &udp_table, IPPROTO_UDP); in udp_rcv()
2927 .h.udp_table = &udp_table,
2947 for (state->bucket = start; state->bucket <= afinfo->udp_table->mask; in udp_get_first()
2949 struct udp_hslot *hslot = &afinfo->udp_table->hash[state->bucket]; in udp_get_first()
2987 if (state->bucket <= afinfo->udp_table->mask) in udp_get_next()
2988 spin_unlock_bh(&afinfo->udp_table->hash[state->bucket].lock); in udp_get_next()
3037 if (state->bucket <= afinfo->udp_table->mask) in udp_seq_stop()
3038 spin_unlock_bh(&afinfo->udp_table->hash[state->bucket].lock); in udp_seq_stop()
3151 .udp_table = &udp_table,
3201 void __init udp_table_init(struct udp_table *table, const char *name) in udp_table_init()
3273 afinfo->udp_table = &udp_table; in DEFINE_BPF_ITER_FUNC()
3319 udp_table_init(&udp_table, "UDP"); in udp_init()