Home
last modified time | relevance | path

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

/kernel/liteos_a/testsuites/unittest/container/smoke/
DIt_net_container_008.cpp42 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)), size… 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, &tcp_sock); in ItNetContainer008()
[all …]
/kernel/linux/linux-5.10/include/linux/
Dudp.h38 struct udp_sock { struct
98 static inline struct udp_sock *udp_sk(const struct sock *sk) in udp_sk() argument
100 return (struct udp_sock *)sk; in udp_sk()
Dbtf_ids.h174 BTF_SOCK_TYPE(BTF_SOCK_TYPE_UDP, udp_sock) \
Dipv6.h306 struct udp_sock udp;
/kernel/linux/linux-5.10/tools/testing/selftests/net/
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()
/kernel/linux/linux-5.10/include/net/
Dudplite.h76 const struct udp_sock *up = udp_sk(skb->sk); in udplite_csum_outgoing()
119 const struct udp_sock *up = udp_sk(skb->sk); in udplite_csum()
Dudp_tunnel.h171 struct udp_sock *up = udp_sk(sock->sk); in udp_tunnel_encap_enable()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dbpf_iter.h88 struct udp_sock *udp_sk;
94 struct udp_sock udp;
Dbpf_iter_udp4.c29 struct udp_sock *udp_sk = ctx->udp_sk; in dump_udp4()
Dbpf_iter_udp6.c36 struct udp_sock *udp_sk = ctx->udp_sk; in dump_udp6()
/kernel/linux/common_modules/newip/third_party/linux-5.10/include/linux/
Dnip.h103 struct udp_sock udp;
/kernel/linux/linux-5.10/net/ipv4/
Dudplite.c57 .obj_size = sizeof(struct udp_sock),
Dudp.c669 struct udp_sock *up = udp_sk(sk); in __udp4_lib_err_encap()
796 struct udp_sock *up = udp_sk(sk); in udp_flush_pending_frames()
973 struct udp_sock *up = udp_sk(sk); in udp_push_pending_frames()
1032 struct udp_sock *up = udp_sk(sk); in udp_sendmsg()
1313 struct udp_sock *up = udp_sk(sk); in udp_sendpage()
1428 struct udp_sock *up = udp_sk(sk); in udp_rmem_release()
1588 struct udp_sock *up = udp_sk(sk); in udp_destruct_sock()
2067 struct udp_sock *up = udp_sk(sk); in udp_queue_rcv_one_skb()
2576 struct udp_sock *up = udp_sk(sk); in udp_destroy_sock()
2602 struct udp_sock *up = udp_sk(sk); in udp_lib_setsockopt()
[all …]
Dxfrm4_input.c84 struct udp_sock *up = udp_sk(sk); in xfrm4_udp_encap_rcv()
/kernel/linux/linux-5.10/tools/include/linux/
Dbtf_ids.h174 BTF_SOCK_TYPE(BTF_SOCK_TYPE_UDP, udp_sock) \
/kernel/linux/linux-5.10/net/ipv6/
Dudp.c529 struct udp_sock *up = udp_sk(sk); in __udp6_lib_err_encap()
658 struct udp_sock *up = udp_sk(sk); in udpv6_queue_rcv_one_skb()
1081 struct udp_sock *up = udp_sk(sk); in udp_v6_flush_pending_frames()
1251 struct udp_sock *up = udp_sk(sk); in udp_v6_push_pending_frames()
1278 struct udp_sock *up = udp_sk(sk); in udpv6_sendmsg()
1598 struct udp_sock *up = udp_sk(sk); in udpv6_destroy_sock()
Dxfrm6_input.c79 struct udp_sock *up = udp_sk(sk); in xfrm6_udp_encap_rcv()
Dipv6_sockglue.c440 struct udp_sock *up = udp_sk(sk); in do_ipv6_setsockopt()
/kernel/linux/linux-5.10/net/netfilter/ipvs/
Dip_vs_sync.c1718 struct udp_sock *up = udp_sk(sk); in sync_thread_backup()