netsniff-ng: Rename protocol dissector member of struct pkt_buff
commitf2828acdd708eea5ac95542c2258c894ef1cda9b
authorTobias Klauser <tklauser@distanz.ch>
Mon, 4 May 2015 07:51:57 +0000 (4 09:51 +0200)
committerTobias Klauser <tklauser@distanz.ch>
Mon, 4 May 2015 07:51:57 +0000 (4 09:51 +0200)
treef1054a29de62f52307c2dc0060484d964e743568
parent47fb4f6219e6936fd99d28a1e43135544d10b4ff
netsniff-ng: Rename protocol dissector member of struct pkt_buff

In commit d312a25879d5 ("netsniff-ng nlmsg: Print netlink protocol
name"), the struct protocol member of struct pkt_buff was renamed to
handler to account for the newly added proto field. However, the
corresponding function pkt_set_proto wasn't renamed which is a bit
counter-intuitive. Fix this by renaming the member again, this time to
dissector (as I don't consider handler a particulary meaningful name)
and adjust the set function's name accordingly.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
15 files changed:
dissector.c
pkt_buff.h
proto_80211_mac_hdr.c
proto_ethernet.c
proto_ip_authentication_hdr.c
proto_ipv4.c
proto_ipv6.c
proto_ipv6_dest_opts.c
proto_ipv6_fragm.c
proto_ipv6_hop_by_hop.c
proto_ipv6_mobility_hdr.c
proto_ipv6_routing.c
proto_mpls_unicast.c
proto_vlan.c
proto_vlan_q_in_q.c