suricata
IPV4Hdr_ Struct Reference

#include <decode-ipv4.h>

Data Fields

uint8_t ip_verhl
 
uint8_t ip_tos
 
uint16_t ip_len
 
uint16_t ip_id
 
uint16_t ip_off
 
uint8_t ip_ttl
 
uint8_t ip_proto
 
uint16_t ip_csum
 
union {
   struct {
      struct in_addr   ip_src
 
      struct in_addr   ip_dst
 
   }   ip4_un1
 
   uint16_t   ip_addrs [4]
 
ip4_hdrun1
 

Detailed Description

Definition at line 71 of file decode-ipv4.h.

Field Documentation

◆ ip4_hdrun1

union { ... } IPV4Hdr_::ip4_hdrun1

◆ ip4_un1

struct { ... } IPV4Hdr_::ip4_un1

◆ ip_addrs

uint16_t IPV4Hdr_::ip_addrs[4]

Definition at line 86 of file decode-ipv4.h.

◆ ip_csum

uint16_t IPV4Hdr_::ip_csum

checksum

Definition at line 80 of file decode-ipv4.h.

◆ ip_dst

struct in_addr IPV4Hdr_::ip_dst

destination address

Definition at line 86 of file decode-ipv4.h.

◆ ip_id

uint16_t IPV4Hdr_::ip_id

id

Definition at line 76 of file decode-ipv4.h.

◆ ip_len

uint16_t IPV4Hdr_::ip_len

length

Definition at line 75 of file decode-ipv4.h.

◆ ip_off

uint16_t IPV4Hdr_::ip_off

frag offset

Definition at line 77 of file decode-ipv4.h.

◆ ip_proto

uint8_t IPV4Hdr_::ip_proto

protocol (tcp, udp, etc)

Definition at line 79 of file decode-ipv4.h.

◆ ip_src

struct in_addr IPV4Hdr_::ip_src

source address

Definition at line 86 of file decode-ipv4.h.

◆ ip_tos

uint8_t IPV4Hdr_::ip_tos

type of service

Definition at line 74 of file decode-ipv4.h.

◆ ip_ttl

uint8_t IPV4Hdr_::ip_ttl

time to live

Definition at line 78 of file decode-ipv4.h.

◆ ip_verhl

uint8_t IPV4Hdr_::ip_verhl

version & header length

Definition at line 73 of file decode-ipv4.h.


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