/haiku/build/scripts/ |
H A D | bootstrap_client.py | 10 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 D | bootstrap_daemon.py | 3 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 D | NetKit.h | 10 #include <sys/socket.h>
|
/haiku/headers/os/drivers/pcmcia/ |
H A D | ds.h | 175 int (*get_handle)(int socket, client_handle_t *handle);
|
/haiku/headers/os/net/ |
H A D | AbstractSocket.h | 12 #include <sys/socket.h>
|
H A D | NetAddress.h | 14 #include <sys/socket.h>
|
H A D | NetEndpoint.h | 15 #include <sys/socket.h> 81 BNetEndpoint(const BNetEndpoint& other, int socket,
|
/haiku/headers/posix/net/ |
H A D | route.h | 9 #include <sys/socket.h>
|
/haiku/headers/posix/sys/ |
H A D | socket.h | 53 #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 D | un.h | 9 #include <sys/socket.h>
|
/haiku/headers/private/drivers/ |
H A D | ksocket.h | 9 #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 D | firewire_module.h | 58 int (*get_handle)(int socket, struct firewire_softc **handle);
|
/haiku/headers/private/kernel/boot/net/ |
H A D | RemoteDisk.h | 39 static status_t _SendRequest(UDPSocket *socket, ip_addr_t serverAddress,
|
H A D | TCP.h | 123 status_t BindSocket(TCPSocket* socket); 124 void UnbindSocket(TCPSocket* socket);
|
H A D | UDP.h | 93 status_t BindSocket(UDPSocket *socket, ip_addr_t address, uint16 port); 94 void UnbindSocket(UDPSocket *socket);
|
/haiku/headers/private/net/ |
H A D | AddressUtilities.h | 15 #include <sys/socket.h>
|
H A D | SocketMessenger.h | 20 // adopt an existing already connected socket. 21 BSocketMessenger(const BSocket& socket); 44 // wait for unsolicited message on socket
|
H A D | net_buffer.h | 9 #include <sys/socket.h>
|
H A D | net_stack.h | 141 status_t (*notify_socket)(net_socket* socket, uint8 event, int32 value); 154 net_socket* socket, uint8 event, net_buffer* buffer);
|
H A D | net_stack_interface.h | 9 #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 D | net_stat.h | 11 #include <sys/socket.h>
|
/haiku/src/add-ons/kernel/debugger/netconsole/ |
H A D | netconsole.cpp | 13 #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 D | ds.c | 39 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 D | nbd-server.py | 3 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 D | RemoteDisk.cpp | 15 #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...] |