diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2009-05-21 21:23:47 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2009-05-21 21:23:47 +0200 |
commit | 2114ff20f8dbc2845e7d75f3c404337c061ebca5 (patch) | |
tree | 928ab927ad7d562d63c498d14353c7c9e8262777 /include | |
parent | 5186605c9361493ec43379a55a5422a2a25c802d (diff) |
nfnl: add nfnl_portid() to get the Netlink portID of a socket
This patch adds the new interface nfnl_portid() to retrieve the
Netlink portID that has been assigned to a given socket.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/libnfnetlink/libnfnetlink.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libnfnetlink/libnfnetlink.h b/include/libnfnetlink/libnfnetlink.h index f689ab0..935d903 100644 --- a/include/libnfnetlink/libnfnetlink.h +++ b/include/libnfnetlink/libnfnetlink.h @@ -50,6 +50,7 @@ struct nfnl_handle; struct nfnl_subsys_handle; extern int nfnl_fd(struct nfnl_handle *h); +extern unsigned int nfnl_portid(const struct nfnl_handle *h); /* get a new library handle */ extern struct nfnl_handle *nfnl_open(void); |