]> The Tcpdump Group git mirrors - tcpdump/commit
Updates for RFC 4379, bug fixes, and additional bounds checks.
authorGuy Harris <[email protected]>
Sun, 16 Oct 2016 04:41:31 +0000 (21:41 -0700)
committerFrancois-Xavier Le Bail <[email protected]>
Wed, 18 Jan 2017 08:16:40 +0000 (09:16 +0100)
commit6643795d12de5e21999f70dea2d1fa22dfb97dfe
treede346d73ac2b22881e6e9e71cd3482332c67a1f7
parent79d80f09f3852799cf2fdfa8667138e92d1e0e5d
Updates for RFC 4379, bug fixes, and additional bounds checks.

print-lspping.c was written to one of the draft-ietf-mpls-lsp-ping-13
drafts; incorporate subsequent changes that are in RFC 4379.  Not all
LV and subTLV types from that RFC are currently dissected.

Apparently, the IANA has two separate but similar registries, the BGP
Layer 2 Encapsulation Types registry and the MPLS Pseudowire Types
registry.  Have two separate tables for them, and use the tables as
appropriate.  Update them to match the current state of the registries.

11 is not the subTLV code for "BGP labeled IPv4 prefix" (and never was,
from what I can tell from looking at the I-Ds), 12 is.

Do more bounds checking.
print-lspping.c