summaryrefslogtreecommitdiffstats
path: root/include/libnetfilter_queue
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2020-02-24 00:47:39 +0100
committerFlorian Westphal <fw@strlen.de>2020-02-25 18:19:14 +0100
commit55ce4086711bf95ef642f67c75dd5fa1c51fe437 (patch)
treeae5bf01156b6480a534695a71a3a12ffc91d0bb5 /include/libnetfilter_queue
parentcbe995992145455a3b56295a138fe7a9860da295 (diff)
src: add nfq_get_skbinfo()HEADmaster
Silly, since its easy to fetch this via libmnl. Unfortunately there is a large number of software that uses the old API, so add a helper to return the attribute. Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'include/libnetfilter_queue')
-rw-r--r--include/libnetfilter_queue/libnetfilter_queue.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libnetfilter_queue/libnetfilter_queue.h b/include/libnetfilter_queue/libnetfilter_queue.h
index 34385a7..a19122f 100644
--- a/include/libnetfilter_queue/libnetfilter_queue.h
+++ b/include/libnetfilter_queue/libnetfilter_queue.h
@@ -103,6 +103,7 @@ extern uint32_t nfq_get_indev(struct nfq_data *nfad);
extern uint32_t nfq_get_physindev(struct nfq_data *nfad);
extern uint32_t nfq_get_outdev(struct nfq_data *nfad);
extern uint32_t nfq_get_physoutdev(struct nfq_data *nfad);
+extern uint32_t nfq_get_skbinfo(struct nfq_data *nfad);
extern int nfq_get_uid(struct nfq_data *nfad, uint32_t *uid);
extern int nfq_get_gid(struct nfq_data *nfad, uint32_t *gid);
extern int nfq_get_secctx(struct nfq_data *nfad, unsigned char **secdata);