Searched refs:socket (Results 1 - 25 of 534) sorted by path

1234567891011>>

/haiku/build/scripts/
H A Dbootstrap_client.py10 import socket
30 controlConnection = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
31 stdioConnection = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
32 stderrConnection = socket
[all...]
H A Dbootstrap_daemon.py3 import socket
48 listenerSocket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
49 listenerSocket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
53 except socket.error, msg:
/haiku/headers/os/
H A DNetKit.h10 #include <sys/socket.h>
/haiku/headers/os/drivers/pcmcia/
H A Dds.h175 int (*get_handle)(int socket, client_handle_t *handle);
/haiku/headers/os/net/
H A DAbstractSocket.h12 #include <sys/socket.h>
H A DNetAddress.h14 #include <sys/socket.h>
H A DNetEndpoint.h15 #include <sys/socket.h>
81 BNetEndpoint(const BNetEndpoint& other, int socket,
/haiku/headers/posix/net/
H A Droute.h9 #include <sys/socket.h>
/haiku/headers/posix/sys/
H A Dsocket.h53 #define SO_ACCEPTCONN 0x00000001 /* socket has had listen() */
71 #define SO_TYPE 0x40000008 /* get socket type */
73 #define SO_BINDTODEVICE 0x4000000a /* binds the socket to a specific device index */
81 #define SOMAXCONN 32 /* Max listen queue for a socket */
124 #define MSG_NOSIGNAL 0x0800 /* don't raise SIGPIPE if socket is closed */
165 int accept(int socket, struct sockaddr *address, socklen_t *_addressLength);
166 int bind(int socket, const struct sockaddr *address,
168 int connect(int socket, const struct sockaddr *address,
170 int getpeername(int socket, struct sockaddr *address,
172 int getsockname(int socket, struc
[all...]
H A Dun.h9 #include <sys/socket.h>
/haiku/headers/private/drivers/
H A Dksocket.h9 #include <sys/socket.h>
13 #define ksocket socket
35 /* Haiku now has kernel calls for those, no need for a socket module anymore. */
37 #define ksocket socket
59 /* BONE socket module */
63 #define ksocket (gSocket->socket)
64 //#define ksocket(_fam, _typ, _pro) ({int thesock; thesock = (gSocket->socket)(_fam, _typ, _pro); dprintf("ksocket(%d, %d, %d) = %d\n", _fam, _typ, _pro, thesock); thesock;})
/haiku/headers/private/firewire/
H A Dfirewire_module.h58 int (*get_handle)(int socket, struct firewire_softc **handle);
/haiku/headers/private/kernel/boot/net/
H A DRemoteDisk.h39 static status_t _SendRequest(UDPSocket *socket, ip_addr_t serverAddress,
H A DTCP.h123 status_t BindSocket(TCPSocket* socket);
124 void UnbindSocket(TCPSocket* socket);
H A DUDP.h93 status_t BindSocket(UDPSocket *socket, ip_addr_t address, uint16 port);
94 void UnbindSocket(UDPSocket *socket);
/haiku/headers/private/net/
H A DAddressUtilities.h15 #include <sys/socket.h>
H A DSocketMessenger.h20 // adopt an existing already connected socket.
21 BSocketMessenger(const BSocket& socket);
44 // wait for unsolicited message on socket
H A Dnet_buffer.h9 #include <sys/socket.h>
H A Dnet_stack.h141 status_t (*notify_socket)(net_socket* socket, uint8 event, int32 value);
154 net_socket* socket, uint8 event, net_buffer* buffer);
H A Dnet_stack_interface.h9 #include <sys/socket.h>
28 status_t (*close)(net_socket* socket);
29 status_t (*free)(net_socket* socket);
31 status_t (*bind)(net_socket* socket, const struct sockaddr* address,
33 status_t (*shutdown)(net_socket* socket, int how);
34 status_t (*connect)(net_socket* socket, const struct sockaddr* address,
36 status_t (*listen)(net_socket* socket, int backlog);
37 status_t (*accept)(net_socket* socket, struct sockaddr* address,
40 ssize_t (*recv)(net_socket* socket, void* data, size_t length, int flags);
41 ssize_t (*recvfrom)(net_socket* socket, voi
[all...]
H A Dnet_stat.h11 #include <sys/socket.h>
/haiku/src/add-ons/kernel/debugger/netconsole/
H A Dnetconsole.cpp13 #include <sys/socket.h>
25 gSocket = socket(AF_INET, SOCK_DGRAM, 0);
29 // bind socket
39 // set SO_BROADCAST on socket
/haiku/src/add-ons/kernel/drivers/bus/pcmcia/
H A Dds.c39 int32 socket = -1; local
45 socket = i;
50 if (socket < 0) {
54 if (get_handle(socket, (client_handle_t *)_cookie) != B_OK) {
/haiku/src/add-ons/kernel/drivers/disk/virtual/nbd/
H A Dnbd-server.py3 import struct, socket, sys
38 "Buffered socket wrapper; always returns the amount of data you want."
52 "Debugging socket wrapper."
84 "Decodes an NBD request off the TCP socket."
130 sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
131 sock.setsockopt(socket.SOL_SOCKET, socket
[all...]
/haiku/src/add-ons/kernel/drivers/disk/virtual/remote_disk/
H A DRemoteDisk.cpp15 #include <sys/socket.h>
131 // set SO_BROADCAST on socket
135 dprintf("RemoteDisk::Init(): Failed to set SO_BROADCAST on socket: "
150 // unset SO_BROADCAST on socket
154 dprintf("RemoteDisk::Init(): Failed to unset SO_BROADCAST on socket: "
296 // open a control socket for playing with the stack
297 fSocket = socket(AF_INET, SOCK_DGRAM, 0);
299 dprintf("RemoteDisk::Init(): Failed to open socket: %s\n",
304 // bind socket
310 dprintf("RemoteDisk::Init(): Failed to bind socket
[all...]

Completed in 97 milliseconds

1234567891011>>