]> The Tcpdump Group git mirrors - tcpdump/commit
Update more link-layer dissectors to void functions
authorFrancois-Xavier Le Bail <[email protected]>
Sun, 12 Jul 2020 20:27:33 +0000 (22:27 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Wed, 15 Jul 2020 07:18:35 +0000 (09:18 +0200)
commit81dbf4a0b05092760d0ff0cdd48c692e4769ba99
tree2abaed75f47f71ffe886d35e14ad3ccbcddf9835
parent96c60029b3f935eff892d1f49b52f305423e4671
Update more link-layer dissectors to void functions

brcm_tag_if_print()
brcm_tag_prepend_if_print()
dsa_if_print()
edsa_if_print()
ether_if_print()
netanalyzer_if_print()
netanalyzer_transparent_if_print()

Update ether_print(), ether_common_print() and ether_switch_tag_print()
to void functions.

Add a flag parameter to ether_print(), ether_common_print() and
ether_switch_tag_print() to increment the link-layer header length field
of the netdissect_options when needed.
The calls use TRUE when the return value of the funtions was used.
The calls with FALSE avoid increments when the calls are nested.

Moreover:
Remove trailing "_if" from some protocol names.
16 files changed:
netdissect.h
print-bcm-li.c
print-brcmtag.c
print-dsa.c
print-ether.c
print-geneve.c
print-gre.c
print-juniper.c
print-lane.c
print-llc.c
print-nsh.c
print-openflow-1.0.c
print-otv.c
print-vxlan-gpe.c
print-vxlan.c
print.c