friendev EtherDune TCP/IP library
|
Union of all the different protocol headers and layers to help EtherDune interpret or build packet. More...
#include <inet.h>
Public Attributes | |
struct { | |
EthernetHeader eth | |
union { | |
ARPPacket arp | |
struct { | |
IPHeader ip | |
union { | |
ICMPHeader icmp | |
struct { | |
UDPHeader udp | |
union { | |
byte udpData [566-sizeof(EthernetHeader)-sizeof(IPHeader)-sizeof(UDPHeader)] | |
DNSHeader dns | |
struct { | |
DHCPHeader dhcp | |
DHCPOptions dhcpOptions | |
} | |
} | |
} | |
struct { | |
TCPHeader tcp | |
TCPOptions tcpOptions | |
} | |
} | |
} | |
} | |
}; | |
uint8_t | raw [566] |
Union of all the different protocol headers and layers to help EtherDune interpret or build packet.
struct { ... } |
DHCPHeader EthBuffer::dhcp |
DHCPOptions EthBuffer::dhcpOptions |
EthernetHeader EthBuffer::eth |
ICMPHeader EthBuffer::icmp |
TCPOptions EthBuffer::tcpOptions |
byte EthBuffer::udpData[566 -sizeof(EthernetHeader)-sizeof(IPHeader)-sizeof(UDPHeader)] |