iPXE
Data Fields
ethhdr Struct Reference

An Ethernet link-layer header. More...

#include <if_ether.h>

Data Fields

uint8_t h_dest [ETH_ALEN]
 Destination MAC address. More...
 
uint8_t h_source [ETH_ALEN]
 Source MAC address. More...
 
uint16_t h_protocol
 Protocol ID. More...
 

Detailed Description

An Ethernet link-layer header.

Definition at line 30 of file if_ether.h.

Field Documentation

◆ h_dest

uint8_t ethhdr::h_dest[ETH_ALEN]

Destination MAC address.

Definition at line 32 of file if_ether.h.

Referenced by eoib_transmit(), eth_pull(), eth_push(), gdbudp_recv(), gdbudp_send(), ipoib_complete_recv(), ipoib_transmit(), and legacy_transmit().

◆ h_source

uint8_t ethhdr::h_source[ETH_ALEN]

Source MAC address.

Definition at line 34 of file if_ether.h.

Referenced by eoib_complete_recv(), eth_pull(), eth_push(), gdbudp_recv(), gdbudp_send(), and ipoib_complete_recv().

◆ h_protocol

uint16_t ethhdr::h_protocol

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