summaryrefslogtreecommitdiffstats
path: root/include/libnetfilter_queue/pktbuff.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libnetfilter_queue/pktbuff.h')
-rw-r--r--include/libnetfilter_queue/pktbuff.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libnetfilter_queue/pktbuff.h b/include/libnetfilter_queue/pktbuff.h
index a0e7abf..b15ee1e 100644
--- a/include/libnetfilter_queue/pktbuff.h
+++ b/include/libnetfilter_queue/pktbuff.h
@@ -19,4 +19,8 @@ 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);
+
+bool pktb_mangled(const struct pkt_buff *pktb);
+
#endif