sixlowpan: fix test for optimized builds

This commit is contained in:
Tommaso Pecorella
2020-06-01 11:09:44 +02:00
parent cd745fd992
commit e95b5e946a
2 changed files with 18 additions and 251 deletions

View File

@@ -55,11 +55,6 @@ int main (int argc, char** argv)
LogComponentEnable ("LrWpanNetDevice", LOG_LEVEL_ALL);
LogComponentEnable ("SixLowPanNetDevice", LOG_LEVEL_ALL);
}
if (enableLSixlowLogLevelInfo)
{
Packet::EnablePrinting ();
LogComponentEnable ("SixLowPanNetDevice", LOG_LEVEL_INFO);
}
NodeContainer nodes;
nodes.Create(2);
@@ -95,11 +90,14 @@ int main (int argc, char** argv)
ipv6.SetBase (Ipv6Address ("2001:2::"), Ipv6Prefix (64));
Ipv6InterfaceContainer deviceInterfaces;
deviceInterfaces = ipv6.Assign (devices);
// check if addresses are assigned
//std::cout<< deviceInterfaces.GetAddress(0,1)<<std::endl;
//std::cout<< deviceInterfaces.GetAddress(1,1)<<std::endl;
if (enableLSixlowLogLevelInfo)
{
std::cout << "Device 0: pseudo-Mac-48 " << Mac48Address::ConvertFrom (devices.Get (0)->GetAddress ())
<< ", IPv6 Address " << deviceInterfaces.GetAddress (0,1) << std::endl;
std::cout << "Device 1: pseudo-Mac-48 " << Mac48Address::ConvertFrom (devices.Get (1)->GetAddress ())
<< ", IPv6 Address " << deviceInterfaces.GetAddress (1,1) << std::endl;
}
uint32_t packetSize = 10;
uint32_t maxPacketCount = 5;
@@ -126,6 +124,11 @@ int main (int argc, char** argv)
{
lrWpanHelper.EnablePcapAll (std::string ("Ping-6LoW-lr-wpan"), true);
}
if (enableLSixlowLogLevelInfo)
{
Ptr<OutputStreamWrapper> routingStream = Create<OutputStreamWrapper> (&std::cout);
Ipv6RoutingHelper::PrintNeighborCacheAllAt (Seconds(9), routingStream);
}
Simulator::Stop (Seconds (10));

View File

@@ -1,242 +1,6 @@
RegisterProtocolHandler for ns3::LrWpanNetDevice
RegisterProtocolHandler for ns3::LrWpanNetDevice
IPHC Compression - IPHC header size = 25
IPHC Compression - packet size = 32
Packet after IPHC compression: ns3::SixLowPanIphc (Compression kind: 31497) ns3::Icmpv6NS (( type = 135 (NS) code = 0 target = fe80::1:ff:fe00:2 checksum = 5754)) ns3::Icmpv6OptionLinkLayerAddress (( type = 1 length = 1 L2 Address = 00-06-02:01:00:00:00:02))
SixLowPanNetDevice::Send 1 ns3::SixLowPanIphc (Compression kind: 31497) ns3::Icmpv6NS (( type = 135 (NS) code = 0 target = fe80::1:ff:fe00:2 checksum = 5754)) ns3::Icmpv6OptionLinkLayerAddress (( type = 1 length = 1 L2 Address = 00-06-02:01:00:00:00:02))
IPHC Compression - IPHC header size = 25
IPHC Compression - packet size = 32
Packet after IPHC compression: ns3::SixLowPanIphc (Compression kind: 31497) ns3::Icmpv6NS (( type = 135 (NS) code = 0 target = 2001:2::1:ff:fe00:2 checksum = 37976)) ns3::Icmpv6OptionLinkLayerAddress (( type = 1 length = 1 L2 Address = 00-06-02:01:00:00:00:02))
SixLowPanNetDevice::Send 1 ns3::SixLowPanIphc (Compression kind: 31497) ns3::Icmpv6NS (( type = 135 (NS) code = 0 target = 2001:2::1:ff:fe00:2 checksum = 37976)) ns3::Icmpv6OptionLinkLayerAddress (( type = 1 length = 1 L2 Address = 00-06-02:01:00:00:00:02))
IPHC Compression - IPHC header size = 25
IPHC Compression - packet size = 32
Packet after IPHC compression: ns3::SixLowPanIphc (Compression kind: 31497) ns3::Icmpv6NS (( type = 135 (NS) code = 0 target = fe80::1:ff:fe00:1 checksum = 6522)) ns3::Icmpv6OptionLinkLayerAddress (( type = 1 length = 1 L2 Address = 00-06-02:01:00:00:00:01))
SixLowPanNetDevice::Send 0 ns3::SixLowPanIphc (Compression kind: 31497) ns3::Icmpv6NS (( type = 135 (NS) code = 0 target = fe80::1:ff:fe00:1 checksum = 6522)) ns3::Icmpv6OptionLinkLayerAddress (( type = 1 length = 1 L2 Address = 00-06-02:01:00:00:00:01))
UID is 2
Packet received: ns3::SixLowPanIphc (Compression kind: 31497) ns3::Icmpv6NS (( type = 135 (NS) code = 0 target = fe80::1:ff:fe00:2 checksum = 5754)) ns3::Icmpv6OptionLinkLayerAddress (( type = 1 length = 1 L2 Address = 00-06-02:01:00:00:00:02))
Packet length: 57
Dispatches: 123 - 96
removed 25 bytes - pkt is ns3::Icmpv6NS (( type = 135 (NS) code = 0 target = fe80::1:ff:fe00:2 checksum = 5754)) ns3::Icmpv6OptionLinkLayerAddress (( type = 1 length = 1 L2 Address = 00-06-02:01:00:00:00:02))
Rebuilt packet: ns3::Ipv6Header ((Version 6 Traffic class 0x0 DSCP Default Flow Label 0x0 Payload Length 32 Next Header 58 Hop Limit 255 ):: > ff02::1:ff00:2) ns3::Icmpv6NS (( type = 135 (NS) code = 0 target = fe80::1:ff:fe00:2 checksum = 5754)) ns3::Icmpv6OptionLinkLayerAddress (( type = 1 length = 1 L2 Address = 00-06-02:01:00:00:00:02)) Size 72
Packet decompressed length: 72
Packet decompressed received: ns3::Ipv6Header ((Version 6 Traffic class 0x0 DSCP Default Flow Label 0x0 Payload Length 32 Next Header 58 Hop Limit 255 ):: > ff02::1:ff00:2) ns3::Icmpv6NS (( type = 135 (NS) code = 0 target = fe80::1:ff:fe00:2 checksum = 5754)) ns3::Icmpv6OptionLinkLayerAddress (( type = 1 length = 1 L2 Address = 00-06-02:01:00:00:00:02))
IPHC Compression - IPHC header size = 25
IPHC Compression - packet size = 32
Packet after IPHC compression: ns3::SixLowPanIphc (Compression kind: 31497) ns3::Icmpv6NS (( type = 135 (NS) code = 0 target = 2001:2::1:ff:fe00:1 checksum = 38744)) ns3::Icmpv6OptionLinkLayerAddress (( type = 1 length = 1 L2 Address = 00-06-02:01:00:00:00:01))
SixLowPanNetDevice::Send 0 ns3::SixLowPanIphc (Compression kind: 31497) ns3::Icmpv6NS (( type = 135 (NS) code = 0 target = 2001:2::1:ff:fe00:1 checksum = 38744)) ns3::Icmpv6OptionLinkLayerAddress (( type = 1 length = 1 L2 Address = 00-06-02:01:00:00:00:01))
UID is 3
Packet received: ns3::SixLowPanIphc (Compression kind: 31497) ns3::Icmpv6NS (( type = 135 (NS) code = 0 target = 2001:2::1:ff:fe00:2 checksum = 37976)) ns3::Icmpv6OptionLinkLayerAddress (( type = 1 length = 1 L2 Address = 00-06-02:01:00:00:00:02))
Packet length: 57
Dispatches: 123 - 96
removed 25 bytes - pkt is ns3::Icmpv6NS (( type = 135 (NS) code = 0 target = 2001:2::1:ff:fe00:2 checksum = 37976)) ns3::Icmpv6OptionLinkLayerAddress (( type = 1 length = 1 L2 Address = 00-06-02:01:00:00:00:02))
Rebuilt packet: ns3::Ipv6Header ((Version 6 Traffic class 0x0 DSCP Default Flow Label 0x0 Payload Length 32 Next Header 58 Hop Limit 255 ):: > ff02::1:ff00:2) ns3::Icmpv6NS (( type = 135 (NS) code = 0 target = 2001:2::1:ff:fe00:2 checksum = 37976)) ns3::Icmpv6OptionLinkLayerAddress (( type = 1 length = 1 L2 Address = 00-06-02:01:00:00:00:02)) Size 72
Packet decompressed length: 72
Packet decompressed received: ns3::Ipv6Header ((Version 6 Traffic class 0x0 DSCP Default Flow Label 0x0 Payload Length 32 Next Header 58 Hop Limit 255 ):: > ff02::1:ff00:2) ns3::Icmpv6NS (( type = 135 (NS) code = 0 target = 2001:2::1:ff:fe00:2 checksum = 37976)) ns3::Icmpv6OptionLinkLayerAddress (( type = 1 length = 1 L2 Address = 00-06-02:01:00:00:00:02))
UID is 0
Packet received: ns3::SixLowPanIphc (Compression kind: 31497) ns3::Icmpv6NS (( type = 135 (NS) code = 0 target = fe80::1:ff:fe00:1 checksum = 6522)) ns3::Icmpv6OptionLinkLayerAddress (( type = 1 length = 1 L2 Address = 00-06-02:01:00:00:00:01))
Packet length: 57
Dispatches: 123 - 96
removed 25 bytes - pkt is ns3::Icmpv6NS (( type = 135 (NS) code = 0 target = fe80::1:ff:fe00:1 checksum = 6522)) ns3::Icmpv6OptionLinkLayerAddress (( type = 1 length = 1 L2 Address = 00-06-02:01:00:00:00:01))
Rebuilt packet: ns3::Ipv6Header ((Version 6 Traffic class 0x0 DSCP Default Flow Label 0x0 Payload Length 32 Next Header 58 Hop Limit 255 ):: > ff02::1:ff00:1) ns3::Icmpv6NS (( type = 135 (NS) code = 0 target = fe80::1:ff:fe00:1 checksum = 6522)) ns3::Icmpv6OptionLinkLayerAddress (( type = 1 length = 1 L2 Address = 00-06-02:01:00:00:00:01)) Size 72
Packet decompressed length: 72
Packet decompressed received: ns3::Ipv6Header ((Version 6 Traffic class 0x0 DSCP Default Flow Label 0x0 Payload Length 32 Next Header 58 Hop Limit 255 ):: > ff02::1:ff00:1) ns3::Icmpv6NS (( type = 135 (NS) code = 0 target = fe80::1:ff:fe00:1 checksum = 6522)) ns3::Icmpv6OptionLinkLayerAddress (( type = 1 length = 1 L2 Address = 00-06-02:01:00:00:00:01))
UID is 1
Packet received: ns3::SixLowPanIphc (Compression kind: 31497) ns3::Icmpv6NS (( type = 135 (NS) code = 0 target = 2001:2::1:ff:fe00:1 checksum = 38744)) ns3::Icmpv6OptionLinkLayerAddress (( type = 1 length = 1 L2 Address = 00-06-02:01:00:00:00:01))
Packet length: 57
Dispatches: 123 - 96
removed 25 bytes - pkt is ns3::Icmpv6NS (( type = 135 (NS) code = 0 target = 2001:2::1:ff:fe00:1 checksum = 38744)) ns3::Icmpv6OptionLinkLayerAddress (( type = 1 length = 1 L2 Address = 00-06-02:01:00:00:00:01))
Rebuilt packet: ns3::Ipv6Header ((Version 6 Traffic class 0x0 DSCP Default Flow Label 0x0 Payload Length 32 Next Header 58 Hop Limit 255 ):: > ff02::1:ff00:1) ns3::Icmpv6NS (( type = 135 (NS) code = 0 target = 2001:2::1:ff:fe00:1 checksum = 38744)) ns3::Icmpv6OptionLinkLayerAddress (( type = 1 length = 1 L2 Address = 00-06-02:01:00:00:00:01)) Size 72
Packet decompressed length: 72
Packet decompressed received: ns3::Ipv6Header ((Version 6 Traffic class 0x0 DSCP Default Flow Label 0x0 Payload Length 32 Next Header 58 Hop Limit 255 ):: > ff02::1:ff00:1) ns3::Icmpv6NS (( type = 135 (NS) code = 0 target = 2001:2::1:ff:fe00:1 checksum = 38744)) ns3::Icmpv6OptionLinkLayerAddress (( type = 1 length = 1 L2 Address = 00-06-02:01:00:00:00:01))
IPHC Compression - IPHC header size = 4
IPHC Compression - packet size = 16
Packet after IPHC compression: ns3::SixLowPanIphc (Compression kind: 31547) ns3::Icmpv6RS (( type = 133 (RS) code = 0 checksum = 10363)) ns3::Icmpv6OptionLinkLayerAddress (( type = 1 length = 1 L2 Address = 00-06-02:01:00:00:00:02))
SixLowPanNetDevice::Send 1 ns3::SixLowPanIphc (Compression kind: 31547) ns3::Icmpv6RS (( type = 133 (RS) code = 0 checksum = 10363)) ns3::Icmpv6OptionLinkLayerAddress (( type = 1 length = 1 L2 Address = 00-06-02:01:00:00:00:02))
IPHC Compression - IPHC header size = 4
IPHC Compression - packet size = 16
Packet after IPHC compression: ns3::SixLowPanIphc (Compression kind: 31547) ns3::Icmpv6RS (( type = 133 (RS) code = 0 checksum = 10875)) ns3::Icmpv6OptionLinkLayerAddress (( type = 1 length = 1 L2 Address = 00-06-02:01:00:00:00:01))
SixLowPanNetDevice::Send 0 ns3::SixLowPanIphc (Compression kind: 31547) ns3::Icmpv6RS (( type = 133 (RS) code = 0 checksum = 10875)) ns3::Icmpv6OptionLinkLayerAddress (( type = 1 length = 1 L2 Address = 00-06-02:01:00:00:00:01))
UID is 9
Packet received: ns3::SixLowPanIphc (Compression kind: 31547) ns3::Icmpv6RS (( type = 133 (RS) code = 0 checksum = 10363)) ns3::Icmpv6OptionLinkLayerAddress (( type = 1 length = 1 L2 Address = 00-06-02:01:00:00:00:02))
Packet length: 20
Dispatches: 123 - 96
removed 4 bytes - pkt is ns3::Icmpv6RS (( type = 133 (RS) code = 0 checksum = 10363)) ns3::Icmpv6OptionLinkLayerAddress (( type = 1 length = 1 L2 Address = 00-06-02:01:00:00:00:02))
Rebuilt packet: ns3::Ipv6Header ((Version 6 Traffic class 0x0 DSCP Default Flow Label 0x0 Payload Length 16 Next Header 58 Hop Limit 255 )fe80::1:ff:fe00:2 > ff02::2) ns3::Icmpv6RS (( type = 133 (RS) code = 0 checksum = 10363)) ns3::Icmpv6OptionLinkLayerAddress (( type = 1 length = 1 L2 Address = 00-06-02:01:00:00:00:02)) Size 56
Packet decompressed length: 56
Packet decompressed received: ns3::Ipv6Header ((Version 6 Traffic class 0x0 DSCP Default Flow Label 0x0 Payload Length 16 Next Header 58 Hop Limit 255 )fe80::1:ff:fe00:2 > ff02::2) ns3::Icmpv6RS (( type = 133 (RS) code = 0 checksum = 10363)) ns3::Icmpv6OptionLinkLayerAddress (( type = 1 length = 1 L2 Address = 00-06-02:01:00:00:00:02))
IPHC Compression - IPHC header size = 25
IPHC Compression - packet size = 32
Packet after IPHC compression: ns3::SixLowPanIphc (Compression kind: 31497) ns3::Icmpv6NS (( type = 135 (NS) code = 0 target = 2001:2::1:ff:fe00:2 checksum = 36921)) ns3::Icmpv6OptionLinkLayerAddress (( type = 1 length = 1 L2 Address = 00-06-02:01:00:00:00:01))
SixLowPanNetDevice::Send 0 ns3::SixLowPanIphc (Compression kind: 31497) ns3::Icmpv6NS (( type = 135 (NS) code = 0 target = 2001:2::1:ff:fe00:2 checksum = 36921)) ns3::Icmpv6OptionLinkLayerAddress (( type = 1 length = 1 L2 Address = 00-06-02:01:00:00:00:01))
UID is 8
Packet received: ns3::SixLowPanIphc (Compression kind: 31547) ns3::Icmpv6RS (( type = 133 (RS) code = 0 checksum = 10875)) ns3::Icmpv6OptionLinkLayerAddress (( type = 1 length = 1 L2 Address = 00-06-02:01:00:00:00:01))
Packet length: 20
Dispatches: 123 - 96
removed 4 bytes - pkt is ns3::Icmpv6RS (( type = 133 (RS) code = 0 checksum = 10875)) ns3::Icmpv6OptionLinkLayerAddress (( type = 1 length = 1 L2 Address = 00-06-02:01:00:00:00:01))
Rebuilt packet: ns3::Ipv6Header ((Version 6 Traffic class 0x0 DSCP Default Flow Label 0x0 Payload Length 16 Next Header 58 Hop Limit 255 )fe80::1:ff:fe00:1 > ff02::2) ns3::Icmpv6RS (( type = 133 (RS) code = 0 checksum = 10875)) ns3::Icmpv6OptionLinkLayerAddress (( type = 1 length = 1 L2 Address = 00-06-02:01:00:00:00:01)) Size 56
Packet decompressed length: 56
Packet decompressed received: ns3::Ipv6Header ((Version 6 Traffic class 0x0 DSCP Default Flow Label 0x0 Payload Length 16 Next Header 58 Hop Limit 255 )fe80::1:ff:fe00:1 > ff02::2) ns3::Icmpv6RS (( type = 133 (RS) code = 0 checksum = 10875)) ns3::Icmpv6OptionLinkLayerAddress (( type = 1 length = 1 L2 Address = 00-06-02:01:00:00:00:01))
UID is 11
Packet received: ns3::SixLowPanIphc (Compression kind: 31497) ns3::Icmpv6NS (( type = 135 (NS) code = 0 target = 2001:2::1:ff:fe00:2 checksum = 36921)) ns3::Icmpv6OptionLinkLayerAddress (( type = 1 length = 1 L2 Address = 00-06-02:01:00:00:00:01))
Packet length: 57
Dispatches: 123 - 96
removed 25 bytes - pkt is ns3::Icmpv6NS (( type = 135 (NS) code = 0 target = 2001:2::1:ff:fe00:2 checksum = 36921)) ns3::Icmpv6OptionLinkLayerAddress (( type = 1 length = 1 L2 Address = 00-06-02:01:00:00:00:01))
Rebuilt packet: ns3::Ipv6Header ((Version 6 Traffic class 0x0 DSCP Default Flow Label 0x0 Payload Length 32 Next Header 58 Hop Limit 255 )2001:2::1:ff:fe00:1 > ff02::1:ff00:2) ns3::Icmpv6NS (( type = 135 (NS) code = 0 target = 2001:2::1:ff:fe00:2 checksum = 36921)) ns3::Icmpv6OptionLinkLayerAddress (( type = 1 length = 1 L2 Address = 00-06-02:01:00:00:00:01)) Size 72
Packet decompressed length: 72
Packet decompressed received: ns3::Ipv6Header ((Version 6 Traffic class 0x0 DSCP Default Flow Label 0x0 Payload Length 32 Next Header 58 Hop Limit 255 )2001:2::1:ff:fe00:1 > ff02::1:ff00:2) ns3::Icmpv6NS (( type = 135 (NS) code = 0 target = 2001:2::1:ff:fe00:2 checksum = 36921)) ns3::Icmpv6OptionLinkLayerAddress (( type = 1 length = 1 L2 Address = 00-06-02:01:00:00:00:01))
IPHC Compression - IPHC header size = 35
IPHC Compression - packet size = 32
Packet after IPHC compression: ns3::SixLowPanIphc (Compression kind: 31488) ns3::Icmpv6NA (( type = 136 (NA) code = 0 checksum = 36790)) ns3::Icmpv6OptionLinkLayerAddress (( type = 2 length = 1 L2 Address = 00-06-02:01:00:00:00:02))
SixLowPanNetDevice::Send 1 ns3::SixLowPanIphc (Compression kind: 31488) ns3::Icmpv6NA (( type = 136 (NA) code = 0 checksum = 36790)) ns3::Icmpv6OptionLinkLayerAddress (( type = 2 length = 1 L2 Address = 00-06-02:01:00:00:00:02))
UID is 14
Packet received: ns3::SixLowPanIphc (Compression kind: 31488) ns3::Icmpv6NA (( type = 136 (NA) code = 0 checksum = 36790)) ns3::Icmpv6OptionLinkLayerAddress (( type = 2 length = 1 L2 Address = 00-06-02:01:00:00:00:02))
Packet length: 67
Dispatches: 123 - 96
removed 35 bytes - pkt is ns3::Icmpv6NA (( type = 136 (NA) code = 0 checksum = 36790)) ns3::Icmpv6OptionLinkLayerAddress (( type = 2 length = 1 L2 Address = 00-06-02:01:00:00:00:02))
Rebuilt packet: ns3::Ipv6Header ((Version 6 Traffic class 0x0 DSCP Default Flow Label 0x0 Payload Length 32 Next Header 58 Hop Limit 255 )2001:2::1:ff:fe00:2 > 2001:2::1:ff:fe00:1) ns3::Icmpv6NA (( type = 136 (NA) code = 0 checksum = 36790)) ns3::Icmpv6OptionLinkLayerAddress (( type = 2 length = 1 L2 Address = 00-06-02:01:00:00:00:02)) Size 72
Packet decompressed length: 72
Packet decompressed received: ns3::Ipv6Header ((Version 6 Traffic class 0x0 DSCP Default Flow Label 0x0 Payload Length 32 Next Header 58 Hop Limit 255 )2001:2::1:ff:fe00:2 > 2001:2::1:ff:fe00:1) ns3::Icmpv6NA (( type = 136 (NA) code = 0 checksum = 36790)) ns3::Icmpv6OptionLinkLayerAddress (( type = 2 length = 1 L2 Address = 00-06-02:01:00:00:00:02))
IPHC Compression - IPHC header size = 35
IPHC Compression - packet size = 18
Packet after IPHC compression: ns3::SixLowPanIphc (Compression kind: 31232) ns3::Icmpv6Echo (( type = 128 (Request) code = 0 checksum = 6885)) Payload (size=10)
SixLowPanNetDevice::Send 0 ns3::SixLowPanIphc (Compression kind: 31232) ns3::Icmpv6Echo (( type = 128 (Request) code = 0 checksum = 6885)) Payload (size=10)
UID is 10
Packet received: ns3::SixLowPanIphc (Compression kind: 31232) ns3::Icmpv6Echo (( type = 128 (Request) code = 0 checksum = 6885)) Payload (size=10)
Packet length: 53
Dispatches: 122 - 96
removed 35 bytes - pkt is ns3::Icmpv6Echo (( type = 128 (Request) code = 0 checksum = 6885)) Payload (size=10)
Rebuilt packet: ns3::Ipv6Header ((Version 6 Traffic class 0x0 DSCP Default Flow Label 0x0 Payload Length 18 Next Header 58 Hop Limit 64 )2001:2::1:ff:fe00:1 > 2001:2::1:ff:fe00:2) ns3::Icmpv6Echo (( type = 128 (Request) code = 0 checksum = 6885)) Payload (size=10) Size 58
Packet decompressed length: 58
Packet decompressed received: ns3::Ipv6Header ((Version 6 Traffic class 0x0 DSCP Default Flow Label 0x0 Payload Length 18 Next Header 58 Hop Limit 64 )2001:2::1:ff:fe00:1 > 2001:2::1:ff:fe00:2) ns3::Icmpv6Echo (( type = 128 (Request) code = 0 checksum = 6885)) Payload (size=10)
IPHC Compression - IPHC header size = 35
IPHC Compression - packet size = 18
Packet after IPHC compression: ns3::SixLowPanIphc (Compression kind: 31232) ns3::Icmpv6Echo (( type = 129 (Reply) code = 0 checksum = 6884)) Payload (size=10)
SixLowPanNetDevice::Send 1 ns3::SixLowPanIphc (Compression kind: 31232) ns3::Icmpv6Echo (( type = 129 (Reply) code = 0 checksum = 6884)) Payload (size=10)
UID is 17
Packet received: ns3::SixLowPanIphc (Compression kind: 31232) ns3::Icmpv6Echo (( type = 129 (Reply) code = 0 checksum = 6884)) Payload (size=10)
Packet length: 53
Dispatches: 122 - 96
removed 35 bytes - pkt is ns3::Icmpv6Echo (( type = 129 (Reply) code = 0 checksum = 6884)) Payload (size=10)
Rebuilt packet: ns3::Ipv6Header ((Version 6 Traffic class 0x0 DSCP Default Flow Label 0x0 Payload Length 18 Next Header 58 Hop Limit 64 )2001:2::1:ff:fe00:2 > 2001:2::1:ff:fe00:1) ns3::Icmpv6Echo (( type = 129 (Reply) code = 0 checksum = 6884)) Payload (size=10) Size 58
Packet decompressed length: 58
Packet decompressed received: ns3::Ipv6Header ((Version 6 Traffic class 0x0 DSCP Default Flow Label 0x0 Payload Length 18 Next Header 58 Hop Limit 64 )2001:2::1:ff:fe00:2 > 2001:2::1:ff:fe00:1) ns3::Icmpv6Echo (( type = 129 (Reply) code = 0 checksum = 6884)) Payload (size=10)
IPHC Compression - IPHC header size = 35
IPHC Compression - packet size = 18
Packet after IPHC compression: ns3::SixLowPanIphc (Compression kind: 31232) ns3::Icmpv6Echo (( type = 128 (Request) code = 0 checksum = 6629)) Payload (size=10)
SixLowPanNetDevice::Send 0 ns3::SixLowPanIphc (Compression kind: 31232) ns3::Icmpv6Echo (( type = 128 (Request) code = 0 checksum = 6629)) Payload (size=10)
UID is 20
Packet received: ns3::SixLowPanIphc (Compression kind: 31232) ns3::Icmpv6Echo (( type = 128 (Request) code = 0 checksum = 6629)) Payload (size=10)
Packet length: 53
Dispatches: 122 - 96
removed 35 bytes - pkt is ns3::Icmpv6Echo (( type = 128 (Request) code = 0 checksum = 6629)) Payload (size=10)
Rebuilt packet: ns3::Ipv6Header ((Version 6 Traffic class 0x0 DSCP Default Flow Label 0x0 Payload Length 18 Next Header 58 Hop Limit 64 )2001:2::1:ff:fe00:1 > 2001:2::1:ff:fe00:2) ns3::Icmpv6Echo (( type = 128 (Request) code = 0 checksum = 6629)) Payload (size=10) Size 58
Packet decompressed length: 58
Packet decompressed received: ns3::Ipv6Header ((Version 6 Traffic class 0x0 DSCP Default Flow Label 0x0 Payload Length 18 Next Header 58 Hop Limit 64 )2001:2::1:ff:fe00:1 > 2001:2::1:ff:fe00:2) ns3::Icmpv6Echo (( type = 128 (Request) code = 0 checksum = 6629)) Payload (size=10)
IPHC Compression - IPHC header size = 35
IPHC Compression - packet size = 18
Packet after IPHC compression: ns3::SixLowPanIphc (Compression kind: 31232) ns3::Icmpv6Echo (( type = 129 (Reply) code = 0 checksum = 6628)) Payload (size=10)
SixLowPanNetDevice::Send 1 ns3::SixLowPanIphc (Compression kind: 31232) ns3::Icmpv6Echo (( type = 129 (Reply) code = 0 checksum = 6628)) Payload (size=10)
UID is 21
Packet received: ns3::SixLowPanIphc (Compression kind: 31232) ns3::Icmpv6Echo (( type = 129 (Reply) code = 0 checksum = 6628)) Payload (size=10)
Packet length: 53
Dispatches: 122 - 96
removed 35 bytes - pkt is ns3::Icmpv6Echo (( type = 129 (Reply) code = 0 checksum = 6628)) Payload (size=10)
Rebuilt packet: ns3::Ipv6Header ((Version 6 Traffic class 0x0 DSCP Default Flow Label 0x0 Payload Length 18 Next Header 58 Hop Limit 64 )2001:2::1:ff:fe00:2 > 2001:2::1:ff:fe00:1) ns3::Icmpv6Echo (( type = 129 (Reply) code = 0 checksum = 6628)) Payload (size=10) Size 58
Packet decompressed length: 58
Packet decompressed received: ns3::Ipv6Header ((Version 6 Traffic class 0x0 DSCP Default Flow Label 0x0 Payload Length 18 Next Header 58 Hop Limit 64 )2001:2::1:ff:fe00:2 > 2001:2::1:ff:fe00:1) ns3::Icmpv6Echo (( type = 129 (Reply) code = 0 checksum = 6628)) Payload (size=10)
IPHC Compression - IPHC header size = 35
IPHC Compression - packet size = 18
Packet after IPHC compression: ns3::SixLowPanIphc (Compression kind: 31232) ns3::Icmpv6Echo (( type = 128 (Request) code = 0 checksum = 6373)) Payload (size=10)
SixLowPanNetDevice::Send 0 ns3::SixLowPanIphc (Compression kind: 31232) ns3::Icmpv6Echo (( type = 128 (Request) code = 0 checksum = 6373)) Payload (size=10)
UID is 24
Packet received: ns3::SixLowPanIphc (Compression kind: 31232) ns3::Icmpv6Echo (( type = 128 (Request) code = 0 checksum = 6373)) Payload (size=10)
Packet length: 53
Dispatches: 122 - 96
removed 35 bytes - pkt is ns3::Icmpv6Echo (( type = 128 (Request) code = 0 checksum = 6373)) Payload (size=10)
Rebuilt packet: ns3::Ipv6Header ((Version 6 Traffic class 0x0 DSCP Default Flow Label 0x0 Payload Length 18 Next Header 58 Hop Limit 64 )2001:2::1:ff:fe00:1 > 2001:2::1:ff:fe00:2) ns3::Icmpv6Echo (( type = 128 (Request) code = 0 checksum = 6373)) Payload (size=10) Size 58
Packet decompressed length: 58
Packet decompressed received: ns3::Ipv6Header ((Version 6 Traffic class 0x0 DSCP Default Flow Label 0x0 Payload Length 18 Next Header 58 Hop Limit 64 )2001:2::1:ff:fe00:1 > 2001:2::1:ff:fe00:2) ns3::Icmpv6Echo (( type = 128 (Request) code = 0 checksum = 6373)) Payload (size=10)
IPHC Compression - IPHC header size = 35
IPHC Compression - packet size = 18
Packet after IPHC compression: ns3::SixLowPanIphc (Compression kind: 31232) ns3::Icmpv6Echo (( type = 129 (Reply) code = 0 checksum = 6372)) Payload (size=10)
SixLowPanNetDevice::Send 1 ns3::SixLowPanIphc (Compression kind: 31232) ns3::Icmpv6Echo (( type = 129 (Reply) code = 0 checksum = 6372)) Payload (size=10)
UID is 25
Packet received: ns3::SixLowPanIphc (Compression kind: 31232) ns3::Icmpv6Echo (( type = 129 (Reply) code = 0 checksum = 6372)) Payload (size=10)
Packet length: 53
Dispatches: 122 - 96
removed 35 bytes - pkt is ns3::Icmpv6Echo (( type = 129 (Reply) code = 0 checksum = 6372)) Payload (size=10)
Rebuilt packet: ns3::Ipv6Header ((Version 6 Traffic class 0x0 DSCP Default Flow Label 0x0 Payload Length 18 Next Header 58 Hop Limit 64 )2001:2::1:ff:fe00:2 > 2001:2::1:ff:fe00:1) ns3::Icmpv6Echo (( type = 129 (Reply) code = 0 checksum = 6372)) Payload (size=10) Size 58
Packet decompressed length: 58
Packet decompressed received: ns3::Ipv6Header ((Version 6 Traffic class 0x0 DSCP Default Flow Label 0x0 Payload Length 18 Next Header 58 Hop Limit 64 )2001:2::1:ff:fe00:2 > 2001:2::1:ff:fe00:1) ns3::Icmpv6Echo (( type = 129 (Reply) code = 0 checksum = 6372)) Payload (size=10)
IPHC Compression - IPHC header size = 35
IPHC Compression - packet size = 18
Packet after IPHC compression: ns3::SixLowPanIphc (Compression kind: 31232) ns3::Icmpv6Echo (( type = 128 (Request) code = 0 checksum = 6117)) Payload (size=10)
SixLowPanNetDevice::Send 0 ns3::SixLowPanIphc (Compression kind: 31232) ns3::Icmpv6Echo (( type = 128 (Request) code = 0 checksum = 6117)) Payload (size=10)
UID is 28
Packet received: ns3::SixLowPanIphc (Compression kind: 31232) ns3::Icmpv6Echo (( type = 128 (Request) code = 0 checksum = 6117)) Payload (size=10)
Packet length: 53
Dispatches: 122 - 96
removed 35 bytes - pkt is ns3::Icmpv6Echo (( type = 128 (Request) code = 0 checksum = 6117)) Payload (size=10)
Rebuilt packet: ns3::Ipv6Header ((Version 6 Traffic class 0x0 DSCP Default Flow Label 0x0 Payload Length 18 Next Header 58 Hop Limit 64 )2001:2::1:ff:fe00:1 > 2001:2::1:ff:fe00:2) ns3::Icmpv6Echo (( type = 128 (Request) code = 0 checksum = 6117)) Payload (size=10) Size 58
Packet decompressed length: 58
Packet decompressed received: ns3::Ipv6Header ((Version 6 Traffic class 0x0 DSCP Default Flow Label 0x0 Payload Length 18 Next Header 58 Hop Limit 64 )2001:2::1:ff:fe00:1 > 2001:2::1:ff:fe00:2) ns3::Icmpv6Echo (( type = 128 (Request) code = 0 checksum = 6117)) Payload (size=10)
IPHC Compression - IPHC header size = 35
IPHC Compression - packet size = 18
Packet after IPHC compression: ns3::SixLowPanIphc (Compression kind: 31232) ns3::Icmpv6Echo (( type = 129 (Reply) code = 0 checksum = 6116)) Payload (size=10)
SixLowPanNetDevice::Send 1 ns3::SixLowPanIphc (Compression kind: 31232) ns3::Icmpv6Echo (( type = 129 (Reply) code = 0 checksum = 6116)) Payload (size=10)
UID is 29
Packet received: ns3::SixLowPanIphc (Compression kind: 31232) ns3::Icmpv6Echo (( type = 129 (Reply) code = 0 checksum = 6116)) Payload (size=10)
Packet length: 53
Dispatches: 122 - 96
removed 35 bytes - pkt is ns3::Icmpv6Echo (( type = 129 (Reply) code = 0 checksum = 6116)) Payload (size=10)
Rebuilt packet: ns3::Ipv6Header ((Version 6 Traffic class 0x0 DSCP Default Flow Label 0x0 Payload Length 18 Next Header 58 Hop Limit 64 )2001:2::1:ff:fe00:2 > 2001:2::1:ff:fe00:1) ns3::Icmpv6Echo (( type = 129 (Reply) code = 0 checksum = 6116)) Payload (size=10) Size 58
Packet decompressed length: 58
Packet decompressed received: ns3::Ipv6Header ((Version 6 Traffic class 0x0 DSCP Default Flow Label 0x0 Payload Length 18 Next Header 58 Hop Limit 64 )2001:2::1:ff:fe00:2 > 2001:2::1:ff:fe00:1) ns3::Icmpv6Echo (( type = 129 (Reply) code = 0 checksum = 6116)) Payload (size=10)
IPHC Compression - IPHC header size = 35
IPHC Compression - packet size = 18
Packet after IPHC compression: ns3::SixLowPanIphc (Compression kind: 31232) ns3::Icmpv6Echo (( type = 128 (Request) code = 0 checksum = 5861)) Payload (size=10)
SixLowPanNetDevice::Send 0 ns3::SixLowPanIphc (Compression kind: 31232) ns3::Icmpv6Echo (( type = 128 (Request) code = 0 checksum = 5861)) Payload (size=10)
UID is 32
Packet received: ns3::SixLowPanIphc (Compression kind: 31232) ns3::Icmpv6Echo (( type = 128 (Request) code = 0 checksum = 5861)) Payload (size=10)
Packet length: 53
Dispatches: 122 - 96
removed 35 bytes - pkt is ns3::Icmpv6Echo (( type = 128 (Request) code = 0 checksum = 5861)) Payload (size=10)
Rebuilt packet: ns3::Ipv6Header ((Version 6 Traffic class 0x0 DSCP Default Flow Label 0x0 Payload Length 18 Next Header 58 Hop Limit 64 )2001:2::1:ff:fe00:1 > 2001:2::1:ff:fe00:2) ns3::Icmpv6Echo (( type = 128 (Request) code = 0 checksum = 5861)) Payload (size=10) Size 58
Packet decompressed length: 58
Packet decompressed received: ns3::Ipv6Header ((Version 6 Traffic class 0x0 DSCP Default Flow Label 0x0 Payload Length 18 Next Header 58 Hop Limit 64 )2001:2::1:ff:fe00:1 > 2001:2::1:ff:fe00:2) ns3::Icmpv6Echo (( type = 128 (Request) code = 0 checksum = 5861)) Payload (size=10)
IPHC Compression - IPHC header size = 35
IPHC Compression - packet size = 18
Packet after IPHC compression: ns3::SixLowPanIphc (Compression kind: 31232) ns3::Icmpv6Echo (( type = 129 (Reply) code = 0 checksum = 5860)) Payload (size=10)
SixLowPanNetDevice::Send 1 ns3::SixLowPanIphc (Compression kind: 31232) ns3::Icmpv6Echo (( type = 129 (Reply) code = 0 checksum = 5860)) Payload (size=10)
UID is 33
Packet received: ns3::SixLowPanIphc (Compression kind: 31232) ns3::Icmpv6Echo (( type = 129 (Reply) code = 0 checksum = 5860)) Payload (size=10)
Packet length: 53
Dispatches: 122 - 96
removed 35 bytes - pkt is ns3::Icmpv6Echo (( type = 129 (Reply) code = 0 checksum = 5860)) Payload (size=10)
Rebuilt packet: ns3::Ipv6Header ((Version 6 Traffic class 0x0 DSCP Default Flow Label 0x0 Payload Length 18 Next Header 58 Hop Limit 64 )2001:2::1:ff:fe00:2 > 2001:2::1:ff:fe00:1) ns3::Icmpv6Echo (( type = 129 (Reply) code = 0 checksum = 5860)) Payload (size=10) Size 58
Packet decompressed length: 58
Packet decompressed received: ns3::Ipv6Header ((Version 6 Traffic class 0x0 DSCP Default Flow Label 0x0 Payload Length 18 Next Header 58 Hop Limit 64 )2001:2::1:ff:fe00:2 > 2001:2::1:ff:fe00:1) ns3::Icmpv6Echo (( type = 129 (Reply) code = 0 checksum = 5860)) Payload (size=10)
IPHC Compression - IPHC header size = 35
IPHC Compression - packet size = 32
Packet after IPHC compression: ns3::SixLowPanIphc (Compression kind: 31488) ns3::Icmpv6NS (( type = 135 (NS) code = 0 target = 2001:2::1:ff:fe00:1 checksum = 37144)) ns3::Icmpv6OptionLinkLayerAddress (( type = 1 length = 1 L2 Address = 00-06-02:01:00:00:00:02))
SixLowPanNetDevice::Send 1 ns3::SixLowPanIphc (Compression kind: 31488) ns3::Icmpv6NS (( type = 135 (NS) code = 0 target = 2001:2::1:ff:fe00:1 checksum = 37144)) ns3::Icmpv6OptionLinkLayerAddress (( type = 1 length = 1 L2 Address = 00-06-02:01:00:00:00:02))
UID is 36
Packet received: ns3::SixLowPanIphc (Compression kind: 31488) ns3::Icmpv6NS (( type = 135 (NS) code = 0 target = 2001:2::1:ff:fe00:1 checksum = 37144)) ns3::Icmpv6OptionLinkLayerAddress (( type = 1 length = 1 L2 Address = 00-06-02:01:00:00:00:02))
Packet length: 67
Dispatches: 123 - 96
removed 35 bytes - pkt is ns3::Icmpv6NS (( type = 135 (NS) code = 0 target = 2001:2::1:ff:fe00:1 checksum = 37144)) ns3::Icmpv6OptionLinkLayerAddress (( type = 1 length = 1 L2 Address = 00-06-02:01:00:00:00:02))
Rebuilt packet: ns3::Ipv6Header ((Version 6 Traffic class 0x0 DSCP Default Flow Label 0x0 Payload Length 32 Next Header 58 Hop Limit 255 )2001:2::1:ff:fe00:2 > 2001:2::1:ff:fe00:1) ns3::Icmpv6NS (( type = 135 (NS) code = 0 target = 2001:2::1:ff:fe00:1 checksum = 37144)) ns3::Icmpv6OptionLinkLayerAddress (( type = 1 length = 1 L2 Address = 00-06-02:01:00:00:00:02)) Size 72
Packet decompressed length: 72
Packet decompressed received: ns3::Ipv6Header ((Version 6 Traffic class 0x0 DSCP Default Flow Label 0x0 Payload Length 32 Next Header 58 Hop Limit 255 )2001:2::1:ff:fe00:2 > 2001:2::1:ff:fe00:1) ns3::Icmpv6NS (( type = 135 (NS) code = 0 target = 2001:2::1:ff:fe00:1 checksum = 37144)) ns3::Icmpv6OptionLinkLayerAddress (( type = 1 length = 1 L2 Address = 00-06-02:01:00:00:00:02))
IPHC Compression - IPHC header size = 35
IPHC Compression - packet size = 32
Packet after IPHC compression: ns3::SixLowPanIphc (Compression kind: 31488) ns3::Icmpv6NA (( type = 136 (NA) code = 0 checksum = 37302)) ns3::Icmpv6OptionLinkLayerAddress (( type = 2 length = 1 L2 Address = 00-06-02:01:00:00:00:01))
SixLowPanNetDevice::Send 0 ns3::SixLowPanIphc (Compression kind: 31488) ns3::Icmpv6NA (( type = 136 (NA) code = 0 checksum = 37302)) ns3::Icmpv6OptionLinkLayerAddress (( type = 2 length = 1 L2 Address = 00-06-02:01:00:00:00:01))
UID is 37
Packet received: ns3::SixLowPanIphc (Compression kind: 31488) ns3::Icmpv6NA (( type = 136 (NA) code = 0 checksum = 37302)) ns3::Icmpv6OptionLinkLayerAddress (( type = 2 length = 1 L2 Address = 00-06-02:01:00:00:00:01))
Packet length: 67
Dispatches: 123 - 96
removed 35 bytes - pkt is ns3::Icmpv6NA (( type = 136 (NA) code = 0 checksum = 37302)) ns3::Icmpv6OptionLinkLayerAddress (( type = 2 length = 1 L2 Address = 00-06-02:01:00:00:00:01))
Rebuilt packet: ns3::Ipv6Header ((Version 6 Traffic class 0x0 DSCP Default Flow Label 0x0 Payload Length 32 Next Header 58 Hop Limit 255 )2001:2::1:ff:fe00:1 > 2001:2::1:ff:fe00:2) ns3::Icmpv6NA (( type = 136 (NA) code = 0 checksum = 37302)) ns3::Icmpv6OptionLinkLayerAddress (( type = 2 length = 1 L2 Address = 00-06-02:01:00:00:00:01)) Size 72
Packet decompressed length: 72
Packet decompressed received: ns3::Ipv6Header ((Version 6 Traffic class 0x0 DSCP Default Flow Label 0x0 Payload Length 32 Next Header 58 Hop Limit 255 )2001:2::1:ff:fe00:1 > 2001:2::1:ff:fe00:2) ns3::Icmpv6NA (( type = 136 (NA) code = 0 checksum = 37302)) ns3::Icmpv6OptionLinkLayerAddress (( type = 2 length = 1 L2 Address = 00-06-02:01:00:00:00:01))
Device 0: pseudo-Mac-48 02:01:00:00:00:01, IPv6 Address 2001:2::1:ff:fe00:1
Device 1: pseudo-Mac-48 02:01:00:00:00:02, IPv6 Address 2001:2::1:ff:fe00:2
NDISC Cache of node 0 at time 9
2001:2::1:ff:fe00:2 dev 2 lladdr 00-06-02:01:00:00:00:02 REACHABLE
NDISC Cache of node 1 at time 9
2001:2::1:ff:fe00:1 dev 2 lladdr 00-06-02:01:00:00:00:01 REACHABLE