From: Duncan Roe <duncan_roe@optusnet.com.au>
To: netfilter-devel@vger.kernel.org
Subject: [PATCH libnetfilter_queue 5/5] src: doc: Minor fix
Date: Tue, 8 Oct 2019 11:49:48 +1100 [thread overview]
Message-ID: <20191008004948.25632-6-duncan_roe@optusnet.com.au> (raw)
In-Reply-To: <20191008004948.25632-1-duncan_roe@optusnet.com.au>
The documentation generally uses OSI layer numbering, where TCP (i.e. Transport)
is layer 4 so that IP is layer 3.
Bring pktb_mangle documentation into line with this.
Signed-off-by: Duncan Roe <duncan_roe@optusnet.com.au>
---
| 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--git a/src/extra/pktbuff.c b/src/extra/pktbuff.c
index 9c2e83a..05b211b 100644
--- a/src/extra/pktbuff.c
+++ b/src/extra/pktbuff.c
@@ -226,7 +226,7 @@ static int enlarge_pkt(struct pkt_buff *pkt, unsigned int extra)
/**
* pktb_mangle - adjust contents of a packet
* \param pkt Pointer to packet buffer
- * \param dataoff Offset to layer 3 header. Specify zero to access layer 2 (IP)
+ * \param dataoff Offset to layer 4 header. Specify zero to access layer 3 (IP)
* header
* \param match_offset Further offset to content that you want to mangle
* \param match_len Length of the existing content you want to mangle
--
2.14.5
next prev parent reply other threads:[~2019-10-08 0:50 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-08 0:49 [PATCH libnetfilter_queue 0/5] clang and documentation updates Duncan Roe
2019-10-08 0:49 ` [PATCH libnetfilter_queue 1/5] src: doc: Miscellaneous updates Duncan Roe
2019-10-08 0:49 ` [PATCH libnetfilter_queue 2/5] src: Enable clang build Duncan Roe
2019-10-08 0:49 ` [PATCH libnetfilter_queue 3/5] doxygen: remove EXPORT_SYMBOL from the output Duncan Roe
2019-10-08 0:49 ` [PATCH libnetfilter_queue 4/5] src: Fix invalid conversion specifier Duncan Roe
2019-10-08 0:49 ` Duncan Roe [this message]
2019-10-08 10:27 ` [PATCH libnetfilter_queue 0/5] clang and documentation updates Pablo Neira Ayuso
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191008004948.25632-6-duncan_roe@optusnet.com.au \
--to=duncan_roe@optusnet.com.au \
--cc=netfilter-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).