Cleanup core/common.hpp Change-Id: I6566b0224e24716691d5896462aa7613547ed950 Refs: #3076
Testing Instructions
This folder contains a tcpdump trace that can be used to manually check the correctness of ndndump.
Test Cases / Trace File Description
1. NDNLPv2 NACK
Trace file: nack.pcap
Trace summary: Six IPv4 UDP packets, carrying NDN interests and NACK packets. Twelve IPv4 TCP packets, carrying NDN interests and NACK packets.
Expected result of the capture:
-
3 NDN interests are captured with UDP tunnel type.
-
3 NACKs are captured with UDP tunnel type and the NACK reasons:
- Congestion
- Duplicate
- None
-
3 NDN interests are captured with TCP tunnel type.
-
4 NACKs are captured with TCP tunnel type and the NACK reasons:
- Congestion
- Duplicate
- None
- None
2. LINUX_SLL link-type
Trace file: LINUXSLL-udp4.pcap LINUXSLL-udp6.pcap LINUXSLL-tcp4.pcap LINUXSLL-tcp6.pcap
These traces are captured inside an OpenVZ container which uses LINUX_SLL (Linux cooked) link-type.
Expected result: Some Interests and Data should be displayed from udp4 and tcp4 traces. Currently nothing is displayed from udp6 and tcp6 traces because ndndump lacks IPv6 support until Feature 3861.