]> The Tcpdump Group git mirrors - libpcap/commit
Report an error for too-large VLAN tags, PPPoE session numbers, and Geneve VNIs.
authorGuy Harris <[email protected]>
Wed, 24 Oct 2018 03:57:13 +0000 (20:57 -0700)
committerGuy Harris <[email protected]>
Wed, 24 Oct 2018 03:57:13 +0000 (20:57 -0700)
commita9a3d70efe3533117cd049109057d9612ff32feb
treea09f11055cd470616218e50d317e63229e3b27b9
parent71abe040fa49dfcb8ba3e08e5f21896b0c7cc6e8
Report an error for too-large VLAN tags, PPPoE session numbers, and Geneve VNIs.

Also, make those unsigned values, with a separate argument to the
corresponding gen_ routines to indicate whether we *have* a value to
test; this prevents values of 0xFFFFFFFF from being treated as
equivalent to "no value" just because (on 2's complement machines; we
make no effort to support other types) 32-bit -1 and 32-bit 0xFFFFFFFF
have the same bit pattern.
gencode.c
gencode.h
grammar.y