Searched refs:socket (Results 226 - 250 of 534) sorted by relevance

1234567891011>>

/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/
H A Dif_rtwn_task.c27 #include <sys/socket.h>
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8812a/
H A Dr12a_caps.c38 #include <sys/socket.h>
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/pci/
H A Drtwn_pci_reg.c29 #include <sys/socket.h>
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8192c/pci/
H A Dr92ce_tx.c31 #include <sys/socket.h>
H A Dr92ce_rx.c31 #include <sys/socket.h>
/haiku/src/libs/compat/openbsd_wlan/net80211/
H A Dieee80211_amrr.c23 #include <sys/socket.h>
/haiku/src/servers/net/
H A DNetServer.cpp27 #include <sys/socket.h>
120 FileDescriptorCloser socket(::socket(AF_INET, SOCK_DGRAM, 0));
121 if (!socket.IsSet())
131 if (ioctl(socket.Get(), SIOCS80211, &ireq, sizeof(struct ieee80211req))
313 int socket = ::socket(family, SOCK_DGRAM, 0); local
314 if (socket < 0)
317 close(socket);
775 // we need a socket t
[all...]
/haiku/headers/private/kernel/fs/
H A Dfd.h57 struct net_socket *socket; member in union:file_descriptor::__anon24
/haiku/src/system/libnetwork/netresolv/net/
H A Dgetnetent.c52 #include <sys/socket.h>
/haiku/src/add-ons/kernel/network/stack/
H A Dutility.cpp145 notify_socket(net_socket* socket, uint8 event, int32 value) argument
147 return gNetSocketModule.notify(socket, event, value);
220 socket is O_NONBLOCK, you should specify this flag. A \a timeout of
302 fifo_socket_enqueue_buffer(net_fifo* fifo, net_socket* socket, uint8 event, argument
315 notify_socket(socket, event, fifo->current_bytes);
/haiku/src/add-ons/kernel/network/protocols/tcp/
H A DEndpointManager.cpp291 // socket to connect to a different remote (address, port) than it was
310 // if the socket is unbound first bind it to ephemeral
340 if (gSocketModule->acquire_socket(endpoint->socket))
353 if (gSocketModule->acquire_socket(endpoint->socket))
365 if (gSocketModule->acquire_socket(endpoint->socket))
451 if ((endpoint->socket->options & SO_REUSEADDR) == 0)
/haiku/src/add-ons/kernel/network/protocols/l2cap/
H A DL2capEndpoint.h27 L2capEndpoint(net_socket* socket);
/haiku/src/add-ons/kernel/network/protocols/udp/
H A Dudp.cpp80 UdpEndpoint(net_socket* socket);
102 // we don't really need to protect it with the socket lock.
311 // Forward the error to the socket
518 while (endpoint != NULL && endpoint->socket->bound_to_device != 0
519 && index != 0 && endpoint->socket->bound_to_device != index) {
550 if (endpoint->socket->bound_to_device != 0
551 && buffer->index != endpoint->socket->bound_to_device)
939 UdpEndpoint::UdpEndpoint(net_socket *socket) argument
941 DatagramSocket<>("udp endpoint", socket),
1131 udp_init_protocol(net_socket *socket) argument
[all...]
/haiku/headers/private/net/
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_buffer.h9 #include <sys/socket.h>
/haiku/src/tests/system/network/
H A Dudp_echo.c18 #include <sys/socket.h>
189 sockFD = socket(AF_INET, SOCK_DGRAM, 0);
/haiku/src/tests/kits/net/service/
H A DTestServer.cpp15 #include <sys/socket.h>
69 // Create socket with port 0 to get an unused one selected by the
71 int socket_fd = ::socket(AF_INET, SOCK_STREAM, 0);
75 "ERROR: Unable to create socket: %s\n",
83 // We may quickly reclaim the same socket between test runs, so allow
97 "ERROR: Unable to set socket options on fd %d: %s\n",
129 // Now get the port from the socket.
258 // Since the socket has already been created above, the tests will not
304 // Since the socket has already been created above, the tests will not
/haiku/src/tests/kits/net/netservices2/
H A DTestServer.cpp15 #include <sys/socket.h>
73 // Create socket with port 0 to get an unused one selected by the
75 int socket_fd = ::socket(AF_INET, SOCK_STREAM, 0);
77 fprintf(stderr, "ERROR: Unable to create socket: %s\n", strerror(errno));
84 // We may quickly reclaim the same socket between test runs, so allow
91 fprintf(stderr, "ERROR: Unable to set socket options on fd %d: %s\n", socket_fd,
117 // Now get the port from the socket.
249 // Since the socket has already been created above, the tests will not
303 // Since the socket has already been created above, the tests will not
/haiku/src/bin/network/ifconfig/
H A Difconfig.cpp700 int socket = ::socket(family, SOCK_DGRAM, 0); local
701 if (socket < 0) {
706 close(socket);
951 int socket = ::socket(AF_LINK, SOCK_DGRAM, 0); local
952 if (socket < 0) {
957 close(socket);
/haiku/src/tools/remote_disk_server/
H A Dremote_disk_server.cpp15 #include <sys/socket.h>
85 fprintf(stderr, "Error: Failed to read from socket: %s.\n",
156 // create a socket
157 fSocket = socket(AF_INET, SOCK_DGRAM, 0);
159 fprintf(stderr, "Error: Failed to create a socket: %s.",
170 fprintf(stderr, "Error: Failed to bind socket to port %hu: %s\n",
/haiku/src/add-ons/kernel/network/protocols/ipv6/
H A Dipv6.cpp154 RawSocket(net_socket* socket);
273 RawSocket::RawSocket(net_socket* socket) argument
275 DatagramSocket<>("ipv6 raw socket", socket)
966 ipv6_init_protocol(net_socket* socket) argument
994 it means we are on a SOCK_RAW socket.
1001 RawSocket* raw = new (std::nothrow) RawSocket(protocol->socket);
1059 memcpy(&protocol->socket->peer, address, sizeof(struct sockaddr_in6));
1060 sSocketModule->set_connected(protocol->socket);
1115 return sSocketModule->get_option(protocol->socket, leve
[all...]
/haiku/src/add-ons/kernel/file_systems/netfs/server/
H A DNetFSServer.cpp10 # include <socket.h>
14 # include <sys/socket.h>
128 ServerInfoSender(int socket, const ServerInfo& serverInfo) argument
130 fChannel(new(std::nothrow) InsecureChannel(socket)),
134 closesocket(socket);
1067 // create a listener socket
1068 fServerInfoConnectionListenerSocket = socket(AF_INET, SOCK_STREAM, 0);
1090 // close the socket
1170 // create the socket
1171 fBroadcastingSocket = socket(AF_INE
[all...]
/haiku/headers/os/drivers/pcmcia/
H A Dds.h175 int (*get_handle)(int socket, client_handle_t *handle);
/haiku/src/bin/network/telnet/
H A Dmain.c43 #include <sys/socket.h>
/haiku/src/bin/network/telnetd/
H A Ddefs.h57 #include <sys/socket.h>

Completed in 237 milliseconds

1234567891011>>