Searched refs:udp (Results 1 - 25 of 49) sorted by relevance

12

/vbox/src/VBox/Devices/PC/ipxe/src/net/
H A Dudp.c13 #include <ipxe/udp.h>
53 * @v udp UDP connection
59 static int udp_bind ( struct udp_connection *udp ) {
64 if ( ! udp->local.st_port ) {
69 udp->local.st_port = htons ( try_port );
70 if ( udp_bind ( udp ) == 0 )
78 if ( existing->local.st_port == udp->local.st_port ) {
79 DBGC ( udp, "UDP %p could not bind: port %d in use\n",
80 udp, ntohs ( udp
106 struct udp_connection *udp; local
171 udp_close( struct udp_connection *udp, int rc ) argument
193 udp_tx( struct udp_connection *udp, struct io_buffer *iobuf, struct sockaddr_tcpip *src, struct sockaddr_tcpip *dest, struct net_device *netdev ) argument
246 struct udp_connection *udp; local
275 struct udp_connection *udp; local
362 udp_xfer_alloc_iob( struct udp_connection *udp, size_t len ) argument
384 udp_xfer_deliver( struct udp_connection *udp, struct io_buffer *iobuf, struct xfer_metadata *meta ) argument
[all...]
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/demo/udp/
H A Dudpio.d26 udp:::send,
27 udp:::receive
H A Dudpbytes.d26 udp:::receive
32 udp:::send
H A Dudpbytesstat.d28 udp:::receive
34 udp:::send
H A Dudpsnoop.d4 * Written using DTrace udp Provider.
45 udp:::send
53 udp:::receive
H A Dudptop.d4 * Written using DTrace udp Provider.
59 udp:::send
67 udp:::receive
/vbox/src/libs/xpcom18a4/nsprpub/pr/tests/
H A Dsockopt.c84 PRFileDesc *udp = PR_NewUDPSocket(); local
117 if (NULL == udp) Failed("PR_NewUDPSocket()", NULL);
127 rv = PR_Bind(udp, &addr);
162 fd = udp;
166 fd = udp;
178 fd = udp;
201 PR_Close(udp);
H A Dlazyinit.c81 PRFileDesc *file, *udp, *tcp, *pair[2]; local
107 case 4: udp = PR_NewUDPSocket();
/vbox/src/VBox/Devices/Network/lwip/src/api/
H A Dapi_msg.c294 msg->conn->pcb.udp = udp_new();
295 if(msg->conn->pcb.udp == NULL) {
299 udp_setflags(msg->conn->pcb.udp, UDP_FLAGS_UDPLITE);
300 udp_recv(msg->conn->pcb.udp, recv_udp, msg->conn);
303 msg->conn->pcb.udp = udp_new();
304 if(msg->conn->pcb.udp == NULL) {
308 udp_setflags(msg->conn->pcb.udp, UDP_FLAGS_NOCHKSUM);
309 udp_recv(msg->conn->pcb.udp, recv_udp, msg->conn);
312 msg->conn->pcb.udp = udp_new();
313 if(msg->conn->pcb.udp
[all...]
H A Dapi_lib.c335 if (conn->pcb.udp == NULL ||
336 ((conn->pcb.udp->flags & UDP_FLAGS_CONNECTED) == 0))
338 *addr = (conn->pcb.udp->remote_ip);
339 *port = conn->pcb.udp->remote_port;
363 *addr = &(conn->pcb.udp->local_ip);
364 *port = conn->pcb.udp->local_port;
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/test/tst/common/ip/
H A Dtst.ipv4localudp.ksh43 # 1 x udp:::send (UDP sent to ping's base UDP port)
46 # No udp:::receive event is expected as the response ping -U elicits is
48 # the echo request UDP packet only reaches IP, so the udp:::receive probe
73 udp:::send
91 printf("udp:::send - %s\n", udpsend >= 1 ? "yes" : "no");
H A Dtst.ipv4remoteudp.ksh28 # Test {udp,ip}:::{send,receive} of IPv4 UDP to a remote host.
43 # 1 x udp:::send (UDP sent to ping's base UDP port)
76 udp:::send
86 printf("udp:::send - %s\n", udpsend >= 1 ? "yes" : "no");
/vbox/src/VBox/Devices/Network/lwip-new/src/core/
H A Dudp.c40 /* udp.c
53 #include "lwip/udp.h"
87 /* exported in udp.h (was static) */
136 /* restart scanning all udp pcbs */
139 /* go on with next udp pcb */
175 UDP_STATS_INC(udp.recv);
182 UDP_STATS_INC(udp.lenerr);
183 UDP_STATS_INC(udp.drop);
207 LWIP_DEBUGF(UDP_DEBUG, ("udp ("));
300 UDP_STATS_INC(udp
[all...]
/vbox/src/VBox/Devices/Network/lwip/src/core/
H A Dudp.c39 /* udp.c
54 #include "lwip/udp.h"
64 /* exported in udp.h (was static) */
97 UDP_STATS_INC(udp.recv);
105 UDP_STATS_INC(udp.lenerr);
106 UDP_STATS_INC(udp.drop);
125 ("udp (%"U16_F".%"U16_F".%"U16_F".%"U16_F", %"U16_F") <-- "
186 UDP_STATS_INC(udp.chkerr);
187 UDP_STATS_INC(udp.drop);
201 UDP_STATS_INC(udp
[all...]
H A Dstats.c104 stats_display_proto(&lwip_stats.udp, "UDP");
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/
H A Dudp.d.in26 #pragma D depends_on provider udp
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/
H A DMakefile.com90 udp.d \
109 CLEANFILES += ../common/udp.sed ../common/udp.d
191 ../common/udp.d: ../common/udp.sed ../common/udp.d.in
192 sed -f ../common/udp.sed < ../common/udp.d.in > $@
/vbox/src/VBox/Devices/Network/lwip-new/src/api/
H A Dapi_msg.c46 #include "lwip/udp.h"
142 * @see udp.h (struct udp_pcb.recv) for parameters
159 LWIP_ASSERT("recv_udp: recv for wrong pcb!", conn->pcb.udp == pcb);
507 msg->conn->pcb.udp = udp_new();
508 if(msg->conn->pcb.udp != NULL) {
511 udp_setflags(msg->conn->pcb.udp, UDP_FLAGS_UDPLITE);
515 udp_setflags(msg->conn->pcb.udp, UDP_FLAGS_NOCHKSUM);
517 udp_recv(msg->conn->pcb.udp, recv_udp, msg->conn);
859 msg->conn->pcb.udp->recv_arg = NULL;
860 udp_remove(msg->conn->pcb.udp);
[all...]
H A Dsockets.c52 #include "lwip/udp.h"
925 remote_port = sock->conn->pcb.udp->remote_port;
947 err = sock->conn->last_err = udp_sendto_chksum(sock->conn->pcb.udp, p,
950 err = sock->conn->last_err = udp_sendto(sock->conn->pcb.udp, p,
1584 ((udp_flags(sock->conn->pcb.udp) & UDP_FLAGS_UDPLITE) != 0)) {
1839 *(int*)optval = (udp_flags(sock->conn->pcb.udp) & UDP_FLAGS_NOCHKSUM) ? 1 : 0;
1868 inet_addr_from_ipaddr((struct in_addr*)optval, &sock->conn->pcb.udp->multicast_ip);
1873 if ((sock->conn->pcb.udp->flags & UDP_FLAGS_MULTICAST_LOOP) != 0) {
1948 *(int*)optval = sock->conn->pcb.udp->chksum_len_tx;
1953 *(int*)optval = sock->conn->pcb.udp
[all...]
/vbox/src/VBox/Devices/Network/slirp/dnsproxy/
H A Ddnsproxy.c141 struct udphdr *udp; local
157 udp = (struct udphdr *)&ip[1]; /* ip attributes */
158 data = (char *)&udp[1];
167 udp->uh_dport = ntohs(53);
168 udp->uh_sport = so->so_lport;
220 struct udphdr *udp;
327 udp = (struct udphdr *)(m->m_data + iphlen);
330 fromaddr.sin_port = udp->uh_sport;
/vbox/src/VBox/Devices/Network/lwip/src/include/lwip/
H A Dstats.h92 struct stats_proto udp; member in struct:stats_
/vbox/src/VBox/Devices/Network/slirp/
H A Dbootp.h118 struct udphdr udp; /**< header: UDP header */ member in struct:bootp_t
H A Dip_icmp.c168 struct udphdr *udp; local
228 udp = (struct udphdr *)((char *)ip + (ip->ip_hl << 2));
230 fport = udp->uh_dport;
231 lport = udp->uh_sport;
491 LogRel(("icmp_input udp sendto tx errno = %d (%s)\n",
/vbox/src/VBox/Devices/Network/slirp/libalias/
H A Dalias_dummy.c49 #include <netinet/udp.h>
H A Dalias_dns.c128 + sizeof(struct dns_meta_data); /* ip + udp + header + query */
204 struct udphdr *udp = NULL; local
208 udp = (struct udphdr *)ip_next(pIp);
209 pHdr = (union dnsmsg_header *)udp_next(udp);
258 * We have changed the size and the content of udp, to avoid double csum calculation
261 udp->uh_sum = 0;
262 udp->uh_ulen = ntohs(htons(pIp->ip_len) - (pIp->ip_hl << 2));

Completed in 96 milliseconds

12