summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKarl Hiramoto <karl@hiramoto.org>2010-03-18 16:50:20 (GMT)
committerThomas Graf <tgraf@suug.ch>2010-04-19 10:58:39 (GMT)
commitd378220c96c3c8b6f27dca33e7d8ba03318f9c2d (patch)
treeac737ab0e50a06f4518a26024eebe99d0e652b97 /include
parentd966a3ecf780aa27f3f63fc41ecf8e4549d408e7 (diff)
downloadlibnl-d378220c96c3c8b6f27dca33e7d8ba03318f9c2d.zip
libnl-d378220c96c3c8b6f27dca33e7d8ba03318f9c2d.tar.gz
libnl-d378220c96c3c8b6f27dca33e7d8ba03318f9c2d.tar.bz2
src/nf-queue.c: cleanup and improve performance of test program for NF_QUEUE
* Fix filename in file header * If the kernel or netlink socket becomes over loaded, the kernel starts printing error messages like: nf_queue: full at 1024 entries, dropping packets(s). Dropped: 1 nf_queue: full at 1024 entries, dropping packets(s). Dropped: 2 nf_queue: full at 1024 entries, dropping packets(s). Dropped: 3 So detect out of order packet ID's and set the NF_ACCEPT verdictÂ, so they will be removed from the kernel queue. * increase socket buffer to improve performance without these changes sending more than 100 KB/s over tcp HTTP lo(localhost) was difficult on my core2 duo machine, due to so many dropped packets. After these changes over 150 MB/s was easy. * improve help text Signed-off-by: Karl Hiramoto <karl@hiramoto.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions