4 // A sample test configuration for click
9 myswitch :: EtherSwitch;
13 c0 :: FromDevice(ix0, PROMISC true);
14 c1 :: FromDevice(ix1, PROMISC true);
16 // and now pass packets around
18 c0[0] -> [0]sw[0] -> Queue(10000) -> ToDevice(ix0);
19 c1[0] -> [1]sw[1] -> Queue(10000) -> ToDevice(ix1);