]> The Tcpdump Group git mirrors - tcpdump/commit
Geneve: Modernize packet parsing style.
authorDenis Ovsienko <[email protected]>
Wed, 6 Jan 2021 01:32:07 +0000 (01:32 +0000)
committerDenis Ovsienko <[email protected]>
Wed, 6 Jan 2021 01:34:17 +0000 (01:34 +0000)
commit6e816702d95742b18cbeb38a65958e531e48240a
treeb2d4bcee0f5c0206a912e4a9204db0c8fa579e5d
parentab150a17ea49719140405d103192c1c3b68b01cd
Geneve: Modernize packet parsing style.

Enable ND_LONGJMP_FROM_TCHECK. Remove one redundant ND_TCHECK_*()
instance and make another one conditional. Report invalid packets as
invalid. Test that a non-Ethernet payload is fully within the packet
buffer. Add a length check to geneve_opts_print() and have it indicate
invalid tunnel options. Constify an argument. Update the packet diagrams
and refer to the RFC rather than the draft.
CHANGES
print-geneve.c