Searched refs:net_socket (Results 1 - 25 of 34) sorted by path

12

/haiku/headers/private/net/
H A Dnet_stack.h24 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 Dnet_stack_interface.h20 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 DProtocolUtilities.h20 #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 Dnet_protocol.h10 #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 Dnet_socket.h22 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 Dicmp.cpp254 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 Dstack_interface.cpp14 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 Dutility.h52 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 Dfd.h21 struct net_socket;
57 struct net_socket *socket;
/haiku/src/add-ons/kernel/network/protocols/icmp6/
H A Dicmp6.cpp43 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 Dipv4.cpp137 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 Dipv6.cpp154 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 DL2capEndpoint.cpp53 L2capEndpoint::L2capEndpoint(net_socket* socket)
344 L2capEndpoint::Accept(net_socket** _acceptedSocket)
560 net_socket* newSocket;
H A DL2capEndpoint.h15 #include <net_socket.h>
27 L2capEndpoint(net_socket* socket);
39 status_t Accept(net_socket** _acceptedSocket);
H A Dl2cap.cpp40 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 DTCPEndpoint.cpp419 TCPEndpoint::TCPEndpoint(net_socket* socket)
684 TCPEndpoint::Accept(struct net_socket** _acceptedSocket)
1531 net_socket* newSocket;
H A DTCPEndpoint.h31 TCPEndpoint(net_socket* socket);
40 status_t Accept(struct net_socket** _acceptedSocket);
H A Dtcp.cpp477 tcp_init_protocol(net_socket* socket)
533 tcp_accept(net_protocol* protocol, struct net_socket** _acceptedSocket)
H A Dtcp.h16 #include <net_socket.h>
/haiku/src/add-ons/kernel/network/protocols/udp/
H A Dudp.cpp80 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 DUnixDatagramEndpoint.cpp24 UnixDatagramEndpoint::UnixDatagramEndpoint(net_socket* socket)
201 UnixDatagramEndpoint::Accept(net_socket** _acceptedSocket)
H A DUnixDatagramEndpoint.h19 UnixDatagramEndpoint(net_socket* socket);
33 status_t Accept(net_socket** _acceptedSocket) override;
H A DUnixEndpoint.cpp24 UnixEndpoint::Create(net_socket* socket, UnixEndpoint** _endpoint)
47 UnixEndpoint::UnixEndpoint(net_socket* socket)
H A DUnixEndpoint.h10 #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 DUnixStreamEndpoint.cpp31 UnixStreamEndpoint::UnixStreamEndpoint(net_socket* socket)
295 net_socket* newSocket;
339 UnixStreamEndpoint::Accept(net_socket** _acceptedSocket)

Completed in 103 milliseconds

12