diff options
author | Guy Harris <gharris@sonic.net> | 2020-05-28 12:50:39 -0700 |
---|---|---|
committer | Guy Harris <gharris@sonic.net> | 2020-05-28 12:50:39 -0700 |
commit | 4e67f5b8391f7dc8be736611c5e5e5d35a2f5f1e (patch) | |
tree | c619fe6480ed7c3c0d788dabe2cd79b6130a277c /netdissect.h | |
parent | eaf9dc80f58c4bc25035931f5d636833f759ff15 (diff) | |
download | tcpdump-4e67f5b8391f7dc8be736611c5e5e5d35a2f5f1e.tar.gz |
macsec, ether: clean up printing of encrypted and changed packets.
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.
Diffstat (limited to 'netdissect.h')
-rw-r--r-- | netdissect.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/netdissect.h b/netdissect.h index 2f25d416..3123bc38 100644 --- a/netdissect.h +++ b/netdissect.h @@ -629,7 +629,8 @@ extern void lwapp_data_print(netdissect_options *, const u_char *, u_int); extern void lwres_print(netdissect_options *, const u_char *, u_int); extern void m3ua_print(netdissect_options *, const u_char *, const u_int); extern int macsec_print(netdissect_options *, const u_char **, - u_int *, u_int *, u_int *); + u_int *, u_int *, u_int *, const struct lladdr_info *, + const struct lladdr_info *); extern u_int mfr_print(netdissect_options *, const u_char *, u_int); extern void mobile_print(netdissect_options *, const u_char *, u_int); extern int mobility_print(netdissect_options *, const u_char *, const u_char *); |