Searched defs:socket (Results 1 - 25 of 27) sorted by relevance

12

/vbox/src/VBox/Devices/EFI/Firmware/StdLib/BsdSocketLib/
H A Dsocket.c2 Implement the socket API.
19 File system interface for the socket layer.
22 file system functions associated with the socket layer.
48 Translate from the socket file descriptor to the socket protocol.
50 @param [in] s Socket file descriptor returned from ::socket.
100 // Return the socket protocol
107 Build a file descriptor for a socket.
113 @return The file descriptor for the socket or -1 if an error occurs.
162 // Return the socket'
217 socket ( function
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/net/tcp/
H A Dsyslogs.c207 struct interface *socket; local
240 if ( ( rc = add_tls ( &syslogs, server, &socket ) ) != 0 ) {
247 if ( ( rc = xfer_open_named_socket ( socket, SOCK_STREAM,
H A Dhttpcore.c41 #include <ipxe/socket.h>
121 struct interface socket; member in struct:http_request
188 intf_shutdown ( &http->socket, rc );
620 * Check HTTP socket flow control window
661 /* Do nothing until socket is ready */
662 if ( ! xfer_window ( &http->socket ) )
704 if ( ( rc = xfer_printf ( &http->socket,
838 /** HTTP socket interface operations */
846 /** HTTP socket interface descriptor */
848 INTF_DESC_PASSTHRU ( struct http_request, socket,
895 struct interface *socket; local
[all...]
/vbox/src/libs/xpcom18a4/nsprpub/pr/include/
H A Dprtpool.h70 PRFileDesc *socket; member in struct:PRJobIoDesc
88 /* queue a job, when a socket is readable */
93 /* queue a job, when a socket is writeable */
98 /* queue a job, when a socket has a pending connection */
103 /* queue a job, when the socket connection to addr succeeds or fails */
/vbox/src/VBox/ValidationKit/testmanager/webui/
H A Dwuiadmintestbox.py33 import socket; namespace
68 (self._oData.sName, _, _) = socket.gethostbyaddr(self._oData.ip);
/vbox/src/VBox/ValidationKit/tests/network/
H A DtdNetBenchmark1.py35 import socket namespace
59 self.sLocalName = socket.getfqdn();
90 try: self.sLocalName = socket.gethostbyname(self.sLocalName);
/vbox/src/VBox/ValidationKit/tests/usb/
H A DtdUsb1.py36 import socket; namespace
99 self.sHostname = socket.gethostname().lower();
/vbox/src/VBox/Devices/Network/lwip/src/include/lwip/
H A Dapi.h94 int socket; member in struct:netconn
H A Dsockets.h62 * Option flags per-socket.
65 #define SO_ACCEPTCONN 0x0002 /* socket has had listen() */
87 #define SO_TYPE 0x1008 /* get socket type */
100 * Level number for (get/set)sockopt() to apply to socket itself.
102 #define SOL_SOCKET 0xfff /* options for socket level */
264 #define socket(a,b,c) lwip_socket(a,b,c) macro
/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...]
/vbox/src/VBox/Devices/PC/ipxe/src/net/udp/
H A Ddns.c72 struct interface socket; member in struct:dns_request
102 intf_shutdown ( &dns->socket, rc );
314 return xfer_deliver_raw ( &dns->socket, &dns->query, qlen );
487 /** DNS socket interface operations */
493 /** DNS socket interface descriptor */
495 INTF_DESC ( struct dns_request, socket, dns_socket_operations );
543 intf_init ( &dns->socket, &dns_socket_desc, &dns->refcnt );
556 if ( ( rc = xfer_open_socket ( &dns->socket, SOCK_DGRAM,
559 DBGC ( dns, "DNS %p could not open socket: %s\n",
H A Dslam.c123 /** Unicast socket */
124 struct interface socket; member in struct:slam_request
125 /** Multicast socket */
178 xfer_deliver_raw ( &slam->socket, slam_disconnect,
187 intf_shutdown ( &slam->socket, rc );
260 iobuf = xfer_alloc_iob ( &slam->socket, SLAM_MAX_NACK_LEN );
299 return xfer_deliver_iob ( &slam->socket, iobuf );
592 /** SLAM unicast socket interface operations */
598 /** SLAM unicast socket interface descriptor */
600 INTF_DESC ( struct slam_request, socket, slam_socket_operation
[all...]
H A Dtftp.c88 struct interface socket; member in struct:tftp_request
187 intf_shutdown ( &tftp->socket, rc );
193 * Reopen TFTP socket
202 /* Close socket */
203 intf_restart ( &tftp->socket, 0 );
211 /* Open socket */
214 if ( ( rc = xfer_open_named_socket ( &tftp->socket, SOCK_DGRAM,
217 DBGC ( tftp, "TFTP %p could not open socket: %s\n",
226 * Reopen TFTP multicast socket
229 * @v local Local socket addres
616 } socket; local
[all...]
/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/ValidationKit/testdriver/
H A Dvboxtestvms.py34 import socket; namespace
268 sHostName = socket.getfqdn();
H A Dbase.py37 import socket namespace
170 sIpAddr = socket.gethostbyname(sName);
H A Dtxsclient.py36 import socket namespace
1651 if isinstance(oXcpt, socket.error):
1668 if isinstance(oXcpt, socket.error):
1684 if isinstance(oXcpt, socket.error):
1720 reporter.log2('TransportTcp::cancelConnect: closing the socket');
1729 try: oWakeupW.shutdown(socket.SHUT_WR);
1742 oSocket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1);
1744 reporter.errorXcpt('socket.listen(1) failed');
1747 # Bind the socket an
[all...]
H A Dvboxwrappers.py36 import socket namespace
1436 sHostName = socket.getfqdn();
1440 sHostName = socket.gethostname(); # klugde.
1441 abHostIP = socket.inet_aton(socket.gethostbyname(sHostName));
/vbox/src/VBox/Devices/PC/ipxe/src/include/ipxe/
H A Dibft.h210 uint16_t socket; member in struct:ibft_target
H A Discsi.h13 #include <ipxe/socket.h>
541 /** Transport-layer socket */
542 struct interface socket; member in struct:iscsi_session
646 /** Target socket address (for boot firmware table) */
/vbox/src/VBox/Devices/Network/lwip-new/src/include/lwip/
H A Dapi.h185 /** only used for socket layer */
187 int socket; member in struct:netconn
H A Dsockets.h114 * Option flags per-socket. These must match the SOF_ flags in ip.h (checked in init.c)
117 #define SO_ACCEPTCONN 0x0002 /* socket has had listen() */
139 #define SO_TYPE 0x1008 /* get socket type */
153 * Level number for (get/set)sockopt() to apply to socket itself.
155 #define SOL_SOCKET 0xfff /* options for socket level */
348 /* Make FD_SETSIZE match NUM_SOCKETS in socket.c */
415 #define socket(a,b,c) lwip_socket(a,b,c) macro
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/block/
H A Dsrp.c109 struct interface socket; member in struct:srp_device
242 intf_shutdown ( &srpdev->socket, rc );
305 iobuf = xfer_alloc_iob ( &srpdev->socket, sizeof ( *login_req ) );
325 if ( ( rc = xfer_deliver_iob ( &srpdev->socket, iobuf ) ) != 0 ) {
420 iobuf = xfer_alloc_iob ( &srpdev->socket, SRP_MAX_I_T_IU_LEN );
457 if ( ( rc = xfer_deliver_iob ( &srpdev->socket, iobuf ) ) != 0 ) {
622 * Receive data from SRP socket
732 if ( ( rc = acpi_describe ( &srpdev->socket, acpi, len ) ) != 0 ) {
741 /** SRP device socket interface operations */
747 /** SRP device socket interfac
775 srp_open( struct interface *block, struct interface *socket, union srp_port_id *initiator, union srp_port_id *target, uint32_t memory_handle, struct scsi_lun *lun ) argument
[all...]
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/io/
H A Dprsocket.c63 * The definition of the length of a Unix domain socket address
75 * field and is 28 bytes. It is possible for socket functions
86 * do not set the actual socket address length on return.
439 * The new socket has been associated with an I/O
450 * On some platforms, the new socket created by accept()
452 * of the listening socket. As an optimization, these
859 /* The socket must be in blocking mode. */
1005 PR_NTFast_UpdateAcceptContext(PRFileDesc *socket, PRFileDesc *acceptSocket) argument
1008 socket->secret->md.osfd, acceptSocket->secret->md.osfd);
1028 /* The socket mus
[all...]
/vbox/src/VBox/ValidationKit/testmanager/core/
H A Dbase.py36 import socket; namespace
588 socket.inet_pton(socket.AF_INET, sValue); # pylint: disable=E1101
591 socket.inet_pton(socket.AF_INET6, sValue); # pylint: disable=E1101

Completed in 157 milliseconds

12