- add netmap (FreeBSD header files need to be updated with this) - move prototype perl scripts to prototype/ folder - create basic structure for sipcap app (no code yet)
20 lines
420 B
INI
20 lines
420 B
INI
//
|
|
// $FreeBSD: head/tools/tools/netmap/click-test.cfg 227614 2011-11-17 12:17:39Z luigi $
|
|
//
|
|
// A sample test configuration for click
|
|
//
|
|
//
|
|
// create a switch
|
|
|
|
myswitch :: EtherSwitch;
|
|
|
|
// two input devices
|
|
|
|
c0 :: FromDevice(ix0, PROMISC true);
|
|
c1 :: FromDevice(ix1, PROMISC true);
|
|
|
|
// and now pass packets around
|
|
|
|
c0[0] -> [0]sw[0] -> Queue(10000) -> ToDevice(ix0);
|
|
c1[0] -> [1]sw[1] -> Queue(10000) -> ToDevice(ix1);
|