Click file modifications to reflect on Click changes to FromSimDevice argument order
This commit is contained in:
@@ -26,7 +26,7 @@ arpt :: Tee(3);
|
||||
|
||||
// Input and output paths for eth0
|
||||
c0 :: Classifier(12/0806 20/0001, 12/0806 20/0002, 12/0800, -);
|
||||
FromSimDevice(eth0, 4096) -> c0;
|
||||
FromSimDevice(eth0,SNAPLEN 4096) -> c0;
|
||||
out0 :: Queue(200) -> todevice0 :: ToSimDevice(eth0);
|
||||
c0[0] -> ar0 :: ARPResponder(eth0) -> out0;
|
||||
arpq0 :: ARPQuerier(eth0) -> out0;
|
||||
@@ -37,7 +37,7 @@ c0[3] -> Discard;
|
||||
|
||||
// Input and output paths for eth1
|
||||
c1 :: Classifier(12/0806 20/0001, 12/0806 20/0002, 12/0800, -);
|
||||
FromSimDevice(eth1, 4096) -> c1;
|
||||
FromSimDevice(eth1,SNAPLEN 4096) -> c1;
|
||||
out1 :: Queue(200) -> todevice1 :: ToSimDevice(eth1);
|
||||
c1[0] -> ar1 :: ARPResponder(eth1) -> out1;
|
||||
arpq1 :: ARPQuerier(eth1) -> out1;
|
||||
|
||||
@@ -35,7 +35,7 @@ elementclass LanSimHost {
|
||||
|
||||
// All packets received on eth0 are silently
|
||||
// dropped if they are destined for another location
|
||||
FromSimDevice(eth0,4096)
|
||||
FromSimDevice(eth0,SNAPLEN 4096)
|
||||
-> ToDump(in_eth0.pcap,PER_NODE 1,ENCAP ETHER)
|
||||
-> cl;
|
||||
|
||||
@@ -87,7 +87,7 @@ elementclass TapSimHost {
|
||||
-> ToSimDevice($dev,IP);
|
||||
|
||||
// Packets sent out by the "kernel" get pushed outside
|
||||
FromSimDevice($dev,4096)
|
||||
FromSimDevice($dev,SNAPLEN 4096)
|
||||
-> CheckIPHeader2
|
||||
-> ToDump(fromkernel.pcap,2000,IP,PER_NODE 1)
|
||||
-> GetIPAddress(16)
|
||||
|
||||
@@ -35,7 +35,7 @@ elementclass LanSimHost {
|
||||
|
||||
// All packets received on eth0 are silently
|
||||
// dropped if they are destined for another location
|
||||
FromSimDevice(eth0,4096)
|
||||
FromSimDevice(eth0,SNAPLEN 4096)
|
||||
-> ToDump(in_eth0.pcap,PER_NODE 1,ENCAP ETHER)
|
||||
-> cl;
|
||||
|
||||
@@ -90,7 +90,7 @@ elementclass TapSimHost {
|
||||
-> ToSimDevice($dev,IP);
|
||||
|
||||
// Packets sent out by the "kernel" get pushed outside
|
||||
FromSimDevice($dev,4096)
|
||||
FromSimDevice($dev,SNAPLEN 4096)
|
||||
-> CheckIPHeader2
|
||||
-> ToDump(fromkernel.pcap,2000,IP,PER_NODE 1)
|
||||
-> GetIPAddress(16)
|
||||
|
||||
@@ -35,7 +35,7 @@ elementclass LanSimHost {
|
||||
|
||||
// All packets received on eth0 are silently
|
||||
// dropped if they are destined for another location
|
||||
FromSimDevice(eth0,4096)
|
||||
FromSimDevice(eth0,SNAPLEN 4096)
|
||||
-> ToDump(in_eth0.pcap,PER_NODE 1,ENCAP ETHER)
|
||||
-> cl;
|
||||
|
||||
@@ -90,7 +90,7 @@ elementclass TapSimHost {
|
||||
-> ToSimDevice($dev,IP);
|
||||
|
||||
// Packets sent out by the "kernel" get pushed outside
|
||||
FromSimDevice($dev,4096)
|
||||
FromSimDevice($dev,SNAPLEN 4096)
|
||||
-> CheckIPHeader2
|
||||
-> ToDump(fromkernel.pcap,2000,IP,PER_NODE 1)
|
||||
-> GetIPAddress(16)
|
||||
|
||||
@@ -35,7 +35,7 @@ elementclass WiFiSimHost {
|
||||
|
||||
// All packets received on eth0 are silently
|
||||
// dropped if they are destined for another location
|
||||
FromSimDevice(eth0,4096)
|
||||
FromSimDevice(eth0,SNAPLEN 4096)
|
||||
-> ToDump(in_eth0.pcap,PER_NODE 1,ENCAP ETHER)
|
||||
-> cl;
|
||||
|
||||
@@ -87,7 +87,7 @@ elementclass TapSimHost {
|
||||
-> ToSimDevice($dev,IP);
|
||||
|
||||
// Packets sent out by the "kernel" get pushed outside
|
||||
FromSimDevice($dev,4096)
|
||||
FromSimDevice($dev,SNAPLEN 4096)
|
||||
-> CheckIPHeader2
|
||||
-> ToDump(fromkernel.pcap,2000,IP,PER_NODE 1)
|
||||
-> GetIPAddress(16)
|
||||
|
||||
Reference in New Issue
Block a user