mirror of
https://github.com/opnsense/src.git
synced 2026-04-15 14:29:58 -04:00
+ pkt-gen -f rx now remains active even when traffic stops Previous behaviour (exit after 1 second of silence) can be restored with the -W option + the -X option does a hexdump of the content of a packet (both tx and rx). This can be useful to check what goes in and out. + the -I option instructs the sender to use indirect buffers (not really useful other than to test the kernel module in the VALE switch) |
||
|---|---|---|
| .. | ||
| bridge.c | ||
| click-test.cfg | ||
| Makefile | ||
| nm_util.c | ||
| nm_util.h | ||
| pcap.c | ||
| pkt-gen.c | ||
| README | ||
| vale-ctl.c | ||
$FreeBSD$ This directory contains examples that use netmap pkt-gen a packet sink/source using the netmap API bridge a two-port jumper wire, also using the native API testpcap a jumper wire using libnetmap (or libpcap) click* various click examples ------------------------------------------------------------ Some performance data as of may 2012 for applications using libpcap. Throughput is generally in Mpps computed with the 64-byte frames, using 1 core on a 2.9GHz CPU and 10Gbit/s interface Libpcap version -- Application --------------------- BSD netmap --------------------------------------------------- 0.77 3.82 ports/trafshow (version 5) 0.94 7.7 net-mgmt/ipcad (ip accounting daemon) 0.9 5.0 net-mgmt/darkstat (ip accounting + graphing) 0.83 2.45 net-mgmt/iftop (curses traffic display)