|
iPXE
|
#include <stdint.h>Go to the source code of this file.
Data Structures | |
| struct | ethhdr |
| An Ethernet link-layer header. More... | |
Macros | |
| #define | ETH_ALEN 6 /* Size of Ethernet address */ |
| #define | ETH_HLEN 14 /* Size of ethernet header */ |
| #define | ETH_ZLEN 60 /* Minimum packet */ |
| #define | ETH_FRAME_LEN 1514 /* Maximum packet */ |
| #define | ETH_DATA_ALIGN 2 /* Amount needed to align the data after an ethernet header */ |
| #define | ETH_MAX_MTU (ETH_FRAME_LEN-ETH_HLEN) |
| #define | ETH_P_RAW 0x0000 /* Raw packet */ |
| #define | ETH_P_IP 0x0800 /* Internet Protocl Packet */ |
| #define | ETH_P_ARP 0x0806 /* Address Resolution Protocol */ |
| #define | ETH_P_RARP 0x8035 /* Reverse Address resolution Protocol */ |
| #define | ETH_P_8021Q 0x8100 /* 802.1Q VLAN Extended Header */ |
| #define | ETH_P_IPV6 0x86DD /* IPv6 over blueblook */ |
| #define | ETH_P_SLOW 0x8809 /* Ethernet slow protocols */ |
| #define | ETH_P_EAPOL 0x888E /* 802.1X EAP over LANs */ |
| #define | ETH_P_AOE 0x88A2 /* ATA over Ethernet */ |
| #define | ETH_P_LLDP 0x88CC /* Link Layer Discovery Protocol */ |
| #define | ETH_P_FCOE 0x8906 /* Fibre Channel over Ethernet */ |
| #define | ETH_P_FIP 0x8914 /* FCoE Initialization Protocol */ |
Functions | |
| FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
| FILE_SECBOOT (PERMITTED) | |
| struct ethhdr | __attribute__ ((packed)) |
Variables | |
| uint8_t | h_dest [ETH_ALEN] |
| Destination MAC address. | |
| uint8_t | h_source [ETH_ALEN] |
| Source MAC address. | |
| uint16_t | h_protocol |
| Protocol ID. | |
Definition at line 9 of file if_ether.h.
Referenced by __data16_array(), __vxge_hw_vpath_addr_get(), __vxge_hw_vpath_addr_get(), a3c90x_hw_start(), acpimac_decode_base16(), acpimac_decode_raw(), af_packet_nic_transmit(), af_packet_update_properties(), amd8111e_get_mac_address(), amd8111e_start(), amd8111e_transmit(), ath5k_attach(), ath5k_config(), ath5k_eeprom_read_mac(), ath5k_hw_attach(), ath5k_hw_get_lladdr(), ath5k_hw_set_bssid_mask(), ath5k_hw_set_lladdr(), ath5k_stop(), ath9k_bss_iter(), ath9k_config_bss(), ath9k_init_misc(), ath9k_init_softc(), atl1e_get_permanent_address(), atl1e_probe(), atl1e_up(), axge_open(), axge_probe(), bnx2_probe(), bnx2_transmit(), bnxt_get_device_address(), bnxt_hwrm_cfa_l2_filter_alloc(), bnxt_hwrm_func_qcaps_req(), bnxt_hwrm_func_qcfg_req(), bnxt_hwrm_set_async_event(), ccmp_decrypt(), ccmp_encrypt(), cgem_open(), cgem_probe(), cs89x0_probe(), cs89x0_reset(), cs89x0_transmit(), davicom_probe(), davicom_transmit(), dm96xx_read_mac(), dm96xx_write_mac(), dmfe_transmit(), dwmac_open(), dwmac_probe(), eapol_key_rx(), ecm_fetch_mac(), eepro_probe(), eepro_reset(), eepro_transmit(), efab_probe(), efi_set_autoboot_ll_addr(), ena_get_device_attributes(), eoib_create(), eoib_find(), epic100_transmit(), eth_eth_addr(), eth_init_addr(), eth_probe(), eth_push(), eth_random_addr(), exanic_probe_port(), falcon_probe_nvram(), fcoe_fip_rx(), flexboot_nodnic_copy_mac(), flexboot_nodnic_register_netdev(), gdbudp_recv(), gdbudp_send(), gve_describe(), hermon_bofm_harvest(), hermon_bofm_update(), hermon_register_ibdev(), hermon_register_netdev(), hunt_get_mac(), hunt_mac_addr(), hunt_rx_filter_insert(), hunt_set_mac(), ice_admin_mac_read(), ice_admin_mac_write(), ice_admin_rules(), icplus_probe(), ifec_net_open(), ifec_pci_probe(), igbvf_open(), igbvf_probe(), igbvf_reset(), intel_fetch_mac(), intel_fetch_mac_eeprom(), intelx_try_fetch_mac(), intelxl_admin_mac_read(), intelxl_admin_mac_write(), intelxlvf_admin_get_resources(), iphone_probe(), ipoib_probe(), ipoib_translate_rx_arp(), ipoib_translate_tx_arp(), mac_address_from_string_specs(), myson_open(), myson_probe(), natsemi_hwaddr_insane(), natsemi_hwaddr_sane(), natsemi_pmatch(), ne_probe(), ne_reset(), ne_transmit(), net80211_handle_assoc_reply(), net80211_handle_auth(), net80211_ll_push(), net80211_prepare_assoc(), net80211_probe_step(), net80211_register(), net80211_rx(), net80211_tx_mgmt(), net80211_tx_mgmt(), netfront_net_probe(), netfront_read_mac(), ns8390_reset(), ns8390_transmit(), pcnet32_setup_init_block(), pcnet32_setup_mac_addr(), phantom_get_macaddr(), pnic_probe(), rdc_probe(), realtek_probe(), rhine_probe(), rtl818x_config(), send_test_pkt(), sis190_get_mac_addr_from_apc(), sis190_get_mac_addr_from_eeprom(), sis190_init_rxfilter(), sis630e_get_mac_addr(), sis900_transmit(), skge_devinit(), sky2_init_netdev(), slirp_probe(), smc9000_transmit(), smsc95xx_vm3_fetch_mac(), smscusb_eeprom_fetch_mac(), smscusb_otp_fetch_mac(), smscusb_set_address(), smscusb_set_filter(), sundance_probe(), sundance_transmit(), sysmac_fetch(), t509_enable(), t509_poll(), t509_transmit(), t515_poll(), t515_transmit(), t595_poll(), t595_reset(), t595_transmit(), t5x9_probe(), tap_probe(), tkip_michael(), tkip_mix_1(), tlan_transmit(), tulip_probe(), tulip_transmit(), txnic_lmac_probe(), typeof(), vxge_hw_device_hw_info::u8(), vxge_hw_device_hw_info::u8(), vxge_vpath::u8(), vxge_vpath::u8(), undinet_probe(), virtnet_probe_legacy(), virtnet_probe_modern(), vlan_auto(), vlan_can_be_trunk(), vlan_create(), vlan_probe(), vlan_rx(), vlan_transmit(), vmxnet3_get_hw_addr(), vmxnet3_set_ll_addr(), vxge_device_register(), vxge_probe(), w89c840_probe(), w89c840_reset(), w89c840_transmit(), wpa_derive_ptk(), xsmp_rx_xve_install(), and xve_create().
Definition at line 10 of file if_ether.h.
Referenced by amd8111e_transmit(), atl1e_configure(), atl1e_configure_tx(), atl1e_init_ring_resources(), b44_init_hw(), bnx2_init_chip(), bnx2_poll(), bnx2_transmit(), cs89x0_transmit(), davicom_transmit(), dmfe_transmit(), eepro_transmit(), ena_get_device_attributes(), epic100_transmit(), gve_describe(), ice_open(), igbvf_sw_init(), intelxl_open(), intelxlvf_open(), ncm_in_complete(), ncm_probe(), ne_transmit(), ns8390_transmit(), prism2_poll(), rx_set_checksum(), sis900_transmit(), skge_rx_reuse(), skge_rx_setup(), smc9000_transmit(), sundance_transmit(), t509_transmit(), t515_transmit(), t595_transmit(), tlan_transmit(), tulip_transmit(), virtnet_probe_legacy(), virtnet_probe_modern(), and w89c840_transmit().
| #define ETH_ZLEN 60 /* Minimum packet */ |
Definition at line 11 of file if_ether.h.
Referenced by cgem_transmit(), cs89x0_transmit(), dmfe_transmit(), eoib_transmit(), epic100_transmit(), forcedeth_transmit(), igbvf_probe(), igbvf_sw_init(), legacy_transmit(), myri10ge_net_transmit(), ne_poll(), ne_transmit(), nii_transmit(), ns8390_poll(), ns8390_transmit(), pnic_transmit(), rdc_transmit(), realtek_transmit(), rhine_transmit(), send_test_pkt(), sis190_transmit(), sis900_transmit(), snpnet_transmit(), sundance_transmit(), t509_enable(), tap_transmit(), tg3_transmit(), tlan_transmit(), tulip_transmit(), txnic_lmac_open(), txnic_send(), velocity_transmit(), and w89c840_transmit().
| #define ETH_FRAME_LEN 1514 /* Maximum packet */ |
Definition at line 12 of file if_ether.h.
Referenced by alloc_etherdev(), bnx2_transmit(), falcon_reconfigure_xmac(), hermon_eth_open(), hunt_set_mac(), igbvf_probe(), legacy_poll(), mentormac_init(), myri10ge_net_open(), myri10ge_net_poll(), ne_poll(), ns8390_poll(), pnic_poll(), sky2_rx_start(), t509_transmit(), t515_transmit(), and t595_transmit().
Definition at line 13 of file if_ether.h.
Referenced by sky2_rx_alloc().
| #define ETH_MAX_MTU (ETH_FRAME_LEN-ETH_HLEN) |
Definition at line 15 of file if_ether.h.
Referenced by alloc_etherdev(), bnx2_init_chip(), bnx2_poll(), fcoe_fip_tx_solicitation(), lotest_exec(), and pxenv_undi_get_information().
| #define ETH_P_RAW 0x0000 /* Raw packet */ |
Definition at line 18 of file if_ether.h.
| #define ETH_P_IP 0x0800 /* Internet Protocl Packet */ |
Definition at line 19 of file if_ether.h.
Referenced by gdbudp_recv(), gdbudp_send(), ipoib_translate_rx(), ipoib_translate_tx(), ipoib_transmit(), pxenv_undi_isr(), and undinet_transmit().
Definition at line 20 of file if_ether.h.
Referenced by gdbudp_recv(), ipoib_translate_rx(), ipoib_translate_tx(), pxenv_undi_isr(), and undinet_transmit().
Definition at line 21 of file if_ether.h.
Referenced by pxenv_undi_isr(), and undinet_transmit().
| #define ETH_P_8021Q 0x8100 /* 802.1Q VLAN Extended Header */ |
Definition at line 22 of file if_ether.h.
Referenced by ice_admin_rules().
| #define ETH_P_IPV6 0x86DD /* IPv6 over blueblook */ |
Definition at line 23 of file if_ether.h.
| #define ETH_P_SLOW 0x8809 /* Ethernet slow protocols */ |
Definition at line 24 of file if_ether.h.
| #define ETH_P_EAPOL 0x888E /* 802.1X EAP over LANs */ |
Definition at line 25 of file if_ether.h.
| #define ETH_P_AOE 0x88A2 /* ATA over Ethernet */ |
Definition at line 26 of file if_ether.h.
| #define ETH_P_LLDP 0x88CC /* Link Layer Discovery Protocol */ |
Definition at line 27 of file if_ether.h.
| #define ETH_P_FCOE 0x8906 /* Fibre Channel over Ethernet */ |
Definition at line 28 of file if_ether.h.
| #define ETH_P_FIP 0x8914 /* FCoE Initialization Protocol */ |
Definition at line 29 of file if_ether.h.
| FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
| FILE_SECBOOT | ( | PERMITTED | ) |
| struct ethhdr __attribute__ | ( | (packed) | ) |
Destination MAC address.
Definition at line 1 of file if_ether.h.
Source MAC address.
Definition at line 3 of file if_ether.h.
| uint16_t h_protocol |
Protocol ID.
Definition at line 5 of file if_ether.h.