Print this page
Clearview IPMP manpages
@@ -23,18 +23,21 @@
options associated with a socket. Options may exist at mul-
tiple protocol levels; they are always present at the upper-
most "socket" level.
- When manipulating socket options, the level at which the
- option resides and the name of the option must be specified.
- To manipulate options at the "socket" level, level is speci-
- fied as SOL_SOCKET. To manipulate options at any other
- level, level is the protocol number of the protocol that
- controls the option. For example, to indicate that an option
- is to be interpreted by the TCP protocol, level is set to
- the TCP protocol number. See getprotobyname(3SOCKET).
+ The *level* argument specifies the protocol level at which
+ the option resides. To manipulate options at the socket
+ level, specify the *level* argument as *SOL_SOCKET*. To
+ manipulate options at the protocol level, supply the
+ appropriate protocol number for the protocol controlling the
+ option. For example, to indicate that an option will be
+ interpreted by TCP, set *level* to the protocol number of
+ TCP, as defined in the *<netinet/in.h>* header, or as
+ determined by using *getprotobyname(3SOCKET)*. Some socket
+ protocol families may also define additional levels, such as
+ *SOL_ROUTE*. Only socket-level options are described here.
The parameters optval and optlen are used to access option
values for setsockopt(). For getsockopt(), they identify a
buffer in which the value(s) for the requested option(s) are