]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Add missing output files for LSP-Ping capture files
authorFrancois-Xavier Le Bail <[email protected]>
Tue, 13 Oct 2015 14:31:45 +0000 (16:31 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Tue, 13 Oct 2015 14:31:45 +0000 (16:31 +0200)
tests/TESTLIST
tests/lspping-fec-ldp-v.out [new file with mode: 0644]
tests/lspping-fec-ldp-vv.out [new file with mode: 0644]
tests/lspping-fec-ldp.out [new file with mode: 0644]
tests/lspping-fec-rsvp-v.out [new file with mode: 0644]
tests/lspping-fec-rsvp-vv.out [new file with mode: 0644]
tests/lspping-fec-rsvp.out [new file with mode: 0644]

index ac95bc29a007d8cc8536e01684c2116dc3995261..cc9ae869672ce62c9f54a526191e3d6927a4b49b 100644 (file)
@@ -45,6 +45,12 @@ lmp          lmp.pcap                lmp.out -t -T lmp
 # MPLS tests
 mpls-ldp-hello mpls-ldp-hello.pcap     mpls-ldp-hello.out -t -v
 ldp_infloop    ldp-infinite-loop.pcap  ldp_infloop.out -t
+lspping-fec-ldp    lspping-fec-ldp.pcap lspping-fec-ldp.out -t
+lspping-fec-ldp-v  lspping-fec-ldp.pcap lspping-fec-ldp-v.out -t -v
+lspping-fec-ldp-vv lspping-fec-ldp.pcap lspping-fec-ldp-vv.out -t -vv
+lspping-fec-rsvp    lspping-fec-rsvp.pcap lspping-fec-rsvp.out -t
+lspping-fec-rsvp-v  lspping-fec-rsvp.pcap lspping-fec-rsvp-v.out -t -v
+lspping-fec-rsvp-vv lspping-fec-rsvp.pcap lspping-fec-rsvp-vv.out -t -vv
 
 # OSPF tests
 ospf-gmpls     ospf-gmpls.pcap                         ospf-gmpls.out          -t -v
diff --git a/tests/lspping-fec-ldp-v.out b/tests/lspping-fec-ldp-v.out
new file mode 100644 (file)
index 0000000..e4a886b
--- /dev/null
@@ -0,0 +1,111 @@
+MPLS (label 100656, exp 6, [S], ttl 64)
+       IP (tos 0xc0, ttl 64, id 40719, offset 0, flags [none], proto TCP (6), length 71)
+    12.4.4.4.4100 > 12.8.8.8.179: Flags [P.], cksum 0xfd1b (correct), seq 1860641958:1860641977, ack 2969468967, win 16384, options [nop,nop,TS val 84784152 ecr 84770238], length 19: BGP
+       Keepalive Message (4), length: 19
+MPLS (label 100688, exp 7, [S], ttl 255)
+       IP (tos 0x0, ttl 64, id 40723, offset 0, flags [none], proto UDP (17), length 76)
+    12.4.4.4.4786 > 127.0.0.1.3503: 
+       LSP-PINGv1, msg-type: MPLS Echo Request (1), length: 48
+         reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+         Return Code: No return code or return code contained in the Error Code TLV (0)
+         Return Subcode: (0)
+         Sender Handle: 0x00000000, Sequence: 1
+         Sender Timestamp: Receiver Timestamp: no timestamp
+         Target FEC Stack TLV (1), length: 12
+           LDP IPv4 prefix subTLV (1), length: 5
+             12.1.1.1/32
+IP (tos 0xc0, ttl 62, id 50878, offset 0, flags [none], proto UDP (17), length 60)
+    10.20.0.1.3503 > 12.4.4.4.4786: 
+       LSP-PINGv1, msg-type: MPLS Echo Reply (2), length: 32
+         reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+         Return Code: Replying router is an egress for the FEC at stack depth 0 (3)
+         Return Subcode: (0)
+         Sender Handle: 0x00000000, Sequence: 1
+         Sender Timestamp: Receiver Timestamp: 
+MPLS (label 100704, exp 6, [S], ttl 64)
+       IP (tos 0xc0, ttl 64, id 40725, offset 0, flags [none], proto TCP (6), length 71)
+    12.4.4.4.2006 > 12.1.1.1.179: Flags [P.], cksum 0x6c0d (correct), seq 399708866:399708885, ack 708613212, win 16384, options [nop,nop,TS val 84784455 ecr 130411], length 19: BGP
+       Keepalive Message (4), length: 19
+MPLS (label 100704, exp 6, [S], ttl 64)
+       IP (tos 0xc0, ttl 64, id 40726, offset 0, flags [none], proto TCP (6), length 52)
+    12.4.4.4.2006 > 12.1.1.1.179: Flags [.], cksum 0x6451 (correct), ack 20, win 16384, options [nop,nop,TS val 84784465 ecr 133413], length 0
+MPLS (label 100688, exp 7, [S], ttl 255)
+       IP (tos 0x0, ttl 64, id 40727, offset 0, flags [none], proto UDP (17), length 76)
+    12.4.4.4.4786 > 127.0.0.1.3503: 
+       LSP-PINGv1, msg-type: MPLS Echo Request (1), length: 48
+         reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+         Return Code: No return code or return code contained in the Error Code TLV (0)
+         Return Subcode: (0)
+         Sender Handle: 0x00000000, Sequence: 2
+         Sender Timestamp: Receiver Timestamp: no timestamp
+         Target FEC Stack TLV (1), length: 12
+           LDP IPv4 prefix subTLV (1), length: 5
+             12.1.1.1/32
+IP (tos 0xc0, ttl 62, id 50880, offset 0, flags [none], proto UDP (17), length 60)
+    10.20.0.1.3503 > 12.4.4.4.4786: 
+       LSP-PINGv1, msg-type: MPLS Echo Reply (2), length: 32
+         reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+         Return Code: Replying router is an egress for the FEC at stack depth 0 (3)
+         Return Subcode: (0)
+         Sender Handle: 0x00000000, Sequence: 2
+         Sender Timestamp: Receiver Timestamp: 
+MPLS (label 100688, exp 7, [S], ttl 255)
+       IP (tos 0x0, ttl 64, id 40729, offset 0, flags [none], proto UDP (17), length 76)
+    12.4.4.4.4786 > 127.0.0.1.3503: 
+       LSP-PINGv1, msg-type: MPLS Echo Request (1), length: 48
+         reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+         Return Code: No return code or return code contained in the Error Code TLV (0)
+         Return Subcode: (0)
+         Sender Handle: 0x00000000, Sequence: 3
+         Sender Timestamp: Receiver Timestamp: no timestamp
+         Target FEC Stack TLV (1), length: 12
+           LDP IPv4 prefix subTLV (1), length: 5
+             12.1.1.1/32
+IP (tos 0xc0, ttl 62, id 50882, offset 0, flags [none], proto UDP (17), length 60)
+    10.20.0.1.3503 > 12.4.4.4.4786: 
+       LSP-PINGv1, msg-type: MPLS Echo Reply (2), length: 32
+         reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+         Return Code: Replying router is an egress for the FEC at stack depth 0 (3)
+         Return Subcode: (0)
+         Sender Handle: 0x00000000, Sequence: 3
+         Sender Timestamp: Receiver Timestamp: 
+MPLS (label 100688, exp 7, [S], ttl 255)
+       IP (tos 0x0, ttl 64, id 40731, offset 0, flags [none], proto UDP (17), length 76)
+    12.4.4.4.4786 > 127.0.0.1.3503: 
+       LSP-PINGv1, msg-type: MPLS Echo Request (1), length: 48
+         reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+         Return Code: No return code or return code contained in the Error Code TLV (0)
+         Return Subcode: (0)
+         Sender Handle: 0x00000000, Sequence: 4
+         Sender Timestamp: Receiver Timestamp: no timestamp
+         Target FEC Stack TLV (1), length: 12
+           LDP IPv4 prefix subTLV (1), length: 5
+             12.1.1.1/32
+IP (tos 0xc0, ttl 62, id 50883, offset 0, flags [none], proto UDP (17), length 60)
+    10.20.0.1.3503 > 12.4.4.4.4786: 
+       LSP-PINGv1, msg-type: MPLS Echo Reply (2), length: 32
+         reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+         Return Code: Replying router is an egress for the FEC at stack depth 0 (3)
+         Return Subcode: (0)
+         Sender Handle: 0x00000000, Sequence: 4
+         Sender Timestamp: Receiver Timestamp: 
+MPLS (label 100688, exp 7, [S], ttl 255)
+       IP (tos 0x0, ttl 64, id 40733, offset 0, flags [none], proto UDP (17), length 76)
+    12.4.4.4.4786 > 127.0.0.1.3503: 
+       LSP-PINGv1, msg-type: MPLS Echo Request (1), length: 48
+         reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+         Return Code: No return code or return code contained in the Error Code TLV (0)
+         Return Subcode: (0)
+         Sender Handle: 0x00000000, Sequence: 5
+         Sender Timestamp: Receiver Timestamp: no timestamp
+         Target FEC Stack TLV (1), length: 12
+           LDP IPv4 prefix subTLV (1), length: 5
+             12.1.1.1/32
+IP (tos 0xc0, ttl 62, id 50886, offset 0, flags [none], proto UDP (17), length 60)
+    10.20.0.1.3503 > 12.4.4.4.4786: 
+       LSP-PINGv1, msg-type: MPLS Echo Reply (2), length: 32
+         reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+         Return Code: Replying router is an egress for the FEC at stack depth 0 (3)
+         Return Subcode: (0)
+         Sender Handle: 0x00000000, Sequence: 5
+         Sender Timestamp: Receiver Timestamp: 
diff --git a/tests/lspping-fec-ldp-vv.out b/tests/lspping-fec-ldp-vv.out
new file mode 100644 (file)
index 0000000..af0d1f6
--- /dev/null
@@ -0,0 +1,121 @@
+MPLS (label 100656, exp 6, [S], ttl 64)
+       IP (tos 0xc0, ttl 64, id 40719, offset 0, flags [none], proto TCP (6), length 71)
+    12.4.4.4.4100 > 12.8.8.8.179: Flags [P.], cksum 0xfd1b (correct), seq 1860641958:1860641977, ack 2969468967, win 16384, options [nop,nop,TS val 84784152 ecr 84770238], length 19: BGP
+       Keepalive Message (4), length: 19
+MPLS (label 100688, exp 7, [S], ttl 255)
+       IP (tos 0x0, ttl 64, id 40723, offset 0, flags [none], proto UDP (17), length 76)
+    12.4.4.4.4786 > 127.0.0.1.3503: [udp sum ok] 
+       LSP-PINGv1, msg-type: MPLS Echo Request (1), length: 48
+         reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+         Return Code: No return code or return code contained in the Error Code TLV (0)
+         Return Subcode: (0)
+         Sender Handle: 0x00000000, Sequence: 1
+         Sender Timestamp: Receiver Timestamp: no timestamp
+         Target FEC Stack TLV (1), length: 12
+           LDP IPv4 prefix subTLV (1), length: 5
+             12.1.1.1/32
+             0x0000:  0c01 0101 20
+           0x0000:  0001 0005 0c01 0101 2000 0000
+IP (tos 0xc0, ttl 62, id 50878, offset 0, flags [none], proto UDP (17), length 60)
+    10.20.0.1.3503 > 12.4.4.4.4786: [udp sum ok] 
+       LSP-PINGv1, msg-type: MPLS Echo Reply (2), length: 32
+         reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+         Return Code: Replying router is an egress for the FEC at stack depth 0 (3)
+         Return Subcode: (0)
+         Sender Handle: 0x00000000, Sequence: 1
+         Sender Timestamp: Receiver Timestamp: 
+MPLS (label 100704, exp 6, [S], ttl 64)
+       IP (tos 0xc0, ttl 64, id 40725, offset 0, flags [none], proto TCP (6), length 71)
+    12.4.4.4.2006 > 12.1.1.1.179: Flags [P.], cksum 0x6c0d (correct), seq 399708866:399708885, ack 708613212, win 16384, options [nop,nop,TS val 84784455 ecr 130411], length 19: BGP
+       Keepalive Message (4), length: 19
+MPLS (label 100704, exp 6, [S], ttl 64)
+       IP (tos 0xc0, ttl 64, id 40726, offset 0, flags [none], proto TCP (6), length 52)
+    12.4.4.4.2006 > 12.1.1.1.179: Flags [.], cksum 0x6451 (correct), seq 19, ack 20, win 16384, options [nop,nop,TS val 84784465 ecr 133413], length 0
+MPLS (label 100688, exp 7, [S], ttl 255)
+       IP (tos 0x0, ttl 64, id 40727, offset 0, flags [none], proto UDP (17), length 76)
+    12.4.4.4.4786 > 127.0.0.1.3503: [udp sum ok] 
+       LSP-PINGv1, msg-type: MPLS Echo Request (1), length: 48
+         reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+         Return Code: No return code or return code contained in the Error Code TLV (0)
+         Return Subcode: (0)
+         Sender Handle: 0x00000000, Sequence: 2
+         Sender Timestamp: Receiver Timestamp: no timestamp
+         Target FEC Stack TLV (1), length: 12
+           LDP IPv4 prefix subTLV (1), length: 5
+             12.1.1.1/32
+             0x0000:  0c01 0101 20
+           0x0000:  0001 0005 0c01 0101 2000 0000
+IP (tos 0xc0, ttl 62, id 50880, offset 0, flags [none], proto UDP (17), length 60)
+    10.20.0.1.3503 > 12.4.4.4.4786: [udp sum ok] 
+       LSP-PINGv1, msg-type: MPLS Echo Reply (2), length: 32
+         reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+         Return Code: Replying router is an egress for the FEC at stack depth 0 (3)
+         Return Subcode: (0)
+         Sender Handle: 0x00000000, Sequence: 2
+         Sender Timestamp: Receiver Timestamp: 
+MPLS (label 100688, exp 7, [S], ttl 255)
+       IP (tos 0x0, ttl 64, id 40729, offset 0, flags [none], proto UDP (17), length 76)
+    12.4.4.4.4786 > 127.0.0.1.3503: [udp sum ok] 
+       LSP-PINGv1, msg-type: MPLS Echo Request (1), length: 48
+         reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+         Return Code: No return code or return code contained in the Error Code TLV (0)
+         Return Subcode: (0)
+         Sender Handle: 0x00000000, Sequence: 3
+         Sender Timestamp: Receiver Timestamp: no timestamp
+         Target FEC Stack TLV (1), length: 12
+           LDP IPv4 prefix subTLV (1), length: 5
+             12.1.1.1/32
+             0x0000:  0c01 0101 20
+           0x0000:  0001 0005 0c01 0101 2000 0000
+IP (tos 0xc0, ttl 62, id 50882, offset 0, flags [none], proto UDP (17), length 60)
+    10.20.0.1.3503 > 12.4.4.4.4786: [udp sum ok] 
+       LSP-PINGv1, msg-type: MPLS Echo Reply (2), length: 32
+         reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+         Return Code: Replying router is an egress for the FEC at stack depth 0 (3)
+         Return Subcode: (0)
+         Sender Handle: 0x00000000, Sequence: 3
+         Sender Timestamp: Receiver Timestamp: 
+MPLS (label 100688, exp 7, [S], ttl 255)
+       IP (tos 0x0, ttl 64, id 40731, offset 0, flags [none], proto UDP (17), length 76)
+    12.4.4.4.4786 > 127.0.0.1.3503: [udp sum ok] 
+       LSP-PINGv1, msg-type: MPLS Echo Request (1), length: 48
+         reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+         Return Code: No return code or return code contained in the Error Code TLV (0)
+         Return Subcode: (0)
+         Sender Handle: 0x00000000, Sequence: 4
+         Sender Timestamp: Receiver Timestamp: no timestamp
+         Target FEC Stack TLV (1), length: 12
+           LDP IPv4 prefix subTLV (1), length: 5
+             12.1.1.1/32
+             0x0000:  0c01 0101 20
+           0x0000:  0001 0005 0c01 0101 2000 0000
+IP (tos 0xc0, ttl 62, id 50883, offset 0, flags [none], proto UDP (17), length 60)
+    10.20.0.1.3503 > 12.4.4.4.4786: [udp sum ok] 
+       LSP-PINGv1, msg-type: MPLS Echo Reply (2), length: 32
+         reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+         Return Code: Replying router is an egress for the FEC at stack depth 0 (3)
+         Return Subcode: (0)
+         Sender Handle: 0x00000000, Sequence: 4
+         Sender Timestamp: Receiver Timestamp: 
+MPLS (label 100688, exp 7, [S], ttl 255)
+       IP (tos 0x0, ttl 64, id 40733, offset 0, flags [none], proto UDP (17), length 76)
+    12.4.4.4.4786 > 127.0.0.1.3503: [udp sum ok] 
+       LSP-PINGv1, msg-type: MPLS Echo Request (1), length: 48
+         reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+         Return Code: No return code or return code contained in the Error Code TLV (0)
+         Return Subcode: (0)
+         Sender Handle: 0x00000000, Sequence: 5
+         Sender Timestamp: Receiver Timestamp: no timestamp
+         Target FEC Stack TLV (1), length: 12
+           LDP IPv4 prefix subTLV (1), length: 5
+             12.1.1.1/32
+             0x0000:  0c01 0101 20
+           0x0000:  0001 0005 0c01 0101 2000 0000
+IP (tos 0xc0, ttl 62, id 50886, offset 0, flags [none], proto UDP (17), length 60)
+    10.20.0.1.3503 > 12.4.4.4.4786: [udp sum ok] 
+       LSP-PINGv1, msg-type: MPLS Echo Reply (2), length: 32
+         reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+         Return Code: Replying router is an egress for the FEC at stack depth 0 (3)
+         Return Subcode: (0)
+         Sender Handle: 0x00000000, Sequence: 5
+         Sender Timestamp: Receiver Timestamp: 
diff --git a/tests/lspping-fec-ldp.out b/tests/lspping-fec-ldp.out
new file mode 100644 (file)
index 0000000..2df8b4c
--- /dev/null
@@ -0,0 +1,13 @@
+MPLS (label 100656, exp 6, [S], ttl 64) IP 12.4.4.4.4100 > 12.8.8.8.179: Flags [P.], seq 1860641958:1860641977, ack 2969468967, win 16384, options [nop,nop,TS val 84784152 ecr 84770238], length 19: BGP
+MPLS (label 100688, exp 7, [S], ttl 255) IP 12.4.4.4.4786 > 127.0.0.1.3503: LSP-PINGv1, MPLS Echo Request, seq 1, length: 48
+IP 10.20.0.1.3503 > 12.4.4.4.4786: LSP-PINGv1, MPLS Echo Reply, seq 1, length: 32
+MPLS (label 100704, exp 6, [S], ttl 64) IP 12.4.4.4.2006 > 12.1.1.1.179: Flags [P.], seq 399708866:399708885, ack 708613212, win 16384, options [nop,nop,TS val 84784455 ecr 130411], length 19: BGP
+MPLS (label 100704, exp 6, [S], ttl 64) IP 12.4.4.4.2006 > 12.1.1.1.179: Flags [.], ack 20, win 16384, options [nop,nop,TS val 84784465 ecr 133413], length 0
+MPLS (label 100688, exp 7, [S], ttl 255) IP 12.4.4.4.4786 > 127.0.0.1.3503: LSP-PINGv1, MPLS Echo Request, seq 2, length: 48
+IP 10.20.0.1.3503 > 12.4.4.4.4786: LSP-PINGv1, MPLS Echo Reply, seq 2, length: 32
+MPLS (label 100688, exp 7, [S], ttl 255) IP 12.4.4.4.4786 > 127.0.0.1.3503: LSP-PINGv1, MPLS Echo Request, seq 3, length: 48
+IP 10.20.0.1.3503 > 12.4.4.4.4786: LSP-PINGv1, MPLS Echo Reply, seq 3, length: 32
+MPLS (label 100688, exp 7, [S], ttl 255) IP 12.4.4.4.4786 > 127.0.0.1.3503: LSP-PINGv1, MPLS Echo Request, seq 4, length: 48
+IP 10.20.0.1.3503 > 12.4.4.4.4786: LSP-PINGv1, MPLS Echo Reply, seq 4, length: 32
+MPLS (label 100688, exp 7, [S], ttl 255) IP 12.4.4.4.4786 > 127.0.0.1.3503: LSP-PINGv1, MPLS Echo Request, seq 5, length: 48
+IP 10.20.0.1.3503 > 12.4.4.4.4786: LSP-PINGv1, MPLS Echo Reply, seq 5, length: 32
diff --git a/tests/lspping-fec-rsvp-v.out b/tests/lspping-fec-rsvp-v.out
new file mode 100644 (file)
index 0000000..f79043e
--- /dev/null
@@ -0,0 +1,105 @@
+MPLS (label 100704, exp 7, [S], ttl 255)
+       IP (tos 0x0, ttl 64, id 40269, offset 0, flags [none], proto UDP (17), length 88)
+    12.4.4.4.4529 > 127.0.0.1.3503: 
+       LSP-PINGv1, msg-type: MPLS Echo Request (1), length: 60
+         reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+         Return Code: No return code or return code contained in the Error Code TLV (0)
+         Return Subcode: (0)
+         Sender Handle: 0x00000000, Sequence: 1
+         Sender Timestamp: Receiver Timestamp: no timestamp
+         Target FEC Stack TLV (1), length: 24
+           RSVP IPv4 Session Query subTLV (3), length: 20
+             tunnel end-point 12.1.1.1, tunnel sender 12.4.4.4, lsp-id 0x0010
+             tunnel-id 0x5372, extended tunnel-id 12.4.4.4
+IP (tos 0xc0, ttl 62, id 50634, offset 0, flags [none], proto UDP (17), length 60)
+    10.20.0.1.3503 > 12.4.4.4.4529: 
+       LSP-PINGv1, msg-type: MPLS Echo Reply (2), length: 32
+         reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+         Return Code: Replying router is an egress for the FEC at stack depth 0 (3)
+         Return Subcode: (0)
+         Sender Handle: 0x00000000, Sequence: 1
+         Sender Timestamp: Receiver Timestamp: 
+MPLS (label 100704, exp 7, [S], ttl 255)
+       IP (tos 0x0, ttl 64, id 40271, offset 0, flags [none], proto UDP (17), length 88)
+    12.4.4.4.4529 > 127.0.0.1.3503: 
+       LSP-PINGv1, msg-type: MPLS Echo Request (1), length: 60
+         reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+         Return Code: No return code or return code contained in the Error Code TLV (0)
+         Return Subcode: (0)
+         Sender Handle: 0x00000000, Sequence: 2
+         Sender Timestamp: Receiver Timestamp: no timestamp
+         Target FEC Stack TLV (1), length: 24
+           RSVP IPv4 Session Query subTLV (3), length: 20
+             tunnel end-point 12.1.1.1, tunnel sender 12.4.4.4, lsp-id 0x0010
+             tunnel-id 0x5372, extended tunnel-id 12.4.4.4
+IP (tos 0xc0, ttl 62, id 50635, offset 0, flags [none], proto UDP (17), length 60)
+    10.20.0.1.3503 > 12.4.4.4.4529: 
+       LSP-PINGv1, msg-type: MPLS Echo Reply (2), length: 32
+         reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+         Return Code: Replying router is an egress for the FEC at stack depth 0 (3)
+         Return Subcode: (0)
+         Sender Handle: 0x00000000, Sequence: 2
+         Sender Timestamp: Receiver Timestamp: 
+MPLS (label 100704, exp 7, [S], ttl 255)
+       IP (tos 0x0, ttl 64, id 40273, offset 0, flags [none], proto UDP (17), length 88)
+    12.4.4.4.4529 > 127.0.0.1.3503: 
+       LSP-PINGv1, msg-type: MPLS Echo Request (1), length: 60
+         reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+         Return Code: No return code or return code contained in the Error Code TLV (0)
+         Return Subcode: (0)
+         Sender Handle: 0x00000000, Sequence: 3
+         Sender Timestamp: Receiver Timestamp: no timestamp
+         Target FEC Stack TLV (1), length: 24
+           RSVP IPv4 Session Query subTLV (3), length: 20
+             tunnel end-point 12.1.1.1, tunnel sender 12.4.4.4, lsp-id 0x0010
+             tunnel-id 0x5372, extended tunnel-id 12.4.4.4
+IP (tos 0xc0, ttl 62, id 50637, offset 0, flags [none], proto UDP (17), length 60)
+    10.20.0.1.3503 > 12.4.4.4.4529: 
+       LSP-PINGv1, msg-type: MPLS Echo Reply (2), length: 32
+         reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+         Return Code: Replying router is an egress for the FEC at stack depth 0 (3)
+         Return Subcode: (0)
+         Sender Handle: 0x00000000, Sequence: 3
+         Sender Timestamp: Receiver Timestamp: 
+MPLS (label 100704, exp 7, [S], ttl 255)
+       IP (tos 0x0, ttl 64, id 40275, offset 0, flags [none], proto UDP (17), length 88)
+    12.4.4.4.4529 > 127.0.0.1.3503: 
+       LSP-PINGv1, msg-type: MPLS Echo Request (1), length: 60
+         reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+         Return Code: No return code or return code contained in the Error Code TLV (0)
+         Return Subcode: (0)
+         Sender Handle: 0x00000000, Sequence: 4
+         Sender Timestamp: Receiver Timestamp: no timestamp
+         Target FEC Stack TLV (1), length: 24
+           RSVP IPv4 Session Query subTLV (3), length: 20
+             tunnel end-point 12.1.1.1, tunnel sender 12.4.4.4, lsp-id 0x0010
+             tunnel-id 0x5372, extended tunnel-id 12.4.4.4
+IP (tos 0xc0, ttl 62, id 50638, offset 0, flags [none], proto UDP (17), length 60)
+    10.20.0.1.3503 > 12.4.4.4.4529: 
+       LSP-PINGv1, msg-type: MPLS Echo Reply (2), length: 32
+         reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+         Return Code: Replying router is an egress for the FEC at stack depth 0 (3)
+         Return Subcode: (0)
+         Sender Handle: 0x00000000, Sequence: 4
+         Sender Timestamp: Receiver Timestamp: 
+MPLS (label 100704, exp 7, [S], ttl 255)
+       IP (tos 0x0, ttl 64, id 40278, offset 0, flags [none], proto UDP (17), length 88)
+    12.4.4.4.4529 > 127.0.0.1.3503: 
+       LSP-PINGv1, msg-type: MPLS Echo Request (1), length: 60
+         reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+         Return Code: No return code or return code contained in the Error Code TLV (0)
+         Return Subcode: (0)
+         Sender Handle: 0x00000000, Sequence: 5
+         Sender Timestamp: Receiver Timestamp: no timestamp
+         Target FEC Stack TLV (1), length: 24
+           RSVP IPv4 Session Query subTLV (3), length: 20
+             tunnel end-point 12.1.1.1, tunnel sender 12.4.4.4, lsp-id 0x0010
+             tunnel-id 0x5372, extended tunnel-id 12.4.4.4
+IP (tos 0xc0, ttl 62, id 50641, offset 0, flags [none], proto UDP (17), length 60)
+    10.20.0.1.3503 > 12.4.4.4.4529: 
+       LSP-PINGv1, msg-type: MPLS Echo Reply (2), length: 32
+         reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+         Return Code: Replying router is an egress for the FEC at stack depth 0 (3)
+         Return Subcode: (0)
+         Sender Handle: 0x00000000, Sequence: 5
+         Sender Timestamp: Receiver Timestamp: 
diff --git a/tests/lspping-fec-rsvp-vv.out b/tests/lspping-fec-rsvp-vv.out
new file mode 100644 (file)
index 0000000..391dc5a
--- /dev/null
@@ -0,0 +1,125 @@
+MPLS (label 100704, exp 7, [S], ttl 255)
+       IP (tos 0x0, ttl 64, id 40269, offset 0, flags [none], proto UDP (17), length 88)
+    12.4.4.4.4529 > 127.0.0.1.3503: [udp sum ok] 
+       LSP-PINGv1, msg-type: MPLS Echo Request (1), length: 60
+         reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+         Return Code: No return code or return code contained in the Error Code TLV (0)
+         Return Subcode: (0)
+         Sender Handle: 0x00000000, Sequence: 1
+         Sender Timestamp: Receiver Timestamp: no timestamp
+         Target FEC Stack TLV (1), length: 24
+           RSVP IPv4 Session Query subTLV (3), length: 20
+             tunnel end-point 12.1.1.1, tunnel sender 12.4.4.4, lsp-id 0x0010
+             tunnel-id 0x5372, extended tunnel-id 12.4.4.4
+             0x0000:  0c01 0101 0000 5372 0c04 0404 0c04 0404
+             0x0010:  0000 0010
+           0x0000:  0003 0014 0c01 0101 0000 5372 0c04 0404
+           0x0010:  0c04 0404 0000 0010
+IP (tos 0xc0, ttl 62, id 50634, offset 0, flags [none], proto UDP (17), length 60)
+    10.20.0.1.3503 > 12.4.4.4.4529: [udp sum ok] 
+       LSP-PINGv1, msg-type: MPLS Echo Reply (2), length: 32
+         reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+         Return Code: Replying router is an egress for the FEC at stack depth 0 (3)
+         Return Subcode: (0)
+         Sender Handle: 0x00000000, Sequence: 1
+         Sender Timestamp: Receiver Timestamp: 
+MPLS (label 100704, exp 7, [S], ttl 255)
+       IP (tos 0x0, ttl 64, id 40271, offset 0, flags [none], proto UDP (17), length 88)
+    12.4.4.4.4529 > 127.0.0.1.3503: [udp sum ok] 
+       LSP-PINGv1, msg-type: MPLS Echo Request (1), length: 60
+         reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+         Return Code: No return code or return code contained in the Error Code TLV (0)
+         Return Subcode: (0)
+         Sender Handle: 0x00000000, Sequence: 2
+         Sender Timestamp: Receiver Timestamp: no timestamp
+         Target FEC Stack TLV (1), length: 24
+           RSVP IPv4 Session Query subTLV (3), length: 20
+             tunnel end-point 12.1.1.1, tunnel sender 12.4.4.4, lsp-id 0x0010
+             tunnel-id 0x5372, extended tunnel-id 12.4.4.4
+             0x0000:  0c01 0101 0000 5372 0c04 0404 0c04 0404
+             0x0010:  0000 0010
+           0x0000:  0003 0014 0c01 0101 0000 5372 0c04 0404
+           0x0010:  0c04 0404 0000 0010
+IP (tos 0xc0, ttl 62, id 50635, offset 0, flags [none], proto UDP (17), length 60)
+    10.20.0.1.3503 > 12.4.4.4.4529: [udp sum ok] 
+       LSP-PINGv1, msg-type: MPLS Echo Reply (2), length: 32
+         reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+         Return Code: Replying router is an egress for the FEC at stack depth 0 (3)
+         Return Subcode: (0)
+         Sender Handle: 0x00000000, Sequence: 2
+         Sender Timestamp: Receiver Timestamp: 
+MPLS (label 100704, exp 7, [S], ttl 255)
+       IP (tos 0x0, ttl 64, id 40273, offset 0, flags [none], proto UDP (17), length 88)
+    12.4.4.4.4529 > 127.0.0.1.3503: [udp sum ok] 
+       LSP-PINGv1, msg-type: MPLS Echo Request (1), length: 60
+         reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+         Return Code: No return code or return code contained in the Error Code TLV (0)
+         Return Subcode: (0)
+         Sender Handle: 0x00000000, Sequence: 3
+         Sender Timestamp: Receiver Timestamp: no timestamp
+         Target FEC Stack TLV (1), length: 24
+           RSVP IPv4 Session Query subTLV (3), length: 20
+             tunnel end-point 12.1.1.1, tunnel sender 12.4.4.4, lsp-id 0x0010
+             tunnel-id 0x5372, extended tunnel-id 12.4.4.4
+             0x0000:  0c01 0101 0000 5372 0c04 0404 0c04 0404
+             0x0010:  0000 0010
+           0x0000:  0003 0014 0c01 0101 0000 5372 0c04 0404
+           0x0010:  0c04 0404 0000 0010
+IP (tos 0xc0, ttl 62, id 50637, offset 0, flags [none], proto UDP (17), length 60)
+    10.20.0.1.3503 > 12.4.4.4.4529: [udp sum ok] 
+       LSP-PINGv1, msg-type: MPLS Echo Reply (2), length: 32
+         reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+         Return Code: Replying router is an egress for the FEC at stack depth 0 (3)
+         Return Subcode: (0)
+         Sender Handle: 0x00000000, Sequence: 3
+         Sender Timestamp: Receiver Timestamp: 
+MPLS (label 100704, exp 7, [S], ttl 255)
+       IP (tos 0x0, ttl 64, id 40275, offset 0, flags [none], proto UDP (17), length 88)
+    12.4.4.4.4529 > 127.0.0.1.3503: [udp sum ok] 
+       LSP-PINGv1, msg-type: MPLS Echo Request (1), length: 60
+         reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+         Return Code: No return code or return code contained in the Error Code TLV (0)
+         Return Subcode: (0)
+         Sender Handle: 0x00000000, Sequence: 4
+         Sender Timestamp: Receiver Timestamp: no timestamp
+         Target FEC Stack TLV (1), length: 24
+           RSVP IPv4 Session Query subTLV (3), length: 20
+             tunnel end-point 12.1.1.1, tunnel sender 12.4.4.4, lsp-id 0x0010
+             tunnel-id 0x5372, extended tunnel-id 12.4.4.4
+             0x0000:  0c01 0101 0000 5372 0c04 0404 0c04 0404
+             0x0010:  0000 0010
+           0x0000:  0003 0014 0c01 0101 0000 5372 0c04 0404
+           0x0010:  0c04 0404 0000 0010
+IP (tos 0xc0, ttl 62, id 50638, offset 0, flags [none], proto UDP (17), length 60)
+    10.20.0.1.3503 > 12.4.4.4.4529: [udp sum ok] 
+       LSP-PINGv1, msg-type: MPLS Echo Reply (2), length: 32
+         reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+         Return Code: Replying router is an egress for the FEC at stack depth 0 (3)
+         Return Subcode: (0)
+         Sender Handle: 0x00000000, Sequence: 4
+         Sender Timestamp: Receiver Timestamp: 
+MPLS (label 100704, exp 7, [S], ttl 255)
+       IP (tos 0x0, ttl 64, id 40278, offset 0, flags [none], proto UDP (17), length 88)
+    12.4.4.4.4529 > 127.0.0.1.3503: [udp sum ok] 
+       LSP-PINGv1, msg-type: MPLS Echo Request (1), length: 60
+         reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+         Return Code: No return code or return code contained in the Error Code TLV (0)
+         Return Subcode: (0)
+         Sender Handle: 0x00000000, Sequence: 5
+         Sender Timestamp: Receiver Timestamp: no timestamp
+         Target FEC Stack TLV (1), length: 24
+           RSVP IPv4 Session Query subTLV (3), length: 20
+             tunnel end-point 12.1.1.1, tunnel sender 12.4.4.4, lsp-id 0x0010
+             tunnel-id 0x5372, extended tunnel-id 12.4.4.4
+             0x0000:  0c01 0101 0000 5372 0c04 0404 0c04 0404
+             0x0010:  0000 0010
+           0x0000:  0003 0014 0c01 0101 0000 5372 0c04 0404
+           0x0010:  0c04 0404 0000 0010
+IP (tos 0xc0, ttl 62, id 50641, offset 0, flags [none], proto UDP (17), length 60)
+    10.20.0.1.3503 > 12.4.4.4.4529: [udp sum ok] 
+       LSP-PINGv1, msg-type: MPLS Echo Reply (2), length: 32
+         reply-mode: Reply via an IPv4/IPv6 UDP packet (2)
+         Return Code: Replying router is an egress for the FEC at stack depth 0 (3)
+         Return Subcode: (0)
+         Sender Handle: 0x00000000, Sequence: 5
+         Sender Timestamp: Receiver Timestamp: 
diff --git a/tests/lspping-fec-rsvp.out b/tests/lspping-fec-rsvp.out
new file mode 100644 (file)
index 0000000..7013fae
--- /dev/null
@@ -0,0 +1,10 @@
+MPLS (label 100704, exp 7, [S], ttl 255) IP 12.4.4.4.4529 > 127.0.0.1.3503: LSP-PINGv1, MPLS Echo Request, seq 1, length: 60
+IP 10.20.0.1.3503 > 12.4.4.4.4529: LSP-PINGv1, MPLS Echo Reply, seq 1, length: 32
+MPLS (label 100704, exp 7, [S], ttl 255) IP 12.4.4.4.4529 > 127.0.0.1.3503: LSP-PINGv1, MPLS Echo Request, seq 2, length: 60
+IP 10.20.0.1.3503 > 12.4.4.4.4529: LSP-PINGv1, MPLS Echo Reply, seq 2, length: 32
+MPLS (label 100704, exp 7, [S], ttl 255) IP 12.4.4.4.4529 > 127.0.0.1.3503: LSP-PINGv1, MPLS Echo Request, seq 3, length: 60
+IP 10.20.0.1.3503 > 12.4.4.4.4529: LSP-PINGv1, MPLS Echo Reply, seq 3, length: 32
+MPLS (label 100704, exp 7, [S], ttl 255) IP 12.4.4.4.4529 > 127.0.0.1.3503: LSP-PINGv1, MPLS Echo Request, seq 4, length: 60
+IP 10.20.0.1.3503 > 12.4.4.4.4529: LSP-PINGv1, MPLS Echo Reply, seq 4, length: 32
+MPLS (label 100704, exp 7, [S], ttl 255) IP 12.4.4.4.4529 > 127.0.0.1.3503: LSP-PINGv1, MPLS Echo Request, seq 5, length: 60
+IP 10.20.0.1.3503 > 12.4.4.4.4529: LSP-PINGv1, MPLS Echo Reply, seq 5, length: 32