Main Page | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

if_ether.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define ETH_ALEN   6
#define ETH_HLEN   14
#define ETH_ZLEN   60
#define ETH_DATA_LEN   1500
#define ETH_FRAME_LEN   1514
#define ETH_P_LOOP   0x0060
#define ETH_P_ECHO   0x0200
#define ETH_P_PUP   0x0400
#define ETH_P_IP   0x0800
#define ETH_P_X25   0x0805
#define ETH_P_ARP   0x0806
#define ETH_P_BPQ   0x08FF
#define ETH_P_DEC   0x6000
#define ETH_P_DNA_DL   0x6001
#define ETH_P_DNA_RC   0x6002
#define ETH_P_DNA_RT   0x6003
#define ETH_P_LAT   0x6004
#define ETH_P_DIAG   0x6005
#define ETH_P_CUST   0x6006
#define ETH_P_SCA   0x6007
#define ETH_P_RARP   0x8035
#define ETH_P_ATALK   0x809B
#define ETH_P_AARP   0x80F3
#define ETH_P_IPX   0x8137
#define ETH_P_IPV6   0x86DD
#define ETH_P_ATMMPOA   0x884c
#define ETH_P_ATMFATE   0x8884
#define ETH_P_802_3   0x0001
#define ETH_P_AX25   0x0002
#define ETH_P_ALL   0x0003
#define ETH_P_802_2   0x0004
#define ETH_P_SNAP   0x0005
#define ETH_P_DDCMP   0x0006
#define ETH_P_WAN_PPP   0x0007
#define ETH_P_PPP_MP   0x0008
#define ETH_P_LOCALTALK   0x0009
#define ETH_P_PPPTALK   0x0010
#define ETH_P_TR_802_2   0x0011
#define ETH_P_MOBITEX   0x0015
#define ETH_P_CONTROL   0x0016
#define ETH_P_IRDA   0x0017
#define enet_statistics   net_device_stats


Define Documentation

#define enet_statistics   net_device_stats
 

Definition at line 100 of file if_ether.h.

Referenced by __initfunc(), bigmac_get_counters(), ether1_open(), ether3_init_for_open(), ether3_rx(), ipddp_init(), lmc_get_stats(), RCget_stats(), sb1000_rx(), skfp_ctl_get_stats(), skmca_probe(), sktr_get_stats(), and strip_get_stats().

#define ETH_ALEN   6
 

Definition at line 29 of file if_ether.h.

Referenced by __initfunc(), adapter_init(), alloc_bridge_skb(), am79c961_mc_hash(), apfddi_init(), bif_init(), bpq_ioctl(), bpq_rcv(), br_receive_frame(), brg_open(), brg_rx(), build_setup_frame(), create_packet(), de4x5_bad_srom(), de4x5_dbg_srom(), de4x5_ioctl(), depca_dbg_open(), depca_init_ring(), depca_ioctl(), eexp_setup_filter(), eth_header_parse(), eth_type_trans(), ether_setup(), ewrk3_ioctl(), get_fdb_info(), get_hw_addr(), init586(), isdn_net_init(), isdn_net_open(), isdn_net_type_trans(), make_mc_bits(), myri_type_trans(), net_open(), net_rx(), net_send_packet(), plip_open(), plip_type_trans(), rarp_req_set(), rtl8139_set_rx_mode(), sb1000_probe(), sbni_get_packet(), send_test_pkt(), set_mac_address(), set_rx_mode(), SetMulticastFilter(), SK_lance_init(), srom_repair(), and test_bad_enet().

#define ETH_DATA_LEN   1500
 

Definition at line 32 of file if_ether.h.

#define ETH_FRAME_LEN   1514
 

Definition at line 33 of file if_ether.h.

Referenced by bigmac_init_rings(), bigmac_rx(), eth16i_interrupt(), eth16i_rx(), eth16i_tx(), ether1_init_for_open(), ether1_sendpacket(), ether1_xmit_done(), gmac_init_rings(), gmac_receive(), happy_meal_init_rings(), happy_meal_rx(), hardware_send_packet(), mace_xmit_start(), ncr885e_xmit_start(), net_send_packet(), ni5010_rx(), and sun4d_happy_meal_rx().

#define ETH_HLEN   14
 

Definition at line 30 of file if_ether.h.

Referenced by __initfunc(), ace_change_mtu(), ace_init(), ace_load_jumbo_rx_ring(), ace_load_std_rx_ring(), ace_open(), br_bpdu(), br_flood(), br_forward(), eth_copy_and_sum(), eth_header(), ether_setup(), hamachi_start_xmit(), isdn_net_adjust_hdr(), isdn_net_init(), isdn_net_type_trans(), my_eth_header(), myri_ether_init(), myri_header(), myri_rx(), and sbni_get_packet().

#define ETH_P_802_2   0x0004
 

Definition at line 71 of file if_ether.h.

Referenced by __initfunc(), arcnetA_header(), eth_type_trans(), fc_type_trans(), fddi_type_trans(), isdn_net_type_trans(), lmc_proto_type(), myri_type_trans(), plip_type_trans(), sbni_get_packet(), and tr_type_trans().

#define ETH_P_802_3   0x0001
 

Definition at line 68 of file if_ether.h.

Referenced by arcnetA_header(), arcnetA_type_trans(), eth_header(), eth_header_cache(), eth_type_trans(), isdn_net_receive(), isdn_net_type_trans(), llc_sendipdu(), llc_sendpdu(), my_eth_header(), myri_header(), myri_header_cache(), myri_type_trans(), p8022_datalink_header(), p8023_datalink_header(), plip_type_trans(), sbni_get_packet(), sbni_header(), and sbni_header_cache().

#define ETH_P_AARP   0x80F3
 

Definition at line 56 of file if_ether.h.

#define ETH_P_ALL   0x0003
 

Definition at line 70 of file if_ether.h.

Referenced by dev_add_pack(), dev_remove_pack(), and tc_classify().

#define ETH_P_ARP   0x0806
 

Definition at line 44 of file if_ether.h.

Referenced by apfddi_hard_header(), arcnetA_header(), arcnetA_type_trans(), arp_rcv(), arp_send(), arp_solicit(), fc_header(), fc_type_trans(), fddi_header(), fr_netif(), iph5526_send_packet(), irlan_eth_send_gratuitous_arp(), isdn_net_log_skb(), mac_process(), process_ARP_packet(), rx_net_packet(), strip_make_packet(), strip_send(), tr_header(), tr_type_trans(), wanrouter_encapsulate(), wanxl_intr(), wanxl_xmit(), xpds_dlci_add_fr_header(), and xpds_dlci_receive().

#define ETH_P_ATALK   0x809B
 

Definition at line 55 of file if_ether.h.

Referenced by arcnetA_header(), ipddp_xmit(), and ppp_dev_xmit().

#define ETH_P_ATMFATE   0x8884
 

Definition at line 60 of file if_ether.h.

#define ETH_P_ATMMPOA   0x884c
 

Definition at line 59 of file if_ether.h.

#define ETH_P_AX25   0x0002
 

Definition at line 69 of file if_ether.h.

Referenced by a_rxint(), ax_bump(), b_rxint(), bpq_rcv(), bpq_xmit(), do_rxpacket(), hdlc_rx_flag(), pt_rxisr(), rx_bh(), scc_net_rx(), sp_bump(), sp_header(), and yam_rx_flag().

#define ETH_P_BPQ   0x08FF
 

Definition at line 45 of file if_ether.h.

Referenced by __initfunc(), and bpq_xmit().

#define ETH_P_CONTROL   0x0016
 

Definition at line 80 of file if_ether.h.

#define ETH_P_CUST   0x6006
 

Definition at line 52 of file if_ether.h.

Referenced by cpc_trace(), and fst_intr_rx().

#define ETH_P_DDCMP   0x0006
 

Definition at line 73 of file if_ether.h.

#define ETH_P_DEC   0x6000
 

Definition at line 46 of file if_ether.h.

Referenced by lapbeth_data_transmit(), and lapbeth_init().

#define ETH_P_DIAG   0x6005
 

Definition at line 51 of file if_ether.h.

#define ETH_P_DNA_DL   0x6001
 

Definition at line 47 of file if_ether.h.

#define ETH_P_DNA_RC   0x6002
 

Definition at line 48 of file if_ether.h.

#define ETH_P_DNA_RT   0x6003
 

Definition at line 49 of file if_ether.h.

#define ETH_P_ECHO   0x0200
 

Definition at line 40 of file if_ether.h.

#define ETH_P_IP   0x0800
 

Definition at line 42 of file if_ether.h.

Referenced by apfddi_hard_header(), arcnetA_header(), arcnetA_type_trans(), arp_rcv(), arp_send(), bif_rx(), cisco_netif(), comxlapb_data_indication(), ctc_irq_bh(), divert_frame(), dlci_header(), dlci_receive(), eth_copy_and_sum(), eth_rebuild_header(), fc_header(), fc_rebuild_header(), fc_type_trans(), fddi_header(), fddi_rebuild_header(), fr_hard_header(), fr_netif(), fr_rx(), hamachi_start_xmit(), hdlc_netif_rx(), hippi_rebuild_header(), if_header(), incoming_call(), ip_finish_output(), ip_mc_output(), ip_route_input_mc(), ip_route_input_slow(), ipgre_err(), ipgre_tunnel_xmit(), iph5526_send_packet(), ipip_rcv(), ipip_tunnel_xmit(), isdn_net_ciscohdlck_receive(), isdn_net_log_skb(), isdn_net_rebuild_header(), isdn_net_receive(), isdn_net_unreachable(), isdn_ppp_push_higher(), isdn_ppp_xmit(), iucv_rx(), mac_process(), myri_rebuild_header(), new_if(), ppp_dev_xmit(), process_IP_packet(), process_udp_mgmt_pkt(), rarp_rcv(), rcv_proto_ip(), rx_intr(), sfq_hash(), sl_bump(), sppp_hard_header(), sppp_input(), strip_make_packet(), tcp_v6_conn_request(), tcp_v6_do_rcv(), tcp_v6_get_sock(), tcp_v6_syn_recv_sock(), tr_header(), tr_rebuild_header(), tr_type_trans(), udpv6_recvmsg(), wanrouter_encapsulate(), wanrouter_type_trans(), wanxl_intr(), wanxl_xmit(), x25_place_call(), xpds_dlci_add_fr_header(), and xpds_dlci_receive().

#define ETH_P_IPV6   0x86DD
 

Definition at line 58 of file if_ether.h.

Referenced by cisco_netif(), fr_hard_header(), fr_netif(), igmp6_send(), ip6_nd_hdr(), ip6_output(), ipgre_tunnel_xmit(), ipip6_rcv(), ipip6_tunnel_xmit(), ndisc_build_ll_hdr(), ppp_dev_xmit(), rcv_proto_ipv6(), reasm_frag(), sfq_hash(), and tcp_v6_init_sequence().

#define ETH_P_IPX   0x8137
 

Definition at line 57 of file if_ether.h.

Referenced by arcnetA_header(), cisco_netif(), handle_IPXWAN(), if_header(), if_send(), incoming_call(), isdn_ppp_push_higher(), isdn_ppp_xmit(), pEII_datalink_header(), ppp_dev_xmit(), ppp_send(), rcv_proto_ipx(), rx_intr(), sppp_hard_header(), sppp_input(), and wanrouter_encapsulate().

#define ETH_P_IRDA   0x0017
 

Definition at line 81 of file if_ether.h.

Referenced by async_bump(), ircc_dma_receive_complete(), irda_proto_init(), irlap_queue_xmit(), nsc_ircc_dma_receive_complete(), toshoboe_interrupt(), and w83977af_dma_receive_complete().

#define ETH_P_LAT   0x6004
 

Definition at line 50 of file if_ether.h.

#define ETH_P_LOCALTALK   0x0009
 

Definition at line 76 of file if_ether.h.

Referenced by cops_rx(), and sendup_buffer().

#define ETH_P_LOOP   0x0060
 

Definition at line 39 of file if_ether.h.

#define ETH_P_MOBITEX   0x0015
 

Definition at line 79 of file if_ether.h.

#define ETH_P_PPP_MP   0x0008
 

Definition at line 75 of file if_ether.h.

#define ETH_P_PPPTALK   0x0010
 

Definition at line 77 of file if_ether.h.

Referenced by ppp_dev_xmit(), and rcv_proto_at().

#define ETH_P_PUP   0x0400
 

Definition at line 41 of file if_ether.h.

#define ETH_P_RARP   0x8035
 

Definition at line 54 of file if_ether.h.

Referenced by apfddi_hard_header(), arcnetA_header(), arcnetA_type_trans(), rarp_init_pkt(), and rarp_rcv().

#define ETH_P_SCA   0x6007
 

Definition at line 53 of file if_ether.h.

#define ETH_P_SNAP   0x0005
 

Definition at line 72 of file if_ether.h.

Referenced by snap_rcv().

#define ETH_P_TR_802_2   0x0011
 

Definition at line 78 of file if_ether.h.

#define ETH_P_WAN_PPP   0x0007
 

Definition at line 74 of file if_ether.h.

Referenced by fst_intr_rx(), hdlc_netif_rx(), hostess_input(), lmc_proto_type(), lmc_rx(), sealevel_input(), sppp_rx_done(), and sync_ppp_init().

#define ETH_P_X25   0x0805
 

Definition at line 43 of file if_ether.h.

Referenced by comxlapb_connected(), comxlapb_data_indication(), comxlapb_disconnected(), cpc_net_rx(), isdn_x25iface_connect_ind(), isdn_x25iface_disconn_ind(), isdn_x25iface_receive(), lapbeth_connected(), lapbeth_data_indication(), lapbeth_data_transmit(), lapbeth_disconnected(), x25_asy_bump(), x25_asy_connected(), and x25_asy_disconnected().

#define ETH_ZLEN   60
 

Definition at line 31 of file if_ether.h.

Referenced by am79c961_sendpacket(), ariadne_start_xmit(), arlan_tx(), bigmac_rx(), bionet_send_packet(), cpm_enet_start_xmit(), depca_start_xmit(), eepro_send_packet(), eexp_xmit(), ei_start_xmit(), el16_send_packet(), el_start_xmit(), elmc_send_packet(), epic_start_xmit(), eth16i_tx(), ether1_sendpacket(), ether3_sendpacket(), gmac_receive(), happy_meal_rx(), hardware_send_packet(), hp100_start_xmit_bm(), i596_start_xmit(), lance_open(), lance_start_xmit(), lcs_txpacket(), load_packet(), mc32_send_packet(), net_send_packet(), ni5010_send_packet(), ni52_send_packet(), ni65_send_packet(), qe_rx(), rtl8129_start_xmit(), rtl8129_tx_timeout(), rtl8139_start_xmit(), seeq8005_send_packet(), send_test_pkt(), sgiseeq_start_xmit(), SK_send_packet(), smc_hardware_send_packet(), smc_wait_to_send_packet(), sonic_send_packet(), start_tx(), sun4c_bigmac_rx(), sun4c_happy_meal_rx(), sun4d_happy_meal_rx(), wv_packet_write(), and znet_send_packet().