Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Dec 2020 09:56:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 251833] relative_offset is not documented in ng_patch man page
Message-ID:  <bug-251833-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251833

            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@FreeBSD.org
          Reporter: nick@van-laarhoven.org
                CC: doc@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 al=
low
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_EN1=
0MB
and DLT_RAW)"

        - changes offset to a relative offset as it pulls up / de-encapsula=
tes
ether payloads?

        - relative offset seems to be a boolean (unlike offset for the comm=
and
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)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-251833-227>