Bug 197256 - [PATCH] ip6(4): missing IPV6_RECVHOPLIMIT and other RFC3542 API documentation
Summary: [PATCH] ip6(4): missing IPV6_RECVHOPLIMIT and other RFC3542 API documentation
Status: New
Alias: None
Product: Documentation
Classification: Unclassified
Component: Manual Pages (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-bugs mailing list
Keywords: patch
Depends on:
Reported: 2015-02-01 22:34 UTC by guyyur
Modified: 2018-11-21 03:24 UTC (History)
2 users (show)

See Also:

ip6(4) update from OpenBSD (7.64 KB, patch)
2015-02-01 22:34 UTC, guyyur
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description guyyur 2015-02-01 22:34:56 UTC
Created attachment 152458 [details]
ip6(4) update from OpenBSD

ip6(4) is missing IPV6_RECVHOPLIMIT and other RFC3542 API documentation.

OpenBSD has updated ip6(4) for RFC3542.

Attached patch applies OpenBSD revisions 1.25, 1.26, 1.29, 1.31, 1.32, 1.33.
$OpenBSD$ line is updated from 1.21 to 1.33.

Revision 1.25 adds missing sys/types.h.
The other revisions update RFC APIs and Standards.

Skipped OpenBSD revisions:
1.22 conversion of date to $Mdocdate$ keyword.
1.23 already done by r196654.
1.24 already done by r176470.
1.27 and 1.28 adding IPV6_RECVDSTPORT.
  (there is no reference to IPV6_RECVDSTPORT in sys/netinet6)
1.30 already done by r274331.

Manpage date is not updated by the patch.
Comment 1 guyyur 2017-03-11 10:58:03 UTC
Updated patches:
If first uncommenting IPV6_ORIGDSTADDR documentation added in r314722
(Apply uncomment_IPV6_ORIGDSTADDR.patch first)

If not

Split into patch for each OpenBSD commit

v1.32 removed options that are commented out in the manpage and are not implemented in OpenBSD.  They are also not implemented in FreeBSD.
It also uncommented IPV6_NEXTHOP.

v1.34 removed IPV6_NEXTHOP documentation completely.
IPV6_NEXTHOP is still implemented in FreeBSD but is currently commented out in the manpage so I am not sure if v1.32, v1.34 should be applied.
Comment 2 guyyur 2018-11-06 19:40:02 UTC
Comment on attachment 152458 [details]
ip6(4) update from OpenBSD

marked old attached patch as obsolete
patches in github rebased after r339985

For reference, the openbsd changes can be seen here: