You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
suricata/src/decode-icmpv4.h

20 lines
348 B
C

/* Copyright (c) 2008 Victor Julien <victor@inliniac.net> */
#ifndef __DECODE_ICMPV4_H__
#define __DECODE_ICMPV4_H__
#define ICMPV4_HEADER_LEN 4
/* ICMPv4 header structure */
typedef struct _ICMPV4Hdr
{
u_int8_t type;
u_int8_t code;
u_int16_t csum;
/* XXX incomplete */
} ICMPV4Hdr;
#endif /* __DECODE_ICMPV4_H__ */