SAMV71 Xplained Ultra Software Package 1.5

PIpHeader Struct Reference

#include <D:/git/git_canopus_1/softpack/samv7/toolkits/mdk_v71/ARM/examples/Atmel/SAMV71_Xplained_Ultra/examples_ethernet/gmac/MiniIp.h>

Data Fields

uint8_t ip_hl_v
uint8_t ip_tos
uint16_t ip_len
uint16_t ip_id
uint16_t ip_off
uint8_t ip_ttl
uint8_t ip_p
uint16_t ip_sum
uint8_t ip_src [4]
uint8_t ip_dst [4]
uint16_t udp_src
uint16_t udp_dst
uint16_t udp_len
uint16_t udp_xsum

Detailed Description

IP Header structure

Definition at line 136 of file MiniIp.h.


Field Documentation

uint8_t PIpHeader::ip_dst[4]

Destination IP address

Definition at line 146 of file MiniIp.h.

uint8_t PIpHeader::ip_hl_v

header length and version

Definition at line 137 of file MiniIp.h.

uint16_t PIpHeader::ip_id

identification

Definition at line 140 of file MiniIp.h.

uint16_t PIpHeader::ip_len

total length

Definition at line 139 of file MiniIp.h.

uint16_t PIpHeader::ip_off

fragment offset field

Definition at line 141 of file MiniIp.h.

uint8_t PIpHeader::ip_p

protocol

Definition at line 143 of file MiniIp.h.

uint8_t PIpHeader::ip_src[4]

Source IP address

Definition at line 145 of file MiniIp.h.

uint16_t PIpHeader::ip_sum

checksum

Definition at line 144 of file MiniIp.h.

uint8_t PIpHeader::ip_tos

type of service

Definition at line 138 of file MiniIp.h.

uint8_t PIpHeader::ip_ttl

time to live

Definition at line 142 of file MiniIp.h.

uint16_t PIpHeader::udp_dst

UDP destination port

Definition at line 148 of file MiniIp.h.

uint16_t PIpHeader::udp_len

Length of UDP packet

Definition at line 149 of file MiniIp.h.

uint16_t PIpHeader::udp_src

UDP source port

Definition at line 147 of file MiniIp.h.

uint16_t PIpHeader::udp_xsum

Checksum

Definition at line 150 of file MiniIp.h.


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines