Lines Matching refs:udp_sk
153 (bitmap || udp_sk(sk2)->udp_port_hash == num) && in udp_lib_lport_inuse()
166 __set_bit(udp_sk(sk2)->udp_port_hash >> log, in udp_lib_lport_inuse()
190 (udp_sk(sk2)->udp_port_hash == num) && in udp_lib_lport_inuse2()
220 (udp_sk(sk2)->udp_port_hash == udp_sk(sk)->udp_port_hash) && in udp_reuseport_add_sock()
293 unsigned int slot2 = udp_sk(sk)->udp_portaddr_hash ^ snum; in udp_lib_get_port()
319 udp_sk(sk)->udp_port_hash = snum; in udp_lib_get_port()
320 udp_sk(sk)->udp_portaddr_hash ^= snum; in udp_lib_get_port()
325 udp_sk(sk)->udp_port_hash = 0; in udp_lib_get_port()
326 udp_sk(sk)->udp_portaddr_hash ^= snum; in udp_lib_get_port()
336 hslot2 = udp_hashslot2(udptable, udp_sk(sk)->udp_portaddr_hash); in udp_lib_get_port()
340 hlist_add_tail_rcu(&udp_sk(sk)->udp_portaddr_node, in udp_lib_get_port()
343 hlist_add_head_rcu(&udp_sk(sk)->udp_portaddr_node, in udp_lib_get_port()
365 udp_sk(sk)->udp_portaddr_hash = hash2_partial; in udp_v4_get_port()
379 udp_sk(sk)->udp_port_hash != hnum || in compute_score()
587 udp_sk(sk)->udp_port_hash != hnum || in __udp_is_mcast_sock()
679 up = udp_sk(sk); in __udp4_lib_err_encap()
692 up = udp_sk(sk); in __udp4_lib_err_encap()
737 if (!sk || READ_ONCE(udp_sk(sk)->encap_type)) { in __udp4_lib_err()
797 if (udp_sk(sk)->encap_err_rcv) in __udp4_lib_err()
798 udp_sk(sk)->encap_err_rcv(sk, skb, err, uh->dest, info, in __udp4_lib_err()
824 struct udp_sock *up = udp_sk(sk); in udp_flush_pending_frames()
1003 struct udp_sock *up = udp_sk(sk); in udp_push_pending_frames()
1062 struct udp_sock *up = udp_sk(sk); in udp_sendmsg()
1342 struct udp_sock *up = udp_sk(sk); in udp_splice_eof()
1420 struct udp_sock *up = udp_sk(sk); in udp_rmem_release()
1589 struct udp_sock *up = udp_sk(sk); in udp_destruct_common()
1618 if (unlikely(READ_ONCE(udp_sk(sk)->peeking_with_offset))) in skb_consume_udp()
1666 struct sk_buff_head *rcvq = &udp_sk(sk)->reader_queue; in first_packet_length()
1724 queue = &udp_sk(sk)->reader_queue; in __skb_recv_udp()
1912 if (!__sk_queue_drop_skb(sk, &udp_sk(sk)->reader_queue, skb, flags, in udp_recvmsg()
1982 udp_sk(sk)->udp_port_hash); in udp_lib_unhash()
1983 hslot2 = udp_hashslot2(udptable, udp_sk(sk)->udp_portaddr_hash); in udp_lib_unhash()
1994 hlist_del_init_rcu(&udp_sk(sk)->udp_portaddr_node); in udp_lib_unhash()
2012 hslot2 = udp_hashslot2(udptable, udp_sk(sk)->udp_portaddr_hash); in udp_lib_rehash()
2014 udp_sk(sk)->udp_portaddr_hash = newhash; in udp_lib_rehash()
2019 udp_sk(sk)->udp_port_hash); in udp_lib_rehash()
2027 hlist_del_init_rcu(&udp_sk(sk)->udp_portaddr_node); in udp_lib_rehash()
2032 hlist_add_head_rcu(&udp_sk(sk)->udp_portaddr_node, in udp_lib_rehash()
2099 struct udp_sock *up = udp_sk(sk); in udp_queue_rcv_one_skb()
2637 struct udp_sock *up = udp_sk(sk); in udp_destroy_sock()
2662 WRITE_ONCE(udp_sk(sk)->gro_receive, xfrm4_gro_udp_encap_rcv); in set_xfrm_gro_udp_encap_rcv()
2664 WRITE_ONCE(udp_sk(sk)->gro_receive, ipv6_stub->xfrm6_gro_udp_encap_rcv); in set_xfrm_gro_udp_encap_rcv()
2676 struct udp_sock *up = udp_sk(sk); in udp_lib_setsockopt()
2815 struct udp_sock *up = udp_sk(sk); in udp_lib_getsockopt()
2899 if (!skb_queue_empty_lockless(&udp_sk(sk)->reader_queue)) in udp_poll()
3139 __bpf_md_ptr(struct udp_sock *, udp_sk);
3280 struct udp_sock *udp_sk, uid_t uid, int bucket) in udp_prog_seq_show() argument
3286 ctx.udp_sk = udp_sk; in udp_prog_seq_show()
3575 struct udp_sock *udp_sk, uid_t uid, int bucket) in DEFINE_BPF_ITER_FUNC() argument
3632 { offsetof(struct bpf_iter__udp, udp_sk),