My Kernel v0.1.0

An ARP header. More...

#include <arp.h>

Data Fields

__be uint16_t hw_type
 Hardware Address type.
 
__be uint16_t prot_type
 Protocol address type.
 
uint8_t hw_length
 Hardware address length.
 
uint8_t prot_length
 Protocol address length.
 
__be uint16_t operation
 
mac_address_t src_mac
 Sender's hardware address.
 
__be ipv4_t src_ip
 Sender's protocol address.
 
mac_address_t dst_mac
 Recipient's hardware address (or broadcast)
 
__be ipv4_t dst_ip
 Recipient's protocol address.
 

Detailed Description

Note
An ARP header can theoretically contain multiple types of hw/proto address combinations. However, we currently only support IP over Ethernet.

Field Documentation

◆ operation

__be uint16_t arp_header::operation
See also
enum arp_operation

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