diff options
author | Phil Sutter <phil@nwl.cc> | 2019-07-03 09:36:26 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-07-03 13:19:32 +0200 |
commit | 0afa33d532c3bd1bf54d7e764ac32619cd73e028 (patch) | |
tree | 27d13ae445972ba6eaab341714016c66716a06a7 /iptables/nft.h | |
parent | cb27c59055fe077f0c422fdad2be71e1bdbb687f (diff) |
nft: Move send/receive buffer sizes into nft_handle
Store them next to the mnl_socket pointer. While being at it, add a
comment to mnl_set_rcvbuffer() explaining why the buffer size is
changed.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'iptables/nft.h')
-rw-r--r-- | iptables/nft.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/iptables/nft.h b/iptables/nft.h index 43eb8a39..dc116184 100644 --- a/iptables/nft.h +++ b/iptables/nft.h @@ -38,6 +38,8 @@ struct nft_cache { struct nft_handle { int family; struct mnl_socket *nl; + int nlsndbuffsiz; + int nlrcvbuffsiz; uint32_t portid; uint32_t seq; uint32_t nft_genid; |