summaryrefslogtreecommitdiffstats
path: root/src/rtnl.h
diff options
context:
space:
mode:
author/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org>2008-01-13 17:58:42 +0000
committer/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org>2008-01-13 17:58:42 +0000
commit800c6646e0f748bad3c52ac7f20e38a1583d8bdb (patch)
tree504e1fca37fa0a73c8da98321a33e82eae5e29e4 /src/rtnl.h
parent318961c76bf2d7c5ab715d8fee4aa005bdcde5e0 (diff)
Introduce nfnl_set_rcv_buffer_size to set the receive buffer size used by
nfnl_catch. This revision changes the behaviour of nfnl_catch which does not perform a peek-and-resize if the buffer size used by nfnl_recv is too small. The only known client which may be affected by this change is libnetfilter_conntrack. However, this library uses nfnl_catch to get conntrack events which are always much smaller than 4096 bytes (default receive buffer size). This change boosts up performance in the receive path since we do only one recv instead of two.
Diffstat (limited to 'src/rtnl.h')
0 files changed, 0 insertions, 0 deletions