/kernel/linux/linux-6.6/net/ipv4/ |
H A D | udp.c | 178 struct udp_hslot *hslot2, in udp_lib_lport_inuse2() 185 spin_lock(&hslot2->lock); in udp_lib_lport_inuse2() 186 udp_portaddr_for_each_entry(sk2, &hslot2->head) { in udp_lib_lport_inuse2() 204 spin_unlock(&hslot2->lock); in udp_lib_lport_inuse2() 243 struct udp_hslot *hslot, *hslot2; in udp_lib_get_port() local 297 hslot2 = udp_hashslot2(udptable, slot2); in udp_lib_get_port() 298 if (hslot->count < hslot2->count) in udp_lib_get_port() 301 exist = udp_lib_lport_inuse2(net, snum, hslot2, sk); in udp_lib_get_port() 303 hslot2 = udp_hashslot2(udptable, hash2_nulladdr); in udp_lib_get_port() 304 exist = udp_lib_lport_inuse2(net, snum, hslot2, in udp_lib_get_port() 177 udp_lib_lport_inuse2(struct net *net, __u16 num, struct udp_hslot *hslot2, struct sock *sk) udp_lib_lport_inuse2() argument 423 udp4_lib_lookup2(struct net *net, __be32 saddr, __be16 sport, __be32 daddr, unsigned int hnum, int dif, int sdif, struct udp_hslot *hslot2, struct sk_buff *skb) udp4_lib_lookup2() argument 478 struct udp_hslot *hslot2; __udp4_lib_lookup() local 1955 struct udp_hslot *hslot, *hslot2; udp_lib_unhash() local 1986 struct udp_hslot *hslot, *hslot2, *nhslot2; udp_lib_rehash() local 2519 struct udp_hslot *hslot2; __udp4_lib_demux_lookup() local 3151 struct udp_hslot *hslot2 = &udptable->hash2[state->bucket]; bpf_iter_udp_batch() local [all...] |
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/ |
H A D | udp.c | 204 struct udp_hslot *hslot2, in nip_udp_lib_lookup2() 211 udp_portaddr_for_each_entry_rcu(sk, &hslot2->head) { in nip_udp_lib_lookup2() 231 struct udp_hslot *hslot2; in __nip_udp_lib_lookup() local 237 hslot2 = &udptable->hash2[slot2]; in __nip_udp_lib_lookup() 242 hslot2, skb); in __nip_udp_lib_lookup() 250 hslot2 = &udptable->hash2[slot2]; in __nip_udp_lib_lookup() 254 hslot2, skb); in __nip_udp_lib_lookup() 198 nip_udp_lib_lookup2(struct net *net, const struct nip_addr *saddr, u_short sport, const struct nip_addr *daddr, unsigned short hnum, int dif, int sdif, struct udp_hslot *hslot2, struct sk_buff *skb) nip_udp_lib_lookup2() argument
|
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | udp.c | 169 struct udp_hslot *hslot2, in udp_lib_lport_inuse2() 176 spin_lock(&hslot2->lock); in udp_lib_lport_inuse2() 177 udp_portaddr_for_each_entry(sk2, &hslot2->head) { in udp_lib_lport_inuse2() 195 spin_unlock(&hslot2->lock); in udp_lib_lport_inuse2() 233 struct udp_hslot *hslot, *hslot2; in udp_lib_get_port() local 288 hslot2 = udp_hashslot2(udptable, slot2); in udp_lib_get_port() 289 if (hslot->count < hslot2->count) in udp_lib_get_port() 292 exist = udp_lib_lport_inuse2(net, snum, hslot2, sk); in udp_lib_get_port() 294 hslot2 = udp_hashslot2(udptable, hash2_nulladdr); in udp_lib_get_port() 295 exist = udp_lib_lport_inuse2(net, snum, hslot2, in udp_lib_get_port() 168 udp_lib_lport_inuse2(struct net *net, __u16 num, struct udp_hslot *hslot2, struct sock *sk) udp_lib_lport_inuse2() argument 432 udp4_lib_lookup2(struct net *net, __be32 saddr, __be16 sport, __be32 daddr, unsigned int hnum, int dif, int sdif, struct udp_hslot *hslot2, struct sk_buff *skb) udp4_lib_lookup2() argument 503 struct udp_hslot *hslot2; __udp4_lib_lookup() local 1977 struct udp_hslot *hslot, *hslot2; udp_lib_unhash() local 2008 struct udp_hslot *hslot, *hslot2, *nhslot2; udp_lib_rehash() local 2509 struct udp_hslot *hslot2 = &udp_table.hash2[slot2]; __udp4_lib_demux_lookup() local [all...] |
/kernel/linux/linux-6.6/net/ipv6/ |
H A D | udp.c | 169 int dif, int sdif, struct udp_hslot *hslot2, in udp6_lib_lookup2() 177 udp_portaddr_for_each_entry_rcu(sk, &hslot2->head) { in udp6_lib_lookup2() 219 struct udp_hslot *hslot2; in __udp6_lib_lookup() local 224 hslot2 = &udptable->hash2[slot2]; in __udp6_lib_lookup() 229 hslot2, skb); in __udp6_lib_lookup() 252 hslot2 = &udptable->hash2[slot2]; in __udp6_lib_lookup() 256 hslot2, skb); in __udp6_lib_lookup() 1062 struct udp_hslot *hslot2; in __udp6_lib_demux_lookup() local 1068 hslot2 = &udptable->hash2[slot2]; in __udp6_lib_demux_lookup() 1071 udp_portaddr_for_each_entry_rcu(sk, &hslot2 in __udp6_lib_demux_lookup() 166 udp6_lib_lookup2(struct net *net, const struct in6_addr *saddr, __be16 sport, const struct in6_addr *daddr, unsigned int hnum, int dif, int sdif, struct udp_hslot *hslot2, struct sk_buff *skb) udp6_lib_lookup2() argument [all...] |
/kernel/linux/linux-5.10/net/ipv6/ |
H A D | udp.c | 180 int dif, int sdif, struct udp_hslot *hslot2, in udp6_lib_lookup2() 188 udp_portaddr_for_each_entry_rcu(sk, &hslot2->head) { in udp6_lib_lookup2() 248 struct udp_hslot *hslot2; in __udp6_lib_lookup() local 253 hslot2 = &udptable->hash2[slot2]; in __udp6_lib_lookup() 258 hslot2, skb); in __udp6_lib_lookup() 279 hslot2 = &udptable->hash2[slot2]; in __udp6_lib_lookup() 283 hslot2, skb); in __udp6_lib_lookup() 1038 struct udp_hslot *hslot2 = &udp_table.hash2[slot2]; in __udp6_lib_demux_lookup() local 1042 udp_portaddr_for_each_entry_rcu(sk, &hslot2->head) { in __udp6_lib_demux_lookup() 177 udp6_lib_lookup2(struct net *net, const struct in6_addr *saddr, __be16 sport, const struct in6_addr *daddr, unsigned int hnum, int dif, int sdif, struct udp_hslot *hslot2, struct sk_buff *skb) udp6_lib_lookup2() argument
|