diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2014-08-15 10:21:01 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2014-08-15 10:21:01 +0200 |
commit | 62bdf888459a6d2ae50d2d2d00447307e0190a97 (patch) | |
tree | 5903792f1ed6fe72a010a6e470cd423ead38829d | |
parent | 6f7131bae7f31ebc39c1e6a044c46b18d7267a30 (diff) |
dissectors: Remove unnecessary includes of dissector_eth.h
dissector_eth.h is only used in dissectors which need to manipulate the
eth_lay2 and eth_lay3 hash tables. Remove the include from all
dissectors that don't access them.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
-rw-r--r-- | proto_arp.c | 1 | ||||
-rw-r--r-- | proto_icmpv4.c | 1 | ||||
-rw-r--r-- | proto_icmpv6.c | 1 | ||||
-rw-r--r-- | proto_igmp.c | 1 | ||||
-rw-r--r-- | proto_ip_esp.c | 1 | ||||
-rw-r--r-- | proto_lldp.c | 1 | ||||
-rw-r--r-- | proto_tcp.c | 1 | ||||
-rw-r--r-- | proto_udp.c | 1 |
8 files changed, 1 insertions, 7 deletions
diff --git a/proto_arp.c b/proto_arp.c index d677b3d..fcbe02b 100644 --- a/proto_arp.c +++ b/proto_arp.c @@ -8,7 +8,6 @@ #include <netinet/in.h> /* for ntohs() */ #include "proto.h" -#include "dissector_eth.h" #include "lookup.h" #include "pkt_buff.h" #include "built_in.h" diff --git a/proto_icmpv4.c b/proto_icmpv4.c index 69ec50c..5ef074d 100644 --- a/proto_icmpv4.c +++ b/proto_icmpv4.c @@ -10,7 +10,6 @@ #include "proto.h" #include "csum.h" -#include "dissector_eth.h" #include "pkt_buff.h" #include "built_in.h" diff --git a/proto_icmpv6.c b/proto_icmpv6.c index ba2af5e..47ef6a6 100644 --- a/proto_icmpv6.c +++ b/proto_icmpv6.c @@ -18,7 +18,6 @@ #include <asm/byteorder.h> #include "proto.h" -#include "dissector_eth.h" #include "pkt_buff.h" #include "built_in.h" diff --git a/proto_igmp.c b/proto_igmp.c index 0e1cfb7..e535fa7 100644 --- a/proto_igmp.c +++ b/proto_igmp.c @@ -11,7 +11,6 @@ #include "proto.h" #include "csum.h" -#include "dissector_eth.h" #include "built_in.h" #include "pkt_buff.h" diff --git a/proto_ip_esp.c b/proto_ip_esp.c index 8dabdb3..c588141 100644 --- a/proto_ip_esp.c +++ b/proto_ip_esp.c @@ -11,7 +11,6 @@ #include <netinet/in.h> /* for ntohs() */ #include "proto.h" -#include "dissector_eth.h" #include "built_in.h" #include "pkt_buff.h" diff --git a/proto_lldp.c b/proto_lldp.c index b3d2f86..9301281 100644 --- a/proto_lldp.c +++ b/proto_lldp.c @@ -12,6 +12,7 @@ #include "oui.h" #include "pkt_buff.h" #include "proto.h" +#include "protos.h" #define EXTRACT_16BIT(x) ntohs(*((uint16_t *) (x))) #define EXTRACT_32BIT(x) ntohl(*((uint32_t *) (x))) diff --git a/proto_tcp.c b/proto_tcp.c index 893b0b3..04ae858 100644 --- a/proto_tcp.c +++ b/proto_tcp.c @@ -11,7 +11,6 @@ #include <asm/byteorder.h> #include "proto.h" -#include "dissector_eth.h" #include "lookup.h" #include "built_in.h" #include "pkt_buff.h" diff --git a/proto_udp.c b/proto_udp.c index 4b4ed80..af3b82b 100644 --- a/proto_udp.c +++ b/proto_udp.c @@ -9,7 +9,6 @@ #include <netinet/in.h> /* for ntohs() */ #include "proto.h" -#include "dissector_eth.h" #include "lookup.h" #include "pkt_buff.h" |