]> The Tcpdump Group git mirrors - tcpdump/commit
Broadcom LI: Modernize packet parsing style.
authorDenis Ovsienko <[email protected]>
Fri, 16 Oct 2020 15:09:47 +0000 (16:09 +0100)
committerDenis Ovsienko <[email protected]>
Fri, 16 Oct 2020 15:09:47 +0000 (16:09 +0100)
commit9ec0a1a346253b9f6052d37aa98c9c5ef7a28ac1
treeee9edb85441e79e08dd40231100e04e751f437ef
parentef18b6560da38cf542cdb9578de14e92fec013ba
Broadcom LI: Modernize packet parsing style.

Enable ND_LONGJMP_FROM_TCHECK. Add and use a standard invalid section.
Test bounds if not decoding the packet fully. Lose a variable, fixup
indentation and simplify some code.
print-bcm-li.c