Home
last modified time | relevance | path

Searched refs:udp_sock (Results 1 – 17 of 17) sorted by relevance

/linux-6.15/tools/testing/selftests/net/
H A Dpsock_tpacket.c223 int udp_sock[2]; in walk_v1_v2_rx() local
229 pair_udp_open(udp_sock, PORT_BASE); in walk_v1_v2_rx()
236 pair_udp_send(udp_sock, NUM_PACKETS); in walk_v1_v2_rx()
268 pair_udp_close(udp_sock); in walk_v1_v2_rx()
586 int udp_sock[2]; in walk_v3_rx() local
590 pair_udp_open(udp_sock, PORT_BASE); in walk_v3_rx()
597 pair_udp_send(udp_sock, NUM_PACKETS); in walk_v3_rx()
611 pair_udp_close(udp_sock); in walk_v3_rx()
/linux-6.15/tools/testing/selftests/bpf/progs/
H A Dsock_destroy_prog.c107 struct udp_sock *udp_sk = ctx->udp_sk; in iter_udp6_client()
129 struct udp_sock *udp_sk = ctx->udp_sk; in iter_udp6_server()
H A Dbpf_iter_udp4.c28 struct udp_sock *udp_sk = ctx->udp_sk; in dump_udp4()
H A Dbpf_iter_udp6.c35 struct udp_sock *udp_sk = ctx->udp_sk; in dump_udp6()
H A Dsock_iter_batch.c59 #define udp_sk(ptr) container_of(ptr, struct udp_sock, inet.sk)
/linux-6.15/include/linux/
H A Dudp.h47 struct udp_sock { struct
119 #define udp_sk(ptr) container_of_const(ptr, struct udp_sock, inet.sk) argument
H A Dbtf_ids.h254 BTF_SOCK_TYPE(BTF_SOCK_TYPE_UDP, udp_sock) \
H A Dipv6.h301 struct udp_sock udp;
/linux-6.15/net/ipv4/
H A Dudplite.c69 .obj_size = sizeof(struct udp_sock),
H A Dudp.c552 struct udp_sock *up; in udp4_lib_lookup4()
878 struct udp_sock *up; in __udp4_lib_err_encap()
1035 struct udp_sock *up = udp_sk(sk); in udp_flush_pending_frames()
1214 struct udp_sock *up = udp_sk(sk); in udp_push_pending_frames()
1273 struct udp_sock *up = udp_sk(sk); in udp_sendmsg()
1553 struct udp_sock *up = udp_sk(sk); in udp_splice_eof()
1631 struct udp_sock *up = udp_sk(sk); in udp_rmem_release()
1798 struct udp_sock *up = udp_sk(sk); in udp_destruct_common()
2349 struct udp_sock *up = udp_sk(sk); in udp_queue_rcv_one_skb()
2886 struct udp_sock *up = udp_sk(sk); in udp_destroy_sock()
[all …]
H A Dxfrm4_input.c83 struct udp_sock *up = udp_sk(sk); in __xfrm4_udp_encap_rcv()
/linux-6.15/net/ipv6/
H A Dudp.c297 struct udp_sock *up; in udp6_lib_lookup4()
657 struct udp_sock *up; in __udp6_lib_err_encap()
827 struct udp_sock *up = udp_sk(sk); in udpv6_queue_rcv_one_skb()
1273 struct udp_sock *up = udp_sk(sk); in udp_v6_flush_pending_frames()
1456 struct udp_sock *up = udp_sk(sk); in udp_v6_push_pending_frames()
1477 struct udp_sock *up = udp_sk(sk); in udpv6_sendmsg()
1797 struct udp_sock *up = udp_sk(sk); in udpv6_splice_eof()
1810 struct udp_sock *up = udp_sk(sk); in udpv6_destroy_sock()
H A Dxfrm6_input.c78 struct udp_sock *up = udp_sk(sk); in __xfrm6_udp_encap_rcv()
H A Dipv6_sockglue.c586 struct udp_sock *up = udp_sk(sk); in do_ipv6_setsockopt()
/linux-6.15/tools/include/linux/
H A Dbtf_ids.h189 BTF_SOCK_TYPE(BTF_SOCK_TYPE_UDP, udp_sock) \
/linux-6.15/include/net/
H A Dudp.h290 struct udp_sock *up = udp_sk(sk); in udp_lib_init_sock()
/linux-6.15/net/netfilter/ipvs/
H A Dip_vs_sync.c1707 struct udp_sock *up = udp_sk(sk); in sync_thread_backup()