This is a low-level network debugging utility that utilizes raw packet i/o to construct and deconstruct tcp, udp, ipv4, arp, and icmp packets over ethernet.
Ethernet_FrameHeader Struct Reference
Ethernet II Frame Header Memory map. More...
#include <ethernet.h>
Data Fields | |
Ethernet_MAC | destination |
Destination MAC address (6 octets) | |
Ethernet_MAC | source |
Source MAC address (6 octets) | |
u16 | ethertype |
Ethernet type or length (only <0x600 or 0x0800 IPv4 supported) | |
unsigned char | payload [] |
Payload (used for memory mapping; has zero size) |
Detailed Description
Ethernet II Frame Header Memory map.
Definition at line 20 of file ethernet.h.
Field Documentation
Destination MAC address (6 octets)
Definition at line 22 of file ethernet.h.
Ethernet type or length (only <0x600 or 0x0800 IPv4 supported)
Definition at line 27 of file ethernet.h.
unsigned char payload[] |
Payload (used for memory mapping; has zero size)
Definition at line 29 of file ethernet.h.
Source MAC address (6 octets)
Definition at line 24 of file ethernet.h.
Generated on Tue Jul 12 2022 11:59:40 by 1.7.2