Socket Option Name#
Macros#
Enables recording of debugging information. This option is not supported in the current release.
Indicates that the socket has had listen(). This option is not supported in the current release.
Allows local address reuse. This option is not supported in the current release.
Keeps connections alive.
Uses interface addresses only. This option is not supported in the current release.
Permits sending of broadcast messages. This option is not supported in the current release.
Bypasses hardware when possible. This option is not supported in the current release.
Lingers on close if data is present. This option is not supported in the current release.
Leaves received out-of-band data in line. This option is not supported in the current release.
Allows local address and port reuse. This option is not supported in the current release.
Timestamps received datagram traffic. This option is not supported in the current release.
Allows binding to any address. This option is not supported in the current release.
Zeroes out all mbufs sent over the socket. This option is not supported in the current release.
Configures max retransmission timeout value. The option value associated with this option name should be a power of 2 between 1 and 128.
Sets send buffer size.
Sets receive buffer size.
Sets send low-water mark. This option is not supported in the current release.
Sets receive low-water mark. This option is not supported in the current release.
Sets send timeout. This option is not supported in the current release.
Sets receive timeout.
Gets error status and clears.
Gets socket type.
Multiplexes; network processing. This option is not supported in the current release.
Sets routing table to be used. This option is not supported in the current release.
Gets connect-time credentials. This option is not supported in the current release.
Splices data to another socket. This option is not supported in the current release.
Gets socket domain.
Gets socket protocol.
Attach a ULP (Upper Layer Protocol) to a TCP connection.
Sets certificate index for SSL socket.
Enables high-performance socket.
Passes SNI extension for SSL socket.
Passes ALPN extension for SSL socket.
Sets the Maximum Segment Size (MSS) for a socket.
Sets the VAP ID for a socket.
Sets the maximum number of retries for a socket.
Sets expected domain name for TLS certificate verification.
Macro Definition Documentation#
SO_DEBUG#
#define SO_DEBUGValue:
0x0001
Enables recording of debugging information. This option is not supported in the current release.
SO_ACCEPTCONN#
#define SO_ACCEPTCONNValue:
0x0002
Indicates that the socket has had listen(). This option is not supported in the current release.
SO_REUSEADDR#
#define SO_REUSEADDRValue:
0x0004
Allows local address reuse. This option is not supported in the current release.
SO_DONTROUTE#
#define SO_DONTROUTEValue:
0x0010
Uses interface addresses only. This option is not supported in the current release.
SO_BROADCAST#
#define SO_BROADCASTValue:
0x0020
Permits sending of broadcast messages. This option is not supported in the current release.
SO_USELOOPBACK#
#define SO_USELOOPBACKValue:
0x0040
Bypasses hardware when possible. This option is not supported in the current release.
SO_LINGER#
#define SO_LINGERValue:
0x0080
Lingers on close if data is present. This option is not supported in the current release.
SO_OOBINLINE#
#define SO_OOBINLINEValue:
0x0100
Leaves received out-of-band data in line. This option is not supported in the current release.
SO_REUSEPORT#
#define SO_REUSEPORTValue:
0x0200
Allows local address and port reuse. This option is not supported in the current release.
SO_TIMESTAMP#
#define SO_TIMESTAMPValue:
0x0800
Timestamps received datagram traffic. This option is not supported in the current release.
SO_BINDANY#
#define SO_BINDANYValue:
0x1000
Allows binding to any address. This option is not supported in the current release.
SO_ZEROIZE#
#define SO_ZEROIZEValue:
0x2000
Zeroes out all mbufs sent over the socket. This option is not supported in the current release.
SO_MAX_RETRANSMISSION_TIMEOUT_VALUE#
#define SO_MAX_RETRANSMISSION_TIMEOUT_VALUEValue:
0x3012
Configures max retransmission timeout value. The option value associated with this option name should be a power of 2 between 1 and 128.
SO_SNDLOWAT#
#define SO_SNDLOWATValue:
0x1003
Sets send low-water mark. This option is not supported in the current release.
SO_RCVLOWAT#
#define SO_RCVLOWATValue:
0x1004
Sets receive low-water mark. This option is not supported in the current release.
SO_SNDTIMEO#
#define SO_SNDTIMEOValue:
0x1005
Sets send timeout. This option is not supported in the current release.
SO_NETPROC#
#define SO_NETPROCValue:
0x1020
Multiplexes; network processing. This option is not supported in the current release.
SO_RTABLE#
#define SO_RTABLEValue:
0x1021
Sets routing table to be used. This option is not supported in the current release.
SO_PEERCRED#
#define SO_PEERCREDValue:
0x1022
Gets connect-time credentials. This option is not supported in the current release.
SO_SPLICE#
#define SO_SPLICEValue:
0x1023
Splices data to another socket. This option is not supported in the current release.
SL_SO_HIGH_PERFORMANCE_SOCKET#
#define SL_SO_HIGH_PERFORMANCE_SOCKETValue:
0x1027
Enables high-performance socket.
SL_SO_VERIFY_DOMAIN_NAME#
#define SL_SO_VERIFY_DOMAIN_NAMEValue:
0x102D
Sets expected domain name for TLS certificate verification.