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