Searched refs:getsockopt (Results 1 - 22 of 22) sorted by relevance

/haiku/src/tests/system/network/sock/
H A Dbuffers.c39 if (getsockopt(sockfd, SOL_SOCKET, SO_RCVBUF, &n, &optlen) < 0)
40 err_sys("SO_RCVBUF getsockopt error");
53 if (getsockopt(sockfd, SOL_SOCKET, SO_SNDBUF, &n, &optlen) < 0)
54 err_sys("SO_SNDBUF getsockopt error");
H A Dsockopts.c55 if (getsockopt(sockfd, SOL_SOCKET, SO_DEBUG,
57 err_sys("SO_DEBUG getsockopt error");
73 if (getsockopt(sockfd, SOL_SOCKET, SO_DONTROUTE,
75 err_sys("SO_DONTROUTE getsockopt error");
91 if (getsockopt(sockfd, IPPROTO_IP, IP_TOS,
93 err_sys("IP_TOS getsockopt error");
110 if (getsockopt(sockfd, IPPROTO_IP, IP_TTL,
112 err_sys("IP_TTL getsockopt error");
131 if (getsockopt(sockfd, IPPROTO_TCP, TCP_MAXSEG,
133 err_sys("TCP_MAXSEG getsockopt erro
[all...]
H A Dsourceudp.c33 /* also call getsockopt() to clear so_error */
35 if (getsockopt(sockfd, SOL_SOCKET, SO_ERROR,
37 err_sys("SO_ERROR getsockopt error");
47 /* also call getsockopt() to clear so_error */
49 if (getsockopt(sockfd, SOL_SOCKET, SO_ERROR,
51 err_sys("SO_ERROR getsockopt error");
H A Dsourcetcp.c39 /* also call getsockopt() to clear so_error */
41 if (getsockopt(sockfd, SOL_SOCKET, SO_ERROR,
43 err_sys("SO_ERROR getsockopt error");
/haiku/headers/private/net/
H A Dnet_stack_interface.h54 status_t (*getsockopt)(net_socket* socket, int level, int option, member in struct:net_stack_interface_module_info
H A Dnet_protocol.h72 status_t (*getsockopt)(net_protocol* self, int level, int option, member in struct:net_protocol_module_info
H A Dnet_socket.h108 int (*getsockopt)(net_socket* socket, int level, int option, member in struct:net_socket_module_info
/haiku/src/add-ons/kernel/network/protocols/icmp6/
H A Dicmp6.cpp109 return protocol->next->module->getsockopt(protocol->next, level, option,
/haiku/src/add-ons/kernel/network/stack/
H A Dstack_interface.cpp169 status_t error = gNetSocketModule.getsockopt(socket, level, option, value,
H A Dlink.cpp520 return protocol->next->module->getsockopt(protocol, level, option,
H A Dnet_socket.cpp1208 return socket->first_protocol->module->getsockopt(socket->first_protocol,
/haiku/headers/posix/sys/
H A Dsocket.h174 int getsockopt(int socket, int level, int option, void *value,
/haiku/src/kits/network/libnetapi/
H A DAbstractSocket.cpp139 if (getsockopt(fSocket, SOL_SOCKET, SO_SNDTIMEO, &tv, &size) != 0)
/haiku/src/add-ons/media/media-add-ons/esound_sink/
H A DESDEndpoint.cpp209 if (getsockopt(fSocket, SOL_SOCKET, SO_RCVTIMEO, (char *)&oldTimeout, &oldTimeoutLen) >= 0) {
288 getsockopt(fSocket, SOL_SOCKET, SO_SNDBUF, &flag, &len);
/haiku/src/system/libnetwork/
H A Dsocket.cpp314 getsockopt(int socket, int level, int option, void *value, socklen_t *_length) function
/haiku/src/system/kernel/fs/
H A Dsocket.cpp346 status_t error = sStackInterface->getsockopt(socket, SOL_SOCKET,
555 return sStackInterface->getsockopt(descriptor->u.socket, level, option,
759 getsockopt(int socket, int level, int option, void *value, socklen_t *_length) function
1129 // getsockopt()
/haiku/src/add-ons/kernel/network/protocols/icmp/
H A Dicmp.cpp320 return protocol->next->module->getsockopt(protocol->next, level, option,
/haiku/src/system/libnetwork/netresolv/isc/
H A Dev_connects.c345 getsockopt(conn->fd, SOL_SOCKET, SO_ERROR, (char *)&socket_errno,
/haiku/src/system/libnetwork/netresolv/
H A Dport_after.h510 int getsockopt(int, int, int, char *, int *);
/haiku/src/add-ons/kernel/network/protocols/tcp/
H A Dtcp.cpp541 return protocol->next->module->getsockopt(protocol->next, level, option,
/haiku/src/bin/network/ping/
H A Dping.c440 if (getsockopt(s, SOL_SOCKET, SO_SNDBUF, &maxsize, &maxsizelen) < 0)
441 err(1, "getsockopt");
/haiku/src/add-ons/kernel/network/protocols/udp/
H A Dudp.cpp1179 return protocol->next->module->getsockopt(protocol->next, level, option,

Completed in 378 milliseconds