/kernel/liteos_a/testsuites/unittest/container/smoke/ |
H A D | It_net_container_008.cpp | 42 int udp_sock; in UdpTcpBind() local 45 udp_sock = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); in UdpTcpBind() 46 if (udp_sock < 0) { in UdpTcpBind() 55 ret = bind(udp_sock, const_cast<struct sockaddr *>(reinterpret_cast<struct sockaddr *>(&sa)), sizeof(sa)); in UdpTcpBind() 70 (*sock1) = udp_sock; in UdpTcpBind() 80 int udp_sock; in ClientFunc() local 83 ret = UdpTcpBind(&udp_sock, &tcp_sock); in ClientFunc() 88 (void)close(udp_sock); in ClientFunc() 98 int udp_sock; in ItNetContainer008() local 101 ret = UdpTcpBind(&udp_sock, in ItNetContainer008() [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | udp.h | 38 struct udp_sock { struct 98 static inline struct udp_sock *udp_sk(const struct sock *sk) in udp_sk() 100 return (struct udp_sock *)sk; in udp_sk()
|
H A D | btf_ids.h | 174 BTF_SOCK_TYPE(BTF_SOCK_TYPE_UDP, udp_sock) \
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
H A D | bpf_iter.h | 88 struct udp_sock *udp_sk; 94 struct udp_sock udp;
|
H A D | bpf_iter_udp6.c | 36 struct udp_sock *udp_sk = ctx->udp_sk; in dump_udp6()
|
H A D | bpf_iter_udp4.c | 29 struct udp_sock *udp_sk = ctx->udp_sk; in dump_udp4()
|
/kernel/linux/linux-5.10/include/net/ |
H A D | udplite.h | 68 const struct udp_sock *up = udp_sk(skb->sk); in udplite_csum_outgoing() 111 const struct udp_sock *up = udp_sk(skb->sk); in udplite_csum()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | bpf_iter.h | 104 struct udp_sock *udp_sk; 110 struct udp_sock udp;
|
H A D | sock_destroy_prog.c | 107 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 D | bpf_iter_udp6.c | 35 struct udp_sock *udp_sk = ctx->udp_sk; in dump_udp6()
|
H A D | bpf_iter_udp4.c | 28 struct udp_sock *udp_sk = ctx->udp_sk; in dump_udp4()
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
H A D | psock_tpacket.c | 223 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()
|
/kernel/linux/linux-6.6/tools/testing/selftests/net/ |
H A D | psock_tpacket.c | 223 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()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | udp.h | 47 struct udp_sock { struct 110 #define udp_sk(ptr) container_of_const(ptr, struct udp_sock, inet.sk)
|
H A D | btf_ids.h | 239 BTF_SOCK_TYPE(BTF_SOCK_TYPE_UDP, udp_sock) \
|
/kernel/linux/common_modules/newip/third_party/linux-5.10/include/linux/ |
H A D | nip.h | 103 struct udp_sock udp;
|
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | udp.c | 688 struct udp_sock *up = udp_sk(sk); in __udp4_lib_err_encap() 815 struct udp_sock *up = udp_sk(sk); in udp_flush_pending_frames() 992 struct udp_sock *up = udp_sk(sk); in udp_push_pending_frames() 1051 struct udp_sock *up = udp_sk(sk); in udp_sendmsg() 1332 struct udp_sock *up = udp_sk(sk); in udp_sendpage() 1447 struct udp_sock *up = udp_sk(sk); in udp_rmem_release() 1607 struct udp_sock *up = udp_sk(sk); in udp_destruct_common() 2089 struct udp_sock *up = udp_sk(sk); in udp_queue_rcv_one_skb() 2598 struct udp_sock *up = udp_sk(sk); in udp_destroy_sock() 2624 struct udp_sock *u in udp_lib_setsockopt() [all...] |
H A D | udplite.c | 67 .obj_size = sizeof(struct udp_sock),
|
H A D | xfrm4_input.c | 84 struct udp_sock *up = udp_sk(sk); in xfrm4_udp_encap_rcv()
|
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | udp.c | 647 struct udp_sock *up; in __udp4_lib_err_encap() 804 struct udp_sock *up = udp_sk(sk); in udp_flush_pending_frames() 982 struct udp_sock *up = udp_sk(sk); in udp_push_pending_frames() 1041 struct udp_sock *up = udp_sk(sk); in udp_sendmsg() 1318 struct udp_sock *up = udp_sk(sk); in udp_splice_eof() 1396 struct udp_sock *up = udp_sk(sk); in udp_rmem_release() 1561 struct udp_sock *up = udp_sk(sk); in udp_destruct_common() 2075 struct udp_sock *up = udp_sk(sk); in udp_queue_rcv_one_skb() 2612 struct udp_sock *up = udp_sk(sk); in udp_destroy_sock() 2638 struct udp_sock *u in udp_lib_setsockopt() [all...] |
H A D | udplite.c | 69 .obj_size = sizeof(struct udp_sock),
|
H A D | xfrm4_input.c | 84 struct udp_sock *up = udp_sk(sk); in xfrm4_udp_encap_rcv()
|
/kernel/linux/linux-5.10/tools/include/linux/ |
H A D | btf_ids.h | 174 BTF_SOCK_TYPE(BTF_SOCK_TYPE_UDP, udp_sock) \
|
/kernel/linux/linux-6.6/tools/include/linux/ |
H A D | btf_ids.h | 187 BTF_SOCK_TYPE(BTF_SOCK_TYPE_UDP, udp_sock) \
|
/kernel/linux/linux-6.6/net/ipv6/ |
H A D | udp.c | 513 struct udp_sock *up; in __udp6_lib_err_encap() 683 struct udp_sock *up = udp_sk(sk); in udpv6_queue_rcv_one_skb() 1132 struct udp_sock *up = udp_sk(sk); in udp_v6_flush_pending_frames() 1302 struct udp_sock *up = udp_sk(sk); in udp_v6_push_pending_frames() 1323 struct udp_sock *up = udp_sk(sk); in udpv6_sendmsg() 1649 struct udp_sock *up = udp_sk(sk); in udpv6_splice_eof() 1662 struct udp_sock *up = udp_sk(sk); in udpv6_destroy_sock()
|