/haiku/headers/private/net/ |
H A D | net_socket.h | 22 typedef struct net_socket { struct 44 } net_socket; typedef in typeref:struct:net_socket 51 net_socket** _socket); 52 status_t (*close)(net_socket* socket); 53 void (*free)(net_socket* socket); 55 status_t (*control)(net_socket* socket, uint32 op, void* data, 58 ssize_t (*read_avail)(net_socket* socket); 59 ssize_t (*send_avail)(net_socket* socket); 61 status_t (*send_data)(net_socket* socket, net_buffer* buffer); 62 status_t (*receive_data)(net_socket* socke [all...] |
H A D | net_stack_interface.h | 20 struct net_socket; 27 status_t (*open)(int family, int type, int protocol, net_socket** _socket); 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, 38 socklen_t* _addressLength, net_socket** _acceptedSocke [all...] |
H A D | net_protocol.h | 10 #include <net_socket.h> 49 net_socket* socket; 61 net_protocol* (*init_protocol)(net_socket* socket); 69 status_t (*accept)(net_protocol* self, net_socket** _acceptedSocket);
|
H A D | ProtocolUtilities.h | 20 #include <net_socket.h> 50 ProtocolSocket(net_socket* socket); 76 net_socket* Socket() const { return fSocket; } 79 net_socket* fSocket; 85 ProtocolSocket::ProtocolSocket(net_socket* socket) 111 net_socket* socket); 164 net_socket* socket)
|
H A D | net_stack.h | 24 typedef struct net_socket net_socket; typedef in typeref:struct:net_socket 141 status_t (*notify_socket)(net_socket* socket, uint8 event, int32 value); 154 net_socket* socket, uint8 event, net_buffer* buffer);
|
/haiku/src/add-ons/kernel/network/stack/ |
H A D | stack_interface.cpp | 14 stack_interface_open(int family, int type, int protocol, net_socket** _socket) 21 stack_interface_close(net_socket* socket) 28 stack_interface_free(net_socket* socket) 36 stack_interface_bind(net_socket* socket, const struct sockaddr* address, 44 stack_interface_shutdown(net_socket* socket, int how) 51 stack_interface_connect(net_socket* socket, const struct sockaddr* address, 59 stack_interface_listen(net_socket* socket, int backlog) 66 stack_interface_accept(net_socket* socket, struct sockaddr* address, 67 socklen_t* _addressLength, net_socket** _acceptedSocket) 75 stack_interface_recv(net_socket* socke [all...] |
H A D | stack_private.h | 16 #include <net_socket.h> 39 status_t get_domain_protocols(net_socket* socket); 40 status_t put_domain_protocols(net_socket* socket);
|
H A D | net_socket.cpp | 51 struct net_socket_private : net_socket, 74 int socket_bind(net_socket* socket, const struct sockaddr* address, 76 int socket_setsockopt(net_socket* socket, int level, int option, 78 ssize_t socket_read_avail(net_socket* socket); 117 TRACE("delete net_socket %p\n", this); 187 TRACE("create net_socket %p (%u.%u.%u):\n", socket, socket->family, 202 add_ancillary_data(net_socket* socket, ancillary_data_container* container, 233 process_ancillary_data(net_socket* socket, ancillary_data_container* container, 267 process_ancillary_data(net_socket* socket, 293 socket_receive_no_buffer(net_socket* socke [all...] |
H A D | utility.h | 52 status_t notify_socket(net_socket* socket, uint8 event, int32 value); 61 status_t fifo_socket_enqueue_buffer(net_fifo* fifo, net_socket* socket,
|
H A D | link.cpp | 47 LinkProtocol(net_socket* socket); 84 LinkProtocol::LinkProtocol(net_socket* socket) 298 link_init_protocol(net_socket* socket) 347 link_accept(net_protocol* protocol, struct net_socket** _acceptedSocket)
|
H A D | utility.cpp | 145 notify_socket(net_socket* socket, uint8 event, int32 value) 302 fifo_socket_enqueue_buffer(net_fifo* fifo, net_socket* socket, uint8 event,
|
/haiku/src/add-ons/kernel/network/protocols/unix/ |
H A D | UnixEndpoint.h | 10 #include <net_socket.h> 54 virtual status_t Accept(net_socket** _acceptedSocket) = 0; 73 static status_t Create(net_socket* socket, UnixEndpoint** _endpoint); 76 UnixEndpoint(net_socket* socket);
|
H A D | UnixDatagramEndpoint.h | 19 UnixDatagramEndpoint(net_socket* socket); 33 status_t Accept(net_socket** _acceptedSocket) override;
|
H A D | UnixStreamEndpoint.h | 35 UnixStreamEndpoint(net_socket* socket); 49 status_t Accept(net_socket** _acceptedSocket) override;
|
H A D | UnixEndpoint.cpp | 24 UnixEndpoint::Create(net_socket* socket, UnixEndpoint** _endpoint) 47 UnixEndpoint::UnixEndpoint(net_socket* socket)
|
H A D | unix.cpp | 21 #include <net_socket.h> 66 unix_init_protocol(net_socket *socket) 125 unix_accept(net_protocol *_protocol, struct net_socket **_acceptedSocket)
|
H A D | UnixStreamEndpoint.cpp | 31 UnixStreamEndpoint::UnixStreamEndpoint(net_socket* socket) 295 net_socket* newSocket; 339 UnixStreamEndpoint::Accept(net_socket** _acceptedSocket)
|
/haiku/src/add-ons/kernel/network/protocols/l2cap/ |
H A D | L2capEndpoint.h | 15 #include <net_socket.h> 27 L2capEndpoint(net_socket* socket); 39 status_t Accept(net_socket** _acceptedSocket);
|
H A D | l2cap.cpp | 40 l2cap_init_protocol(net_socket* socket) 93 l2cap_accept(net_protocol* protocol, struct net_socket** _acceptedSocket)
|
H A D | L2capEndpoint.cpp | 53 L2capEndpoint::L2capEndpoint(net_socket* socket) 344 L2capEndpoint::Accept(net_socket** _acceptedSocket) 560 net_socket* newSocket;
|
/haiku/src/tests/system/network/tcp_shell/ |
H A D | tcp_shell.cpp | 20 #include <net_socket.h> 62 struct net_socket_private : net_socket, 64 struct net_socket *parent; 94 struct net_socket *gServerSocket, *gClientSocket; 271 socket_create(int family, int type, int protocol, net_socket **_socket) 279 memset(socket, 0, sizeof(net_socket)); 318 socket_delete(net_socket *_socket) 332 socket_accept(net_socket *socket, struct sockaddr *address, 333 socklen_t *_addressLength, net_socket **_acceptedSocket) 335 net_socket *accepte [all...] |
/haiku/headers/private/kernel/fs/ |
H A D | fd.h | 21 struct net_socket; 57 struct net_socket *socket;
|
/haiku/src/add-ons/kernel/network/protocols/icmp6/ |
H A D | icmp6.cpp | 43 icmp6_init_protocol(net_socket *socket) 90 icmp6_accept(net_protocol *protocol, struct net_socket **_acceptedSocket)
|
/haiku/src/add-ons/kernel/network/protocols/tcp/ |
H A D | TCPEndpoint.h | 31 TCPEndpoint(net_socket* socket); 40 status_t Accept(struct net_socket** _acceptedSocket);
|
/haiku/src/add-ons/kernel/network/protocols/icmp/ |
H A D | icmp.cpp | 254 icmp_init_protocol(net_socket* socket) 301 icmp_accept(net_protocol* protocol, struct net_socket** _acceptedSocket)
|