Hi,

Ted recently removed the backwards compat for RFC2292 options, here's
a small nit about documentation: IPV6_PKTOPTIONS is deprecated by
RFC3542, and it doesn't appear anymore in /usr/src, except in this
manpage.

ok?

Index: share/man/man4/ip6.4
===================================================================
RCS file: /cvs/src/share/man/man4/ip6.4,v
retrieving revision 1.34
diff -u -p -r1.34 ip6.4
--- share/man/man4/ip6.4        25 Oct 2015 14:43:07 -0000      1.34
+++ share/man/man4/ip6.4        2 Nov 2015 19:29:27 -0000
@@ -331,35 +331,6 @@ routine and family of routines may be us
 This option requires superuser privileges.
 Turning this option on will result in this socket getting cmsg data of
 type IPV6_RTHDR.
-.It Dv IPV6_PKTOPTIONS Fa "struct cmsghdr *"
-Get or set all header options and extension headers at one time on the
-last packet sent or received on the socket.
-All options must fit within the size of an mbuf (see
-.Xr mbuf 9 ) .
-Options are specified as a series of
-.Vt cmsghdr
-structures followed by corresponding values.
-.Va cmsg_level
-is set to
-.Dv IPPROTO_IPV6 ,
-.Va cmsg_type
-to one of the other values in this list, and trailing data to the option
-value.
-When setting options, if the length
-.Va optlen
-to
-.Xr setsockopt 2
-is zero, all header options will be reset to their default values.
-Otherwise, the length should specify the size the series of control
-messages consumes.
-.Pp
-Instead of using
-.Xr sendmsg 2
-to specify option values, the ancillary data used in these calls that
-correspond to the desired header options may be directly specified as
-the control message in the series of control messages provided as the
-argument to
-.Xr setsockopt 2 .
 .It Dv IPV6_CHECKSUM Fa "int *"
 Get or set the byte offset into a packet where the 16-bit checksum is
 located.
@@ -461,15 +432,10 @@ This implementation determines the value
 options specified by using ancillary data (i.e.,
 .Xr sendmsg 2 )
 are considered first,
-options specified by using
-.Dv IPV6_PKTOPTIONS
-to set
-.Dq sticky
-options are considered second,
 options specified by using the individual, basic, and direct socket
 options (e.g.,
 .Dv IPV6_UNICAST_HOPS )
-are considered third,
+are considered second,
 and options specified in the socket address supplied to
 .Xr sendto 2
 are the last choice.


-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE

Reply via email to