31#ifndef _BSD_SOCKET_OPTIONS_H
32#define _BSD_SOCKET_OPTIONS_H
44int_t socketSetSoReuseAddrOption(Socket *socket,
const int_t *optval,
47int_t socketSetSoBroadcastOption(Socket *socket,
const int_t *optval,
50int_t socketSetSoSndTimeoOption(Socket *socket,
const struct timeval *optval,
53int_t socketSetSoRcvTimeoOption(Socket *socket,
const struct timeval *optval,
56int_t socketSetSoSndBufOption(Socket *socket,
const int_t *optval,
59int_t socketSetSoRcvBufOption(Socket *socket,
const int_t *optval,
62int_t socketSetSoKeepAliveOption(Socket *socket,
const int_t *optval,
65int_t socketSetIpTosOption(Socket *socket,
const int_t *optval,
68int_t socketSetIpTtlOption(Socket *socket,
const int_t *optval,
71int_t socketSetIpMulticastIfOption(Socket *socket,
74int_t socketSetIpMulticastTtlOption(Socket *socket,
const int_t *optval,
77int_t socketSetIpMulticastLoopOption(Socket *socket,
const int_t *optval,
80int_t socketSetIpAddMembershipOption(Socket *socket,
83int_t socketSetIpDropMembershipOption(Socket *socket,
86int_t socketSetIpPktInfoOption(Socket *socket,
const int_t *optval,
89int_t socketSetIpRecvTosOption(Socket *socket,
const int_t *optval,
92int_t socketSetIpRecvTtlOption(Socket *socket,
const int_t *optval,
95int_t socketSetIpv6TrafficClassOption(Socket *socket,
const int_t *optval,
98int_t socketSetIpv6UnicastHopsOption(Socket *socket,
const int_t *optval,
101int_t socketSetIpv6MulticastIfOption(Socket *socket,
104int_t socketSetIpv6MulticastHopsOption(Socket *socket,
const int_t *optval,
107int_t socketSetIpv6MulticastLoopOption(Socket *socket,
const int_t *optval,
110int_t socketSetIpv6AddMembershipOption(Socket *socket,
113int_t socketSetIpv6DropMembershipOption(Socket *socket,
116int_t socketSetIpv6OnlyOption(Socket *socket,
const int_t *optval,
119int_t socketSetIpv6PktInfoOption(Socket *socket,
const int_t *optval,
122int_t socketSetIpv6RecvTrafficClassOption(Socket *socket,
const int_t *optval,
125int_t socketSetIpv6RecvHopLimitOption(Socket *socket,
const int_t *optval,
128int_t socketSetTcpNoDelayOption(Socket *socket,
const int_t *optval,
131int_t socketSetTcpMaxSegOption(Socket *socket,
const int_t *optval,
134int_t socketSetTcpKeepIdleOption(Socket *socket,
const int_t *optval,
137int_t socketSetTcpKeepIntvlOption(Socket *socket,
const int_t *optval,
140int_t socketSetTcpKeepCntOption(Socket *socket,
const int_t *optval,
143int_t socketGetSoReuseAddrOption(Socket *socket, int_t *optval,
146int_t socketGetSoBroadcastOption(Socket *socket, int_t *optval,
149int_t socketGetSoSndTimeoOption(Socket *socket,
struct timeval *optval,
152int_t socketGetSoRcvTimeoOption(Socket *socket,
struct timeval *optval,
155int_t socketGetSoSndBufOption(Socket *socket, int_t *optval,
158int_t socketGetSoRcvBufOption(Socket *socket, int_t *optval,
161int_t socketGetSoKeepAliveOption(Socket *socket, int_t *optval,
164int_t socketGetSoErrorOption(Socket *socket, int_t *optval,
167int_t socketGetIpTosOption(Socket *socket, int_t *optval,
170int_t socketGetIpTtlOption(Socket *socket, int_t *optval,
173int_t socketGetIpMulticastTtlOption(Socket *socket, int_t *optval,
176int_t socketGetIpMulticastLoopOption(Socket *socket, int_t *optval,
179int_t socketGetIpPktInfoOption(Socket *socket, int_t *optval,
182int_t socketGetIpRecvTosOption(Socket *socket, int_t *optval,
185int_t socketGetIpRecvTtlOption(Socket *socket, int_t *optval,
188int_t socketGetIpv6TrafficClassOption(Socket *socket, int_t *optval,
191int_t socketGetIpv6UnicastHopsOption(Socket *socket, int_t *optval,
194int_t socketGetIpv6MulticastHopsOption(Socket *socket, int_t *optval,
197int_t socketGetIpv6MulticastLoopOption(Socket *socket, int_t *optval,
200int_t socketGetIpv6OnlyOption(Socket *socket, int_t *optval,
203int_t socketGetIpv6PktInfoOption(Socket *socket, int_t *optval,
206int_t socketGetIpv6RecvTrafficClassOption(Socket *socket, int_t *optval,
209int_t socketGetIpv6RecvHopLimitOption(Socket *socket, int_t *optval,
212int_t socketGetTcpNoDelayOption(Socket *socket, int_t *optval,
215int_t socketGetTcpMaxSegOption(Socket *socket, int_t *optval,
218int_t socketGetTcpKeepIdleOption(Socket *socket, int_t *optval,
221int_t socketGetTcpKeepIntvlOption(Socket *socket, int_t *optval,
224int_t socketGetTcpKeepCntOption(Socket *socket, int_t *optval,
int_t socklen_t
Length type.
Definition bsd_socket.h:279
Structure that represents an IPv4 address.
Definition bsd_socket.h:316
Multicast group information for IPv4 addresses.
Definition bsd_socket.h:363
Multicast group information for IPv6 addresses.
Definition bsd_socket.h:374
Timeout structure.
Definition bsd_socket.h:499