Searched refs:udp_sock (Results 1 – 19 of 19) sorted by relevance
/kernel/liteos_a/testsuites/unittest/container/smoke/ |
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)), 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/ |
D | udp.h | 38 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()
|
D | btf_ids.h | 174 BTF_SOCK_TYPE(BTF_SOCK_TYPE_UDP, udp_sock) \
|
D | ipv6.h | 306 struct udp_sock udp;
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
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-5.10/include/net/ |
D | udplite.h | 76 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()
|
D | udp_tunnel.h | 171 struct udp_sock *up = udp_sk(sock->sk); in udp_tunnel_encap_enable()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
D | bpf_iter.h | 88 struct udp_sock *udp_sk; 94 struct udp_sock udp;
|
D | bpf_iter_udp4.c | 29 struct udp_sock *udp_sk = ctx->udp_sk; in dump_udp4()
|
D | bpf_iter_udp6.c | 36 struct udp_sock *udp_sk = ctx->udp_sk; in dump_udp6()
|
/kernel/linux/common_modules/newip/third_party/linux-5.10/include/linux/ |
D | nip.h | 103 struct udp_sock udp;
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | udplite.c | 57 .obj_size = sizeof(struct udp_sock),
|
D | udp.c | 669 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 …]
|
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/ |
D | btf_ids.h | 174 BTF_SOCK_TYPE(BTF_SOCK_TYPE_UDP, udp_sock) \
|
/kernel/linux/linux-5.10/net/ipv6/ |
D | udp.c | 529 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()
|
D | xfrm6_input.c | 79 struct udp_sock *up = udp_sk(sk); in xfrm6_udp_encap_rcv()
|
D | ipv6_sockglue.c | 440 struct udp_sock *up = udp_sk(sk); in do_ipv6_setsockopt()
|
/kernel/linux/linux-5.10/net/netfilter/ipvs/ |
D | ip_vs_sync.c | 1718 struct udp_sock *up = udp_sk(sk); in sync_thread_backup()
|