]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
icmpv4: remove unused declarations
authorVictor Julien <victor@inliniac.net>
Wed, 16 Dec 2015 09:49:50 +0000 (10:49 +0100)
committerVictor Julien <victor@inliniac.net>
Thu, 17 Dec 2015 14:19:58 +0000 (15:19 +0100)
src/decode-icmpv4.h

index 02184dfd340179080e337795da3512962ceff930..da5821d675e03c7c9df8286d3437627a7847f206 100644 (file)
@@ -236,13 +236,6 @@ typedef struct ICMPV4Vars_
 
 /* If message is Error */
 
-/** macro for icmpv4 "unused" access */
-#define ICMPV4_GET_UNUSED(p)       (p)->icmpv4h->icmpv4b.icmpv4e.unused
-/** macro for icmpv4 "error_ptr" access */
-#define ICMPV4_GET_ERROR_PTR(p)    (p)->icmpv4h->icmpv4b.icmpv4e.error_ptr
-/** macro for icmpv4 "mtu" access */
-#define ICMPV4_GET_MTU(p)          (p)->icmpv4h->icmpv4b.icmpv4e.mtu
-
 /** macro for icmpv4 embedded "protocol" access */
 #define ICMPV4_GET_EMB_PROTO(p)    (p)->icmpv4vars.emb_ip4_proto
 /** macro for icmpv4 embedded "ipv4h" header access */
@@ -282,9 +275,6 @@ typedef struct ICMPV4Vars_
         ICMPV4_GET_TYPE((p)) == ICMP_TIME_EXCEEDED || \
         ICMPV4_GET_TYPE((p)) == ICMP_PARAMETERPROB)
 
-typedef struct ICMPV4Cache_ {
-} ICMPV4Cache;
-
 void DecodeICMPV4RegisterTests(void);
 
 /** ------ Inline functions ------ */