Click file modifications to reflect on Click changes to FromSimDevice argument order
--- a/src/click/examples/nsclick-ip-router.click Tue Jun 28 10:26:07 2011 -0700
+++ b/src/click/examples/nsclick-ip-router.click Tue Jun 28 19:04:37 2011 +0100
@@ -26,7 +26,7 @@
// 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 @@
// 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;
--- a/src/click/examples/nsclick-lan-single-interface.click Tue Jun 28 10:26:07 2011 -0700
+++ b/src/click/examples/nsclick-lan-single-interface.click Tue Jun 28 19:04:37 2011 +0100
@@ -35,7 +35,7 @@
// 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 @@
-> 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)
--- a/src/click/examples/nsclick-routing-node0.click Tue Jun 28 10:26:07 2011 -0700
+++ b/src/click/examples/nsclick-routing-node0.click Tue Jun 28 19:04:37 2011 +0100
@@ -35,7 +35,7 @@
// 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 @@
-> 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)
--- a/src/click/examples/nsclick-routing-node2.click Tue Jun 28 10:26:07 2011 -0700
+++ b/src/click/examples/nsclick-routing-node2.click Tue Jun 28 19:04:37 2011 +0100
@@ -35,7 +35,7 @@
// 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 @@
-> 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)
--- a/src/click/examples/nsclick-wifi-single-interface.click Tue Jun 28 10:26:07 2011 -0700
+++ b/src/click/examples/nsclick-wifi-single-interface.click Tue Jun 28 19:04:37 2011 +0100
@@ -35,7 +35,7 @@
// 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 @@
-> 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)