| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
| |
Moreover:
Remove some spaces before tabs.
Remove extra blank line.
|
|
|
|
|
|
| |
That fixes some cases where having an in-tree build and an out-of-tree
build (e.g., an in-tree autotools build and an out-of-tree CMake build)
gets the wrong config.h file.
|
|
|
|
|
|
|
| |
If the packet is encrypted or changed, so that we just print the payload
as raw data, and we're not running with -e, print the MAC addresses (if
any) and an indication that it's an 802.11AE packet, followed by the
MACsec header.
|
|
|
|
|
|
|
|
| |
If the short length is *larger* than the updated length or caplen,
report an error.
If it's *smaller* than the updated length or caplen, update the length
and caplen to the smaller short length.
|
|
|
|
|
|
|
|
|
| |
Add checks to make sure the on-the-wire length isn't too small. (Not
all versions of libpcap require that the on-the-wire length be greater
than or equal to the captured length.)
Make sure both lengths are large enough before subtracting the ICV
length.
|
|
|
|
|
|
| |
Get rid of code that knows about Ethernet; this is 802.1AE, not 802.3AE.
Get rid o some unused variables.
|
|
|
| |
Don't do it ourselves - it's not part of the MACsec header.
|
|
|
|
| |
Print the header fields directly; don't format them into a buffer
and then print that.
|
| |
|
|
|
|
| |
It's a varargs macro, so it doesn't need the extra layer of parentheses,
and it doesn't take `ndo` as an argument.
|
| |
|
| |
|
| |
|
|
|