Voxia OS v0.0.1
Hobby Project Operating System Targeting x86-64
Loading...
Searching...
No Matches
arp_packet Struct Reference

#include <arp.h>

Data Fields

uint16_t htype
 
uint16_t ptype
 
uint8_t hlen
 
uint8_t plen
 
uint16_t oper
 
uint8_t sender_mac [6]
 
uint32_t sender_ip
 
uint8_t target_mac [6]
 
uint32_t target_ip
 

Detailed Description

Definition at line 7 of file arp.h.

Field Documentation

◆ hlen

uint8_t arp_packet::hlen

Definition at line 10 of file arp.h.

Referenced by arp_reply().

◆ htype

uint16_t arp_packet::htype

Definition at line 8 of file arp.h.

Referenced by arp_reply().

◆ oper

uint16_t arp_packet::oper

Definition at line 12 of file arp.h.

Referenced by arp_reply().

◆ plen

uint8_t arp_packet::plen

Definition at line 11 of file arp.h.

Referenced by arp_reply().

◆ ptype

uint16_t arp_packet::ptype

Definition at line 9 of file arp.h.

Referenced by arp_reply().

◆ sender_ip

uint32_t arp_packet::sender_ip

Definition at line 15 of file arp.h.

Referenced by arp_reply(), and socket_receive().

◆ sender_mac

uint8_t arp_packet::sender_mac[6]

Definition at line 14 of file arp.h.

Referenced by arp_reply().

◆ target_ip

uint32_t arp_packet::target_ip

Definition at line 18 of file arp.h.

Referenced by arp_reply(), and socket_receive().

◆ target_mac

uint8_t arp_packet::target_mac[6]

Definition at line 17 of file arp.h.

Referenced by arp_reply().


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