dissector: simplified code in dissector, removed duplicate code
commit62daf5062f10c910b7ed682d45d9281ccfd211fc
authorDaniel Borkmann <borkmann@iogearbox.net>
Sat, 24 Mar 2012 15:28:38 +0000 (24 16:28 +0100)
committerDaniel Borkmann <borkmann@iogearbox.net>
Sat, 24 Mar 2012 15:28:38 +0000 (24 16:28 +0100)
treec3ba3a297762b8d5048d41a986282410fd47ca0c
parent796299ddc20568026bed5c29e0a76ad68625b3cd
dissector: simplified code in dissector, removed duplicate code

The dissector code was quite confusing and screwed up. This patch makes
it a little more cleaner and clear to understand.

Signed-off-by: Daniel Borkmann <borkmann@iogearbox.net>
27 files changed:
src/dissector.c
src/dissector.h
src/dissector_eth.c
src/dissector_eth.h
src/hash.c
src/hash.h
src/netsniff-ng.c
src/proto_arp.h
src/proto_esp.h
src/proto_ethernet.h
src/proto_hex.h
src/proto_icmp.h
src/proto_ip_authentication_hdr.h
src/proto_ipv4.h
src/proto_ipv6.h
src/proto_ipv6_dest_opts.h
src/proto_ipv6_fragm.h
src/proto_ipv6_hop_by_hop.h
src/proto_ipv6_in_ipv4.h
src/proto_ipv6_mobility_hdr.h
src/proto_ipv6_no_nxt_hdr.h
src/proto_ipv6_routing.h
src/proto_struct.h
src/proto_tcp.h
src/proto_udp.h
src/proto_vlan.h
src/ring.h