]> The Tcpdump Group git mirrors - tcpdump/commit
DECnet: Modernize packet parsing style.
authorDenis Ovsienko <[email protected]>
Fri, 16 Oct 2020 20:10:50 +0000 (21:10 +0100)
committerDenis Ovsienko <[email protected]>
Fri, 16 Oct 2020 20:10:50 +0000 (21:10 +0100)
commitc9638df58e13230f9b84fb7ac33846fee804af43
treea3800285e95b8244ae8bba2f03158be78eac2ac0
parent9418e2b7eb4622260ad27fb3829e80e44b3b9e65
DECnet: Modernize packet parsing style.

Enable ND_LONGJMP_FROM_TCHECK. Remove a number of redundant
ND_TCHECK_SIZE() instances. Add and use standard invalid sections, in a
few cases print the reason for declaring the packet invalid. Make a few
functions void. Lose an unused structure. Update a test case.
print-decnet.c
tests/decnet.out