diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2020-08-01 14:05:59 +0200 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2020-08-06 22:36:16 +0200 |
commit | 0c93b15d38b3f63047344fcb2ea920e73498bb3d (patch) | |
tree | f35738ae5f17b87357aecbe5b4927910ac392143 /netdissect.h | |
parent | 6855c11117b46c93c5ea83b2a9436e67f4dae254 (diff) | |
download | tcpdump-0c93b15d38b3f63047344fcb2ea920e73498bb3d.tar.gz |
Rework "Update more link-layer dissectors to void functions"
It's a follow-up to commit 81dbf4a0b05092760d0ff0cdd48c692e4769ba99.
There is no need to update ether_print(), ether_common_print() and
ether_switch_tag_print() to void functions: back to u_int functions.
There is also no need to add a flag parameter to ether_print(),
ether_common_print() and ether_switch_tag_print(): Remove it.
Diffstat (limited to 'netdissect.h')
-rw-r--r-- | netdissect.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/netdissect.h b/netdissect.h index efcf6633..3da175da 100644 --- a/netdissect.h +++ b/netdissect.h @@ -582,8 +582,8 @@ extern void eapol_print(netdissect_options *, const u_char *); extern void egp_print(netdissect_options *, const u_char *, u_int); extern void eigrp_print(netdissect_options *, const u_char *, u_int); extern void esp_print(netdissect_options *, const u_char *, u_int, const u_char *, u_int, int, u_int); -extern void ether_print(netdissect_options *, const u_char *, u_int, u_int, void (*)(netdissect_options *, const u_char *), const u_char *, u_int); -extern void ether_switch_tag_print(netdissect_options *, const u_char *, u_int, u_int, void (*)(netdissect_options *, const u_char *), u_int, u_int); +extern u_int ether_print(netdissect_options *, const u_char *, u_int, u_int, void (*)(netdissect_options *, const u_char *), const u_char *); +extern u_int ether_switch_tag_print(netdissect_options *, const u_char *, u_int, u_int, void (*)(netdissect_options *, const u_char *), u_int); extern int ethertype_print(netdissect_options *, u_short, const u_char *, u_int, u_int, const struct lladdr_info *, const struct lladdr_info *); extern u_int fddi_print(netdissect_options *, const u_char *, u_int, u_int); extern void forces_print(netdissect_options *, const u_char *, u_int); |