summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-05-31 16:17:38 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-05-31 16:17:38 +0200
commit43bdb5f47f51a442b07bdb5f0a5a6f9b97b72b16 (patch)
treeb7def49b5116c19ebca8dec99655ca55233be7a5
parentfdd80e7fd9faa6e17f3ee5c675bf27c2eae6a2c2 (diff)
netsniff-ng: minor: update help description
Give -J a lower prio in the help option ranking and state that its only for replay or forwarding. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
-rw-r--r--netsniff-ng.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/netsniff-ng.c b/netsniff-ng.c
index e8eb3d4..4d9abc8 100644
--- a/netsniff-ng.c
+++ b/netsniff-ng.c
@@ -1022,7 +1022,6 @@ static void __noreturn help(void)
" -f|--filter <bpf-file|expr> Use BPF filter file from bpfc or tcpdump-like expression\n"
" -t|--type <type> Filter for: host|broadcast|multicast|others|outgoing\n"
" -F|--interval <size|time> Dump interval if -o is a dir: <num>KiB/MiB/GiB/s/sec/min/hrs\n"
- " -J|--jumbo-support Support for 64KB Super Jumbo Frames (def: 2048B)\n"
" -R|--rfraw Capture or inject raw 802.11 frames\n"
" -n|--num <0|uint> Number of packets until exit (def: 0)\n"
" -P|--prefix <name> Prefix for pcaps stored in directory\n"
@@ -1037,6 +1036,7 @@ static void __noreturn help(void)
" -c|--clrw Use slower read(2)/write(2) I/O\n"
" -S|--ring-size <size> Specify ring size to: <num>KiB/MiB/GiB\n"
" -k|--kernel-pull <uint> Kernel pull from user interval in us (def: 10us)\n"
+ " -J|--jumbo-support Support replay/fwd 64KB Super Jumbo Frames (def: 2048B)\n"
" -b|--bind-cpu <cpu> Bind to specific CPU\n"
" -u|--user <userid> Drop privileges and change to userid\n"
" -g|--group <groupid> Drop privileges and change to groupid\n"
@@ -1055,8 +1055,8 @@ static void __noreturn help(void)
" netsniff-ng --in wlan0 --rfraw --out dump.pcap --silent --bind-cpu 0\n"
" netsniff-ng --in dump.pcap --mmap --out eth0 -k1000 --silent --bind-cpu 0\n"
" netsniff-ng --in dump.pcap --out dump.cfg --silent --bind-cpu 0\n"
- " netsniff-ng --in eth0 --out eth1 --silent --bind-cpu 0 --type host\n"
- " netsniff-ng --in eth1 --out /opt/probe/ -s -m -J --interval 100MiB -b 0\n"
+ " netsniff-ng --in eth0 --out eth1 --silent --bind-cpu 0 -J --type host\n"
+ " netsniff-ng --in eth1 --out /opt/probe/ -s -m --interval 100MiB -b 0\n"
" netsniff-ng --in vlan0 --out dump.pcap -c -u `id -u bob` -g `id -g bob`\n"
" netsniff-ng --in any --filter http.bpf --jumbo-support --ascii -V\n\n"
"Note:\n"