suricata
ICMPV6Hdr_ Struct Reference

#include <decode-icmpv6.h>

Collaboration diagram for ICMPV6Hdr_:

Data Fields

uint8_t type
 
uint8_t code
 
uint16_t csum
 
union {
   ICMPV6Info   icmpv6i
 
   union {
      uint32_t   unused
 
      uint32_t   error_ptr
 
      uint32_t   mtu
 
   }   icmpv6e
 
icmpv6b
 

Detailed Description

ICMPv6 header structure

Definition at line 143 of file decode-icmpv6.h.

Field Documentation

◆ code

uint8_t ICMPV6Hdr_::code

Definition at line 146 of file decode-icmpv6.h.

Referenced by DecodeICMPV6().

◆ csum

uint16_t ICMPV6Hdr_::csum

Definition at line 147 of file decode-icmpv6.h.

◆ error_ptr

uint32_t ICMPV6Hdr_::error_ptr

for types 1 and 3, should be zero

Definition at line 154 of file decode-icmpv6.h.

◆ icmpv6b

union { ... } ICMPV6Hdr_::icmpv6b

◆ icmpv6e

union { ... } ICMPV6Hdr_::icmpv6e

Informational message

◆ icmpv6i

ICMPV6Info ICMPV6Hdr_::icmpv6i

Definition at line 150 of file decode-icmpv6.h.

◆ mtu

uint32_t ICMPV6Hdr_::mtu

for type 4, pointer to the octet that originate the error

Definition at line 155 of file decode-icmpv6.h.

◆ type

uint8_t ICMPV6Hdr_::type

Definition at line 145 of file decode-icmpv6.h.

Referenced by DecodeICMPV6().

◆ unused

uint32_t ICMPV6Hdr_::unused

Definition at line 153 of file decode-icmpv6.h.


The documentation for this struct was generated from the following file: