Azinix

Pkt_IcmpHdr_t Struct Reference

ICMP packet header. More...

#include <pkt.h>


Data Fields

u_int8_t type
u_int8_t code
u_int16_t checksum
union {
   struct {
      u_int16_t   id
      u_int16_t   sequence
   }   echo
   u_int16_t   gateway
   struct {
      u_int16_t   unused
      u_int16_t   mtu
   }   frag
un


Detailed Description

ICMP packet header.

Taken directly from /usr/include/linux/icmp.h

Definition at line 333 of file pkt.h.


Field Documentation

u_int8_t Pkt_IcmpHdr_t::type

Definition at line 335 of file pkt.h.

u_int8_t Pkt_IcmpHdr_t::code

Definition at line 336 of file pkt.h.

u_int16_t Pkt_IcmpHdr_t::checksum

Definition at line 337 of file pkt.h.

u_int16_t Pkt_IcmpHdr_t::id

Definition at line 342 of file pkt.h.

u_int16_t Pkt_IcmpHdr_t::sequence

Definition at line 343 of file pkt.h.

struct { ... } Pkt_IcmpHdr_t::echo

u_int16_t Pkt_IcmpHdr_t::gateway

Definition at line 345 of file pkt.h.

u_int16_t Pkt_IcmpHdr_t::unused

Definition at line 348 of file pkt.h.

u_int16_t Pkt_IcmpHdr_t::mtu

Definition at line 349 of file pkt.h.

struct { ... } Pkt_IcmpHdr_t::frag

union { ... } Pkt_IcmpHdr_t::un