summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDuncan Roe <duncan_roe@optusnet.com.au>2019-12-22 14:36:01 +1100
committerPablo Neira Ayuso <pablo@netfilter.org>2019-12-30 12:37:08 +0100
commit5121a7d19a2a85b8ece66ea0b29e9e3ea63e358f (patch)
tree7d1baca2ea3ceec510ef892427b0c55e2f426ccb /include
parent535a79f002c95b9d37ebded4f34c3b225c4c738d (diff)
src: pktb_mangle has signed offset arg so can mangle MAC header with -ve one
- Update prototype - Update doxygen documentation - Update declaration Signed-off-by: Duncan Roe <duncan_roe@optusnet.com.au> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
-rw-r--r--include/libnetfilter_queue/pktbuff.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libnetfilter_queue/pktbuff.h b/include/libnetfilter_queue/pktbuff.h
index b15ee1e..5bcc3e5 100644
--- a/include/libnetfilter_queue/pktbuff.h
+++ b/include/libnetfilter_queue/pktbuff.h
@@ -19,7 +19,7 @@ uint8_t *pktb_mac_header(struct pkt_buff *pktb);
uint8_t *pktb_network_header(struct pkt_buff *pktb);
uint8_t *pktb_transport_header(struct pkt_buff *pktb);
-int pktb_mangle(struct pkt_buff *pkt, unsigned int dataoff, unsigned int match_offset, unsigned int match_len, const char *rep_buffer, unsigned int rep_len);
+int pktb_mangle(struct pkt_buff *pkt, int dataoff, unsigned int match_offset, unsigned int match_len, const char *rep_buffer, unsigned int rep_len);
bool pktb_mangled(const struct pkt_buff *pktb);