SatCat5
satcat5::eth::ArpHeader Struct Reference

Detailed Description

Address Resolution Protocol header.

See also
eth_arp.h.

Definition at line 23 of file eth_arp.h.

#include <eth_arp.h>

Collaboration diagram for satcat5::eth::ArpHeader:
[legend]

Public Member Functions

constexpr ArpHeader ()
 Constructor for an empty header.
 
 ArpHeader (const ArpHeader &t)=default
 
ArpHeaderoperator= (const ArpHeader &t)=default
 
bool read_from (satcat5::io::Readable *rd)
 Attempt to read and validate the header.
 
void write_to (satcat5::io::Writeable *wr) const
 Write header contents to the specified destination.
 

Public Attributes

u16 oper
 ARP header fields:
 
satcat5::eth::MacAddr sha
 ARP header fields:
 
satcat5::eth::MacAddr tha
 ARP header fields:
 
satcat5::ip::Addr spa
 ARP header fields:
 
satcat5::ip::Addr tpa
 ARP header fields:
 

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