Home
last modified time | relevance | path

Searched refs:udp (Results 1 – 25 of 149) sorted by relevance

123456

/third_party/ltp/runtest/
Dnet.nfs5 nfs3_01 nfs01.sh -v 3 -t udp
10 nfs3_ipv6_01 nfs01.sh -6 -v 3 -t udp
16 nfs3_02 nfs02.sh -v 3 -t udp
21 nfs3_ipv6_02 nfs02.sh -6 -v 3 -t udp
27 nfs3_03 nfs03.sh -v 3 -t udp
32 nfs3_ipv6_03 nfs03.sh -6 -v 3 -t udp
38 nfs3_04 nfs04.sh -v 3 -t udp
43 nfs3_ipv6_04 nfs04.sh -6 -v 3 -t udp
49 nfs3_05 nfs05.sh -v 3 -t udp
54 nfs3_ipv6_05 nfs05.sh -6 -v 3 -t udp
[all …]
/third_party/libuv/test/
Dbenchmark-ping-udp.c34 uv_udp_t udp; member
82 r = uv_udp_try_send(&pinger->udp, &buf, 1, in pinger_write_ping()
88 static void pinger_read_cb(uv_udp_t* udp, in pinger_read_cb() argument
95 pinger = (pinger_t*)udp->data; in pinger_read_cb()
107 uv_close((uv_handle_t*)udp, pinger_close_cb); in pinger_read_cb()
127 r = uv_udp_init(loop, &pinger->udp); in udp_pinger_new()
129 r = uv_udp_bind(&pinger->udp, (const struct sockaddr*) &pinger->server_addr, 0); in udp_pinger_new()
132 pinger->udp.data = pinger; in udp_pinger_new()
135 if (0 != uv_udp_recv_start(&pinger->udp, buf_alloc, pinger_read_cb)) { in udp_pinger_new()
Dtest-handle-fileno.c52 uv_udp_t udp; in TEST_IMPL() local
79 r = uv_udp_init(loop, &udp); in TEST_IMPL()
81 r = uv_fileno((uv_handle_t*) &udp, &fd); in TEST_IMPL()
83 r = uv_udp_bind(&udp, (const struct sockaddr*) &addr, 0); in TEST_IMPL()
85 r = uv_fileno((uv_handle_t*) &udp, &fd); in TEST_IMPL()
87 uv_close((uv_handle_t*) &udp, NULL); in TEST_IMPL()
88 r = uv_fileno((uv_handle_t*) &udp, &fd); in TEST_IMPL()
Dtest-socket-buffer-size.c29 static uv_udp_t udp; variable
66 ASSERT(0 == uv_udp_init(uv_default_loop(), &udp)); in TEST_IMPL()
67 ASSERT(0 == uv_udp_bind(&udp, (struct sockaddr*) &addr, 0)); in TEST_IMPL()
68 check_buffer_size((uv_handle_t*) &udp); in TEST_IMPL()
69 uv_close((uv_handle_t*) &udp, close_cb); in TEST_IMPL()
Dtest-getsockname.c39 static uv_udp_t udp; variable
257 r = uv_udp_getsockname(&udp, &sockname, &namelen); in udp_recv()
262 uv_close((uv_handle_t*) &udp, NULL); in udp_recv()
311 r = uv_udp_init(loop, &udp); in udp_sender()
318 &udp, in udp_sender()
357 ASSERT(udp.send_queue_size == 0); in TEST_IMPL()
/third_party/lwip/
D0064-fix-udp-send-recv-in-multiple-queue.patch4 Subject: [PATCH] fix udp send/recv in multiple queue
7 src/core/udp.c | 73 +++++++++++++++++++++++++++++++++++++++---
8 src/include/lwip/udp.h | 4 +++
11 diff --git a/src/core/udp.c b/src/core/udp.c
13 --- a/src/core/udp.c
14 +++ b/src/core/udp.c
46 /* exported in udp.h (was static) */
151 diff --git a/src/include/lwip/udp.h b/src/include/lwip/udp.h
153 --- a/src/include/lwip/udp.h
154 +++ b/src/include/lwip/udp.h
D0061-fix-pbuf-leak-in-udp-connection.patch4 Subject: [PATCH] fix pbuf leak in udp connection
7 src/core/udp.c | 5 ++++-
10 diff --git a/src/core/udp.c b/src/core/udp.c
12 --- a/src/core/udp.c
13 +++ b/src/core/udp.c
D0089-add-struct-gz-addr.patch13 diff -Nur lwip-org/src/core/udp.c lwip-gz-addr/src/core/udp.c
14 --- lwip-org/src/core/udp.c 2023-12-04 14:10:25.364481010 +0800
15 +++ lwip-gz-addr/src/core/udp.c 2023-12-04 14:19:58.832481010 +0800
D0060-lwip-add-udp-multicast.patch4 Subject: [PATCH] add udp multicast in support
10 src/core/udp.c | 28 +++++++++++++++++++++++++---
109 raw.c tcp.c tcp_in.c tcp_out.c timeouts.c udp.c stats.c\
115 diff --git a/src/core/udp.c b/src/core/udp.c
117 --- a/src/core/udp.c
118 +++ b/src/core/udp.c
140 UDP_STATS_INC(udp.recv);
160 UDP_STATS_INC(udp.rterr);
/third_party/node/deps/uv/
DMakefile.am87 src/win/udp.c \
118 src/unix/udp.c
295 test/test-udp-alloc-cb-fail.c \
296 test/test-udp-bind.c \
297 test/test-udp-connect.c \
298 test/test-udp-connect6.c \
299 test/test-udp-create-socket-early.c \
300 test/test-udp-dgram-too-big.c \
301 test/test-udp-ipv6.c \
302 test/test-udp-mmsg.c \
[all …]
DCMakeLists.txt166 src/win/udp.c
198 src/unix/udp.c)
442 test/benchmark-ping-udp.c
449 test/benchmark-udp-pummel.c
606 test/test-udp-alloc-cb-fail.c
607 test/test-udp-bind.c
608 test/test-udp-connect.c
609 test/test-udp-connect6.c
610 test/test-udp-create-socket-early.c
611 test/test-udp-dgram-too-big.c
[all …]
/third_party/libuv/
DMakefile.am87 src/win/udp.c \
118 src/unix/udp.c
295 test/test-udp-alloc-cb-fail.c \
296 test/test-udp-bind.c \
297 test/test-udp-connect.c \
298 test/test-udp-connect6.c \
299 test/test-udp-create-socket-early.c \
300 test/test-udp-dgram-too-big.c \
301 test/test-udp-ipv6.c \
302 test/test-udp-mmsg.c \
[all …]
DCMakeLists.txt166 src/win/udp.c
198 src/unix/udp.c)
442 test/benchmark-ping-udp.c
449 test/benchmark-udp-pummel.c
606 test/test-udp-alloc-cb-fail.c
607 test/test-udp-bind.c
608 test/test-udp-connect.c
609 test/test-udp-connect6.c
610 test/test-udp-create-socket-early.c
611 test/test-udp-dgram-too-big.c
[all …]
/third_party/toybox/toys/pending/
Dtcpsvd.c50 int udp;
239 hints.ai_socktype = ((TT.udp) ?SOCK_DGRAM : SOCK_STREAM); in create_bind_sock()
248 sockfd = xsocket(rp->ai_family, TT.udp ?SOCK_DGRAM :SOCK_STREAM, 0); in create_bind_sock()
250 if (TT.udp) setsockopt(sockfd, IPPROTO_IP, IP_PKTINFO, &set, sizeof(set)); in create_bind_sock()
275 TT.udp = (*toys.which->name == 'u'); in tcpsvd_main()
276 if (TT.udp) toys.optflags &= ~FLAG_C; in tcpsvd_main()
293 if (!TT.udp && (listen(fd, TT.bn) < 0)) perror_exit("Listen failed"); in tcpsvd_main()
308 if (TT.udp) { in tcpsvd_main()
364 setenv("PROTO", TT.udp ?"UDP" :"TCP", 1); in tcpsvd_main()
371 if (!TT.udp) { in tcpsvd_main()
[all …]
/third_party/libwebsockets/lib/core-net/
Doutput.c204 wsi->udp->sa46_pending = wsi->udp->sa46; in lws_issue_raw()
254 socklen_t slt = sizeof(wsi->udp->sa46); in lws_ssl_capable_read_no_ssl()
261 sa46_sockaddr(&wsi->udp->sa46), &slt); in lws_ssl_capable_read_no_ssl()
329 len, 0, sa46_sockaddr(&wsi->udp->sa46_pending), in lws_ssl_capable_write_no_ssl()
330 sa46_socklen(&wsi->udp->sa46_pending)); in lws_ssl_capable_write_no_ssl()
336 len, 0, sa46_sockaddr(&wsi->udp->sa46), in lws_ssl_capable_write_no_ssl()
337 sa46_socklen(&wsi->udp->sa46)); in lws_ssl_capable_write_no_ssl()
/third_party/selinux/libsepol/tests/policies/test-cond/
Drefpolicy-base.conf1743 portcon udp 7007 system_u:object_r:afs_bos_port_t:s0
1745 portcon udp 7000 system_u:object_r:afs_fs_port_t:s0
1746 portcon udp 7005 system_u:object_r:afs_fs_port_t:s0
1747 portcon udp 7004 system_u:object_r:afs_ka_port_t:s0
1748 portcon udp 7002 system_u:object_r:afs_pt_port_t:s0
1749 portcon udp 7003 system_u:object_r:afs_vl_port_t:s0
1750 portcon udp 10080 system_u:object_r:amanda_port_t:s0
1752 portcon udp 10081 system_u:object_r:amanda_port_t:s0
1759 portcon udp 2427 system_u:object_r:asterisk_port_t:s0
1760 portcon udp 2727 system_u:object_r:asterisk_port_t:s0
[all …]
/third_party/ltp/testcases/network/rpc/basic_tests/rpcinfo/
Drpcinfo01.sh17 rpcinfo -p $(tst_ipaddr) | grep udp | sed -n 2p >> rpc_out
26 UPNUM=$(grep udp rpc_out | awk '{print $1}')
27 UVNUM=$(grep udp rpc_out | awk '{print $2}')
28 UDPNAME=$(grep udp rpc_out | awk '{print $5}')
/third_party/libwebsockets/lib/roles/raw-skt/
Dops-raw-skt.c287 if ((type & LWS_ADOPT_FLAG_UDP) && !wsi->udp) {
291 wsi->udp = lws_malloc(sizeof(*wsi->udp), "udp struct");
292 if (!wsi->udp)
294 memset(wsi->udp, 0, sizeof(*wsi->udp));
/third_party/libwebsockets/minimal-examples/raw/minimal-raw-adopt-udp/
Dminimal-raw-adopt-udp.c38 struct lws_udp udp; variable
65 udp = *(lws_get_udp(wsi)); in callback_raw_test()
116 sendlen, 0, sa46_sockaddr(&udp.sa46), in callback_raw_test()
117 sa46_socklen(&udp.sa46)); in callback_raw_test()
DCMakeLists.txt1 project(lws-minimal-raw-adopt-udp C)
8 set(SAMP lws-minimal-raw-adopt-udp)
9 set(SRCS minimal-raw-adopt-udp.c)
DREADME.md1 # lws minimal ws server raw adopt udp
34 $ ./lws-minimal-raw-adopt-udp
35 $ ./lws-minimal-raw-adopt-udp
36 [2018/03/24 08:12:37:8869] USER: LWS minimal raw adopt udp | nc -u 127.0.0.1 7681
/third_party/libwebsockets/READMEs/
DREADME.udp.md12 Retries are important in udp but there's no standardized ack method
14 the policy to the udp wsi, but since one UDP socket may have many
43 In the callback, it should simply call `lws_callback_on_writable()` for the udp wsi.
47 You can simulate udp packetloss at tx and rx by using the Fault Injection apis
/third_party/lwip/src/netif/ppp/
Dpppol2tp.c115 struct udp_pcb *udp; in pppol2tp_create() local
130 udp = udp_new_ip_type(IP_GET_TYPE(ipaddr)); in pppol2tp_create()
131 if (udp == NULL) { in pppol2tp_create()
134 udp_recv(udp, pppol2tp_input, l2tp); in pppol2tp_create()
144 l2tp->udp = udp; in pppol2tp_create()
156 udp_remove(udp); in pppol2tp_create()
252 udp_remove(l2tp->udp); in pppol2tp_destroy()
306 if (IP_IS_V6_VAL(l2tp->udp->local_ip)) { in pppol2tp_connect()
307 udp_bind(l2tp->udp, IP6_ADDR_ANY, 0); in pppol2tp_connect()
310 udp_bind(l2tp->udp, IP_ADDR_ANY, 0); in pppol2tp_connect()
[all …]
/third_party/node/deps/openssl/openssl/crypto/bn/
Dbn_gf2m.c627 BN_ULONG *udp, *bdp, *vdp, *cdp; in BN_GF2m_mod_inv_vartime() local
631 udp = u->d; in BN_GF2m_mod_inv_vartime()
633 udp[i] = 0; in BN_GF2m_mod_inv_vartime()
653 while (ubits && !(udp[0] & 1)) { in BN_GF2m_mod_inv_vartime()
656 u0 = udp[0]; in BN_GF2m_mod_inv_vartime()
661 u1 = udp[i + 1]; in BN_GF2m_mod_inv_vartime()
662 udp[i] = ((u0 >> 1) | (u1 << (BN_BITS2 - 1))) & BN_MASK2; in BN_GF2m_mod_inv_vartime()
668 udp[i] = u0 >> 1; in BN_GF2m_mod_inv_vartime()
674 if (udp[0] == 0) /* poly was reducible */ in BN_GF2m_mod_inv_vartime()
676 if (udp[0] == 1) in BN_GF2m_mod_inv_vartime()
[all …]
/third_party/openssl/crypto/bn/
Dbn_gf2m.c627 BN_ULONG *udp, *bdp, *vdp, *cdp; in BN_GF2m_mod_inv_vartime() local
631 udp = u->d; in BN_GF2m_mod_inv_vartime()
633 udp[i] = 0; in BN_GF2m_mod_inv_vartime()
653 while (ubits && !(udp[0] & 1)) { in BN_GF2m_mod_inv_vartime()
656 u0 = udp[0]; in BN_GF2m_mod_inv_vartime()
661 u1 = udp[i + 1]; in BN_GF2m_mod_inv_vartime()
662 udp[i] = ((u0 >> 1) | (u1 << (BN_BITS2 - 1))) & BN_MASK2; in BN_GF2m_mod_inv_vartime()
668 udp[i] = u0 >> 1; in BN_GF2m_mod_inv_vartime()
674 if (udp[0] == 0) /* poly was reducible */ in BN_GF2m_mod_inv_vartime()
676 if (udp[0] == 1) in BN_GF2m_mod_inv_vartime()
[all …]

123456