sysdecode_sockopt_name3
Lookup name of socket option
Usage
#include <sysdecode.h>
const char *
sysdecode_sockopt_name(int level, int optname);
Library
library “libsysdecode”
Overview
The sysdecode_sockopt_name() function returns a text description of the socket option name passed in the optname argument to getsockopt(2). sysdecode_sockopt_name() takes the socket option level as well as the option name to uniquely identify the option.
Releases
24 releases since FreeBSD 11.1-RELEASE; the text changed 11 times.