[Bug 251833] relative_offset is not documented in ng_patch man page

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Dec 14 09:56:00 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251833

            Bug ID: 251833
           Summary: relative_offset is not documented in ng_patch man page
           Product: Documentation
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Manual Pages
          Assignee: bugs at FreeBSD.org
          Reporter: nick at van-laarhoven.org
                CC: doc at FreeBSD.org

In r309408 (FreeBSD 11-CURRENT) julian added code in
/usr/src/sys/netgraph/ng_patch.c to use a 'relative offset': "Changes to allow
the patching of packets with an offset (and other changes.. see man page)
".

It is mentioned in the struct in the man page, but there is no explanation of
what the relative offset flag does and how it can be set.

        - from PR #206185: "Add setdlt for relative offset (support DLT_EN10MB
and DLT_RAW)"

        - changes offset to a relative offset as it pulls up / de-encapsulates
ether payloads?

        - relative offset seems to be a boolean (unlike offset for the command
which is a byte count).

It would be nice to have this documented.


(julian as well as dmitry (from the PR) have been contacted but no reply)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-doc mailing list