diff options
author | Duncan Roe <duncan_roe@optusnet.com.au> | 2019-10-08 11:49:48 +1100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-10-08 12:20:16 +0200 |
commit | 62fb3c7201157026956255228392d0c52e1e294e (patch) | |
tree | 8cef84c4cef79abcf5df3aea3036b5a401b04755 /src | |
parent | 4f3d7181969a27c391f41215aeb863957abc794e (diff) | |
download | libnetfilter_queue-62fb3c7201157026956255228392d0c52e1e294e.tar.gz |
src: doc: Minor fix
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>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/extra/pktbuff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/extra/pktbuff.c b/src/extra/pktbuff.c index 8cb7fe9..00af037 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 |