ReactOS 0.4.15-dev-7788-g1ad9096
ip_hdr Struct Reference

#include <ip.h>

Collaboration diagram for ip_hdr:

Public Member Functions

 PACK_STRUCT_FIELD (u8_t _v_hl)
 
 PACK_STRUCT_FIELD (u8_t _tos)
 
 PACK_STRUCT_FIELD (u16_t _len)
 
 PACK_STRUCT_FIELD (u16_t _id)
 
 PACK_STRUCT_FIELD (u16_t _offset)
 
 PACK_STRUCT_FIELD (u8_t _ttl)
 
 PACK_STRUCT_FIELD (u8_t _proto)
 
 PACK_STRUCT_FIELD (u16_t _chksum)
 
 PACK_STRUCT_FIELD (ip_addr_p_t src)
 
 PACK_STRUCT_FIELD (ip_addr_p_t dest)
 

Public Attributes

u8_t tclass1:4
 
u8_t v:4
 
u8_t flow1:4
 
u8_t tclass2:4
 
u16_t flow2
 
u16_t len
 
u8_t nexthdr
 
u8_t hoplim
 
struct ip_addr src dest
 

Detailed Description

Definition at line 116 of file ip.h.

Member Function Documentation

◆ PACK_STRUCT_FIELD() [1/10]

ip_hdr::PACK_STRUCT_FIELD ( ip_addr_p_t  dest)

◆ PACK_STRUCT_FIELD() [2/10]

ip_hdr::PACK_STRUCT_FIELD ( ip_addr_p_t  src)

◆ PACK_STRUCT_FIELD() [3/10]

ip_hdr::PACK_STRUCT_FIELD ( u16_t  _chksum)

◆ PACK_STRUCT_FIELD() [4/10]

ip_hdr::PACK_STRUCT_FIELD ( u16_t  _id)

◆ PACK_STRUCT_FIELD() [5/10]

ip_hdr::PACK_STRUCT_FIELD ( u16_t  _len)

◆ PACK_STRUCT_FIELD() [6/10]

ip_hdr::PACK_STRUCT_FIELD ( u16_t  _offset)

◆ PACK_STRUCT_FIELD() [7/10]

ip_hdr::PACK_STRUCT_FIELD ( u8_t  _proto)

◆ PACK_STRUCT_FIELD() [8/10]

ip_hdr::PACK_STRUCT_FIELD ( u8_t  _tos)

◆ PACK_STRUCT_FIELD() [9/10]

ip_hdr::PACK_STRUCT_FIELD ( u8_t  _ttl)

◆ PACK_STRUCT_FIELD() [10/10]

ip_hdr::PACK_STRUCT_FIELD ( u8_t  _v_hl)

Member Data Documentation

◆ dest

struct ip_addr src ip_hdr::dest

Definition at line 96 of file ip.h.

Referenced by ip_forward(), ip_input(), ip_output_if(), tcp_create_segment_wnd(), and test_tcp_input().

◆ flow1

u8_t ip_hdr::flow1

Definition at line 87 of file ip.h.

◆ flow2

u16_t ip_hdr::flow2

Definition at line 92 of file ip.h.

◆ hoplim

u8_t ip_hdr::hoplim

Definition at line 95 of file ip.h.

Referenced by ip_forward(), and ip_output_if().

◆ len

u16_t ip_hdr::len

Definition at line 93 of file ip.h.

Referenced by ip_input(), and ip_output_if().

◆ nexthdr

u8_t ip_hdr::nexthdr

Definition at line 94 of file ip.h.

Referenced by ip_forward(), ip_input(), and ip_output_if().

◆ tclass1

u8_t ip_hdr::tclass1

Definition at line 86 of file ip.h.

◆ tclass2

u8_t ip_hdr::tclass2

Definition at line 87 of file ip.h.

◆ v

u8_t ip_hdr::v

Definition at line 86 of file ip.h.

Referenced by ip_input(), and ip_output_if().


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