Searched refs:socket (Results 1 - 25 of 206) sorted by relevance

123456789

/vbox/src/VBox/Devices/Network/slirp/
H A Dsocket.h3 * NAT - socket handling (declarations/defines).
36 * Our socket structure
39 struct socket struct
41 struct socket *so_next;
42 struct socket *so_prev; /* For a linked list of sockets */
45 int s; /* The actual socket */
72 uint8_t so_sottl; /* cached socket's IP_TTL option */
73 uint8_t so_sotos; /* cached socket's IP_TOS option */
74 int8_t so_sodf; /* cached socket's DF option */
76 u_char so_type; /* Type of socket, UD
[all...]
H A Dudp.h63 extern struct socket *udp_last_so;
106 u_long udps_noport; /* no socket on port */
108 u_long udps_fullsock; /* not delivered, input socket full */
121 extern struct socket udb;
126 int udp_output (PNATState, struct socket *, struct mbuf *, struct sockaddr_in *);
127 int udp_attach (PNATState, struct socket *);
128 void udp_detach (PNATState, struct socket *);
129 u_int8_t udp_tos (struct socket *);
130 void udp_emu (PNATState, struct socket *, struct mbuf *);
131 struct socket * udp_liste
[all...]
H A Dsbuf.h50 void sbappend (PNATState, struct socket *, struct mbuf *);
H A Dslirp.h30 # include <sys/socket.h>
219 # include <sys/socket.h>
269 #include "socket.h"
312 void if_output (PNATState, struct socket *, struct mbuf *);
323 int ip_output (PNATState, struct socket *, struct mbuf *);
324 int ip_output0 (PNATState, struct socket *, struct mbuf *, int urg);
328 void tcp_input (PNATState, register struct mbuf *, int, struct socket *);
329 void tcp_fconnect_failed(PNATState, struct socket *, int);
342 struct tcpcb * tcp_newtcpcb (PNATState, struct socket *);
346 int tcp_fconnect (PNATState, struct socket *);
[all...]
H A Dsocket.c3 * NAT - socket handling.
48 struct socket * soCloneUDPSocketWithForegnAddr(PNATState pData, bool fBindSocket, struct socket *pSo, uint32_t u32ForeignAddr)
50 struct socket *pNewSocket = NULL;
55 LogFunc(("Can't create socket\n"));
64 LogFunc(("Can't attach fresh created socket\n"));
70 pNewSocket->so_cloneOf = (struct socket *)pSo;
83 struct socket *soLookUpClonedUDPSocket(PNATState pData, const struct socket *pcSo, uint32_t u32ForeignAddress)
85 struct socket *pSoClon
[all...]
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/
H A Dnet.sed.in36 #include <sys/socket.h>
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/BsdSocketLib/
H A Dres_data.c24 #include <sys/socket.h>
H A Dns_netint.c25 #include <sys/socket.h>
H A Dinet_neta.c64 #include <sys/socket.h>
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/LibC/NetUtil/
H A Dinet_ntoa.c47 #include <sys/socket.h>
/vbox/src/VBox/Devices/Network/slirp/dnsproxy/
H A Ddnsproxy.h42 #include <sys/socket.h>
153 void dnsproxy_query(PNATState pData, struct socket *so, struct mbuf *m, int iphlen);
154 void dnsproxy_answer(PNATState pData, struct socket *so, struct mbuf *m);
/vbox/src/VBox/Devices/EFI/Firmware/AppPkg/Applications/Sockets/GetServByName/
H A DGetServByName.c24 #include <sys/socket.h>
/vbox/src/VBox/NetworkServices/NAT/
H A Dportfwd.h23 #include <sys/socket.h>
H A Drtmon_bsd.c24 #include <sys/socket.h>
40 * We don't actually monitor the routing socket for updates, and
72 rtsock = socket(PF_ROUTE, SOCK_RAW, AF_INET6);
74 DPRINTF0(("rtmon: failed to create routing socket\n"));
/vbox/src/libs/xpcom18a4/nsprpub/tools/
H A Dhttpget.c183 fprintf(stderr, "httpget: cannot read from socket\n");
229 fprintf(stderr, "httpget: cannot read from socket\n");
319 PRFileDesc *socket = NULL, *file = NULL; local
376 socket = PR_NewTCPSocket();
377 if (socket == NULL) {
378 fprintf(stderr, "httpget: cannot create new tcp socket\n");
382 if (PR_Connect(socket, &addr, PR_INTERVAL_NO_TIMEOUT) == PR_FAILURE) {
404 if (PR_Write(socket, buf, cmdSize) != cmdSize) {
410 if (ReadLine(socket, line, sizeof(line)) <= 0) {
423 while (ReadLine(socket, lin
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/AppPkg/Applications/Sockets/RecvDgram/
H A DRecvDgram.c25 #include <sys/socket.h>
58 // Get the socket
60 s = socket ( AF_INET, SOCK_DGRAM, 0 );
62 Print ( L"ERROR - Unable to open the socket, errno: %d\r\n", errno );
103 // Done with the socket
/vbox/src/VBox/Devices/EFI/Firmware/AppPkg/Applications/Sockets/GetHostByDns/
H A DGetHostByDns.c24 #include <sys/socket.h>
/vbox/src/VBox/Devices/EFI/Firmware/AppPkg/Applications/Sockets/GetNetByAddr/
H A DGetNetByAddr.c25 #include <sys/socket.h>
/vbox/src/VBox/Devices/EFI/Firmware/AppPkg/Applications/Sockets/GetNetByName/
H A DGetNetByName.c24 #include <sys/socket.h>
/vbox/src/VBox/Devices/EFI/Firmware/AppPkg/Applications/Sockets/GetServByPort/
H A DGetServByPort.c25 #include <sys/socket.h>
/vbox/src/VBox/Devices/EFI/Firmware/AppPkg/Applications/Sockets/OobTx/
H A DOobTx.h53 #include <sys/socket.h>
/vbox/src/VBox/Devices/EFI/Firmware/AppPkg/Applications/Sockets/RawIp4Rx/
H A DRawIp4Rx.h52 #include <sys/socket.h>
/vbox/src/VBox/Devices/EFI/Firmware/AppPkg/Applications/Sockets/RawIp4Tx/
H A DRawIp4Tx.h53 #include <sys/socket.h>
/vbox/src/VBox/Devices/EFI/Firmware/AppPkg/Applications/Sockets/SetHostName/
H A DSetHostName.c23 #include <sys/socket.h>
/vbox/src/libs/xpcom18a4/nsprpub/pr/include/
H A Dprinet.h41 * Header file used to find the system header files for socket support.
43 * - A cross-platform, "get-everything" socket header file. On
44 * Unix, socket support is scattered in several header files,
45 * while Windows and Mac have a "get-everything" socket header
68 #include <sys/socket.h> /* AF_INET */
94 * socket headers.

Completed in 1575 milliseconds

123456789