Socket Option Name#

Macros#

#define
SO_DEBUG 0x0001

Enables recording of debugging information. This option is not supported in the current release.

#define
SO_ACCEPTCONN 0x0002

Indicates that the socket has had listen(). This option is not supported in the current release.

#define
SO_REUSEADDR 0x0004

Allows local address reuse. This option is not supported in the current release.

#define
SO_KEEPALIVE 0x0008

Keeps connections alive.

#define
SO_DONTROUTE 0x0010

Uses interface addresses only. This option is not supported in the current release.

#define
SO_BROADCAST 0x0020

Permits sending of broadcast messages. This option is not supported in the current release.

#define
SO_USELOOPBACK 0x0040

Bypasses hardware when possible. This option is not supported in the current release.

#define
SO_LINGER 0x0080

Lingers on close if data is present. This option is not supported in the current release.

#define
SO_OOBINLINE 0x0100

Leaves received out-of-band data in line. This option is not supported in the current release.

#define
SO_REUSEPORT 0x0200

Allows local address and port reuse. This option is not supported in the current release.

#define
SO_TIMESTAMP 0x0800

Timestamps received datagram traffic. This option is not supported in the current release.

#define
SO_BINDANY 0x1000

Allows binding to any address. This option is not supported in the current release.

#define
SO_ZEROIZE 0x2000

Zeroes out all mbufs sent over the socket. This option is not supported in the current release.

#define
SO_MAX_RETRANSMISSION_TIMEOUT_VALUE 0x3012

Configures max retransmission timeout value. The option value associated with this option name should be a power of 2 between 1 and 32.

#define
SO_SNDBUF 0x1001

Sets send buffer size.

#define
SO_RCVBUF 0x1002

Sets receive buffer size.

#define
SO_SNDLOWAT 0x1003

Sets send low-water mark. This option is not supported in the current release.

#define
SO_RCVLOWAT 0x1004

Sets receive low-water mark. This option is not supported in the current release.

#define
SO_SNDTIMEO 0x1005

Sets send timeout. This option is not supported in the current release.

#define
SO_RCVTIMEO 0x1006

Sets receive timeout.

#define
SO_ERROR 0x1007

Gets error status and clears.

#define
SO_TYPE 0x1008

Gets socket type.

#define
SO_NETPROC 0x1020

Multiplexes; network processing. This option is not supported in the current release.

#define
SO_RTABLE 0x1021

Sets routing table to be used. This option is not supported in the current release.

#define
SO_PEERCRED 0x1022

Gets connect-time credentials. This option is not supported in the current release.

#define
SO_SPLICE 0x1023

Splices data to another socket. This option is not supported in the current release.

#define
SO_DOMAIN 0x1024

Gets socket domain.

#define
SO_PROTOCOL 0x1025

Gets socket protocol.

#define
TCP_ULP 0x001f

Attach a ULP (Upper Layer Protocol) to a TCP connection.

#define
SL_SO_CERT_INDEX 0x1026

Sets certificate index for SSL socket.

#define
SL_SO_HIGH_PERFORMANCE_SOCKET 0x1027

Enables high-performance socket.

#define
SL_SO_TLS_SNI 0x1028

Passes SNI extension for SSL socket.

#define
SL_SO_TLS_ALPN 0x1029

Passes ALPN extension for SSL socket.

#define
SL_SO_MSS 0x102A

Sets the Maximum Segment Size (MSS) for a socket.

#define
SL_SO_SOCK_VAP_ID 0x102B

Sets the VAP ID for a socket.

#define
SL_SO_MAXRETRY 0x102C

Sets the maximum number of retries for a socket.