uc-sdk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
ip_hdr Struct Reference

#include <ip.h>

Public Member Functions

 PACK_STRUCT_FIELD (u16_t _v_hl_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

ip_hdr::PACK_STRUCT_FIELD ( u16_t  _v_hl_tos)
ip_hdr::PACK_STRUCT_FIELD ( u16_t  _len)
ip_hdr::PACK_STRUCT_FIELD ( u16_t  _id)
ip_hdr::PACK_STRUCT_FIELD ( u16_t  _offset)
ip_hdr::PACK_STRUCT_FIELD ( u8_t  _ttl)
ip_hdr::PACK_STRUCT_FIELD ( u8_t  _proto)
ip_hdr::PACK_STRUCT_FIELD ( u16_t  _chksum)
ip_hdr::PACK_STRUCT_FIELD ( ip_addr_p_t  src)
ip_hdr::PACK_STRUCT_FIELD ( ip_addr_p_t  dest)

Member Data Documentation

struct ip_addr src ip_hdr::dest

Definition at line 96 of file ip.h.

u8_t ip_hdr::flow1

Definition at line 87 of file ip.h.

u16_t ip_hdr::flow2

Definition at line 92 of file ip.h.

u8_t ip_hdr::hoplim

Definition at line 95 of file ip.h.

u16_t ip_hdr::len

Definition at line 93 of file ip.h.

u8_t ip_hdr::nexthdr

Definition at line 94 of file ip.h.

u8_t ip_hdr::tclass1

Definition at line 86 of file ip.h.

u8_t ip_hdr::tclass2

Definition at line 87 of file ip.h.

u8_t ip_hdr::v

Definition at line 86 of file ip.h.


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