From 5121a7d19a2a85b8ece66ea0b29e9e3ea63e358f Mon Sep 17 00:00:00 2001 From: Duncan Roe Date: Sun, 22 Dec 2019 14:36:01 +1100 Subject: 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 Signed-off-by: Pablo Neira Ayuso --- include/libnetfilter_queue/pktbuff.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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); -- cgit v1.2.3