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.h File Reference
Ethernet frame header. More...
Go to the source code of this file.
Data Structures | |
struct | Ethernet_MAC |
Ethernet MAC address memory map. More... | |
struct | Ethernet_FrameHeader |
Ethernet II Frame Header Memory map. More... | |
Functions | |
void | fix_endian_ethernet (Ethernet_FrameHeader *header) |
Convert from wire to host or host to wire endian-ness. | |
void | print_ethernet (Ethernet_FrameHeader *frame) |
Print out an ethernet packet. |
Detailed Description
Ethernet frame header.
This file contains the memory map and associated functions for Ethernet frame header creation and deconstruction.
Definition in file ethernet.h.
Function Documentation
void fix_endian_ethernet | ( | Ethernet_FrameHeader * | header ) |
Convert from wire to host or host to wire endian-ness.
Definition at line 33 of file ethernet.h.
void print_ethernet | ( | Ethernet_FrameHeader * | frame ) |
Print out an ethernet packet.
Definition at line 39 of file ethernet.h.
Generated on Tue Jul 12 2022 11:59:40 by 1.7.2