summaryrefslogtreecommitdiffstats
path: root/include/netlink/errno.h
diff options
context:
space:
mode:
authorKarl Hiramoto <karl@hiramoto.org>2010-03-18 17:50:20 +0100
committerThomas Graf <tgraf@suug.ch>2010-04-19 12:58:39 +0200
commitd378220c96c3c8b6f27dca33e7d8ba03318f9c2d (patch)
treeac737ab0e50a06f4518a26024eebe99d0e652b97 /include/netlink/errno.h
parentd966a3ecf780aa27f3f63fc41ecf8e4549d408e7 (diff)
downloadandroid_external_libnl-d378220c96c3c8b6f27dca33e7d8ba03318f9c2d.tar.gz
android_external_libnl-d378220c96c3c8b6f27dca33e7d8ba03318f9c2d.tar.bz2
android_external_libnl-d378220c96c3c8b6f27dca33e7d8ba03318f9c2d.zip
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/netlink/errno.h')
0 files changed, 0 insertions, 0 deletions