/haiku/headers/private/net/ |
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);
|
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 | 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_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 | 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...] |
/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)
|
/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 | 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,
|
/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/ipv4/ |
H A D | ipv4.cpp | 137 RawSocket(net_socket* socket); 233 RawSocket::RawSocket(net_socket* socket) 1066 ipv4_init_protocol(net_socket* socket) 1172 ipv4_accept(net_protocol* protocol, struct net_socket** _acceptedSocket)
|
/haiku/src/add-ons/kernel/network/protocols/ipv6/ |
H A D | ipv6.cpp | 154 RawSocket(net_socket* socket); 273 RawSocket::RawSocket(net_socket* socket) 966 ipv6_init_protocol(net_socket* socket) 1067 ipv6_accept(net_protocol* protocol, struct net_socket** _acceptedSocket)
|
/haiku/src/add-ons/kernel/network/protocols/l2cap/ |
H A D | L2capEndpoint.cpp | 53 L2capEndpoint::L2capEndpoint(net_socket* socket) 344 L2capEndpoint::Accept(net_socket** _acceptedSocket) 560 net_socket* newSocket;
|
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)
|
/haiku/src/add-ons/kernel/network/protocols/tcp/ |
H A D | TCPEndpoint.cpp | 419 TCPEndpoint::TCPEndpoint(net_socket* socket) 684 TCPEndpoint::Accept(struct net_socket** _acceptedSocket) 1531 net_socket* newSocket;
|
H A D | TCPEndpoint.h | 31 TCPEndpoint(net_socket* socket); 40 status_t Accept(struct net_socket** _acceptedSocket);
|
H A D | tcp.cpp | 477 tcp_init_protocol(net_socket* socket) 533 tcp_accept(net_protocol* protocol, struct net_socket** _acceptedSocket)
|
H A D | tcp.h | 16 #include <net_socket.h>
|
/haiku/src/add-ons/kernel/network/protocols/udp/ |
H A D | udp.cpp | 80 UdpEndpoint(net_socket* socket); 939 UdpEndpoint::UdpEndpoint(net_socket *socket) 1131 udp_init_protocol(net_socket *socket) 1182 udp_accept(net_protocol *protocol, struct net_socket **_acceptedSocket)
|
/haiku/src/add-ons/kernel/network/protocols/unix/ |
H A D | UnixDatagramEndpoint.cpp | 24 UnixDatagramEndpoint::UnixDatagramEndpoint(net_socket* socket) 201 UnixDatagramEndpoint::Accept(net_socket** _acceptedSocket)
|
H A D | UnixDatagramEndpoint.h | 19 UnixDatagramEndpoint(net_socket* socket); 33 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 | 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 | UnixStreamEndpoint.cpp | 31 UnixStreamEndpoint::UnixStreamEndpoint(net_socket* socket) 295 net_socket* newSocket; 339 UnixStreamEndpoint::Accept(net_socket** _acceptedSocket)
|