Skip to content

Commit 774dcbe

Browse files
committed
PKTAP: Add two test files
LINKTYPE_PKTAP.pcap with LINKTYPE_PKTAP (258) LINKTYPE_USER2_PKTAP.pcap with LINKTYPE_USER2 (149) Print them with or without '-e'.
1 parent 0654b60 commit 774dcbe

File tree

7 files changed

+10
-0
lines changed

7 files changed

+10
-0
lines changed

tests/LINKTYPE_PKTAP-e.out

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
1 2014-02-19 09:41:14.221562 DLT EN10MB (1) len 108, length 182: 70:73:cb:0b:26:2a > 00:1e:49:1f:f2:c4, ethertype IPv4 (0x0800), length 74: 10.32.4.27.63538 > 10.32.100.15.53: 17153+ A? in.m.yahoo.com. (32)

tests/LINKTYPE_PKTAP.out

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
1 2014-02-19 09:41:14.221562 IP 10.32.4.27.63538 > 10.32.100.15.53: 17153+ A? in.m.yahoo.com. (32)

tests/LINKTYPE_PKTAP.pcap

222 Bytes
Binary file not shown.

tests/LINKTYPE_USER2_PKTAP-e.out

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
1 2014-02-19 09:41:14.221562 DLT EN10MB (1) len 108, length 182: 70:73:cb:0b:26:2a > 00:1e:49:1f:f2:c4, ethertype IPv4 (0x0800), length 74: 10.32.4.27.63538 > 10.32.100.15.53: 17153+ A? in.m.yahoo.com. (32)

tests/LINKTYPE_USER2_PKTAP.out

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
1 2014-02-19 09:41:14.221562 IP 10.32.4.27.63538 > 10.32.100.15.53: 17153+ A? in.m.yahoo.com. (32)

tests/LINKTYPE_USER2_PKTAP.pcap

222 Bytes
Binary file not shown.

tests/TESTLIST

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1020,3 +1020,9 @@ accecn_handshake accecn_handshake.pcap accecn_handshake.out -v
10201020

10211021
# Juniper tests
10221022
juniper_monitor_invalid_cookie_length juniper_monitor_invalid_cookie_length.pcap juniper_monitor_invalid_cookie_length.out
1023+
1024+
# PKTAP tests
1025+
LINKTYPE_USER2_PKTAP LINKTYPE_USER2_PKTAP.pcap LINKTYPE_USER2_PKTAP.out
1026+
LINKTYPE_USER2_PKTAP-e LINKTYPE_USER2_PKTAP.pcap LINKTYPE_USER2_PKTAP-e.out -e
1027+
LINKTYPE_PKTAP LINKTYPE_PKTAP.pcap LINKTYPE_PKTAP.out
1028+
LINKTYPE_PKTAP-e LINKTYPE_PKTAP.pcap LINKTYPE_PKTAP-e.out -e

0 commit comments

Comments
 (0)