summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/inet6_option_space.3
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-02-01 16:38:02 +0000
committerru <ru@FreeBSD.org>2001-02-01 16:38:02 +0000
commit8a6f8b5fe456b5b3a8f1d86173f81cfcae6cfe19 (patch)
treeb428fc12404c6d6be2c1fce52490993ab3744097 /lib/libc/net/inet6_option_space.3
parent4923ae6c3fe2f82d94fec60b85ed2a6272b2fd67 (diff)
downloadFreeBSD-src-8a6f8b5fe456b5b3a8f1d86173f81cfcae6cfe19.zip
FreeBSD-src-8a6f8b5fe456b5b3a8f1d86173f81cfcae6cfe19.tar.gz
mdoc(7) police: split punctuation characters + misc fixes.
Diffstat (limited to 'lib/libc/net/inet6_option_space.3')
-rw-r--r--lib/libc/net/inet6_option_space.334
1 files changed, 13 insertions, 21 deletions
diff --git a/lib/libc/net/inet6_option_space.3 b/lib/libc/net/inet6_option_space.3
index 63cbfa5..8236548 100644
--- a/lib/libc/net/inet6_option_space.3
+++ b/lib/libc/net/inet6_option_space.3
@@ -81,17 +81,13 @@ ancillary data, including the
.Li cmsghdr
structure at the beginning,
and any padding at the end
-.Po
-to make its size a multiple of 8 bytes
-.Pc .
+(to make its size a multiple of 8 bytes).
The argument is the size of the structure defining the option,
which must include any pad bytes at the beginning
-.Po
-the value
+(the value
.Li y
in the alignment term
-.Dq Li xn + y
-.Pc ,
+.Dq Li "xn + y" ) ,
the type byte, the length byte, and the option data.
.Pp
Note: If multiple options are stored in a single ancillary data
@@ -181,17 +177,16 @@ before calling this function.
The option type must have a value from
.Li 2
to
-.Li 255 , inclusive.
-.Po
-.Li 0
+.Li 255 ,
+inclusive.
+.Li ( 0
and
.Li 1
are reserved for the
.Li Pad1
and
.Li PadN
-options, respectively.
-.Pc
+options, respectively.)
.Pp
The option data length must have a value between
.Li 0
@@ -249,12 +244,10 @@ initialized by
is the value of the option data length byte for this option.
This value is required as an argument to allow the function to
determine if padding must be appended at the end of the option.
-.Po
-The
+(The
.Fn inet6_option_append
function does not need a data length argument
-since the option data length must already be stored by the caller.
-.Pc
+since the option data length must already be stored by the caller.)
.Pp
.Fa multx
is the value
@@ -289,10 +282,8 @@ and
.Fa *tptrp
points to
the 8-bit option type field
-.Po
-which is followed by the 8-bit option
-data length, followed by the option data
-.Pc .
+(which is followed by the 8-bit option
+data length, followed by the option data).
If no more options remain
to be processed, the return value is
.Li -1
@@ -407,7 +398,8 @@ on an error.
.Pp
.Fn inet6_option_alloc
returns
-.Dv NULL on an error.
+.Dv NULL
+on an error.
.Pp
On errors,
.Fn inet6_option_next
OpenPOWER on IntegriCloud