AquilaOS documentation
How it works, and its code
Loading...
Searching...
No Matches
arp_hdr Struct Reference

An ARP packet, for IPv4 over Ethernet. More...

#include <inet.h>

Data Fields

uint16_t htype
uint16_t ptype
uint8_t hlen
uint8_t plen
uint16_t op
uint8_t sha [6]
uint32_t spa
uint8_t tha [6]
uint32_t tpa

Detailed Description

An ARP packet, for IPv4 over Ethernet.

Definition at line 28 of file inet.h.

Field Documentation

◆ hlen

uint8_t arp_hdr::hlen

Definition at line 31 of file inet.h.

Referenced by arp_input(), and arp_request().

◆ htype

uint16_t arp_hdr::htype

Definition at line 29 of file inet.h.

Referenced by arp_input(), and arp_request().

◆ op

uint16_t arp_hdr::op

Definition at line 33 of file inet.h.

Referenced by arp_input(), and arp_request().

◆ plen

uint8_t arp_hdr::plen

Definition at line 32 of file inet.h.

Referenced by arp_input(), and arp_request().

◆ ptype

uint16_t arp_hdr::ptype

Definition at line 30 of file inet.h.

Referenced by arp_input(), and arp_request().

◆ sha

uint8_t arp_hdr::sha[6]

Definition at line 34 of file inet.h.

Referenced by arp_input(), and arp_request().

◆ spa

uint32_t arp_hdr::spa

Definition at line 35 of file inet.h.

Referenced by arp_input(), and arp_request().

◆ tha

uint8_t arp_hdr::tha[6]

Definition at line 36 of file inet.h.

Referenced by arp_input(), and arp_request().

◆ tpa

uint32_t arp_hdr::tpa

Definition at line 37 of file inet.h.

Referenced by arp_input(), and arp_request().


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