NetBurner 3.5.0
PDF Version
 
PsudeoHeader Struct Reference

UDP IPv4 Pseudo-header segment (bits 0 through 95) More...

#include <ip.h>

Public Attributes

beuint16_t proto
 Protocol (UDP 0x11)
 
beuint16_t len
 UDP header and data.
 
IPADDR4 srcip
 Source IP address.
 
IPADDR4 dstip
 Destination IP address.
 

Detailed Description

UDP IPv4 Pseudo-header segment (bits 0 through 95)

WARNING:
This structure has the elements in a different order than usually defined. The IPChecksum is order invariant on 16 bit values. The structure is this way so it can MAP over a section of UDP and TCP IP packets without messing them up. Don't change the order.

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