opnsense-src/tools/tools/netmap
Luigi Rizzo b303f675df new features (mostly for testing netmap capabilities)
+ 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)
2013-06-05 17:37:59 +00:00
..
bridge.c add a compile-time option to copy packets instead of doing 2013-05-30 11:09:41 +00:00
click-test.cfg
Makefile Bring in a number of new features, mostly implemented by Michio Honda: 2013-05-30 14:07:14 +00:00
nm_util.c remove use of deprecated ioctl() 2013-05-30 11:08:16 +00:00
nm_util.h update the netmap example programs merging some common code in nm_util.c 2013-02-17 04:43:22 +00:00
pcap.c remove use of deprecated ioctl() 2013-05-30 11:08:16 +00:00
pkt-gen.c new features (mostly for testing netmap capabilities) 2013-06-05 17:37:59 +00:00
README sync with my local copy (this file may go away, eventually) 2013-04-30 13:13:32 +00:00
vale-ctl.c Bring in a number of new features, mostly implemented by Michio Honda: 2013-05-30 14:07:14 +00:00

$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)