Home
last modified time | relevance | path

Searched refs:ethertype (Results 1 – 9 of 9) sorted by relevance

/net/802/
Dhippi.c80 hip->snap.ethertype = htons(type); in hippi_header()
106 if(hip->snap.ethertype != htons(ETH_P_IP)) in hippi_rebuild_header()
108 …KERN_DEBUG "%s: unable to resolve type %X addresses.\n",skb->dev->name,ntohs(hip->snap.ethertype)); in hippi_rebuild_header()
141 return hip->snap.ethertype; in hippi_type_trans()
Dfddi.c71 fddi->hdr.llc_snap.ethertype = htons(type); in fddi_header()
102 if (fddi->hdr.llc_snap.ethertype == htons(ETH_P_IP)) in fddi_rebuild_header()
109 skb->dev->name, ntohs(fddi->hdr.llc_snap.ethertype)); in fddi_rebuild_header()
143 type=fddi->hdr.llc_snap.ethertype; in fddi_type_trans()
Dfc.c57 fcllc->ethertype = htons(type); in fc_header()
88 if(fcllc->ethertype != htons(ETH_P_IP)) { in fc_rebuild_header()
89 …k("fc_rebuild_header: Don't know how to resolve type %04X addresses ?\n", ntohs(fcllc->ethertype)); in fc_rebuild_header()
/net/wireless/
Dutil.c366 u16 hdrlen, ethertype; in ieee80211_data_to_8023() local
454 ethertype = (payload[6] << 8) | payload[7]; in ieee80211_data_to_8023()
457 ethertype != ETH_P_AARP && ethertype != ETH_P_IPX) || in ieee80211_data_to_8023()
484 u16 hdrlen, ethertype; in ieee80211_data_from_8023() local
499 ethertype = (skb->data[12] << 8) | skb->data[13]; in ieee80211_data_from_8023()
543 if (ethertype == ETH_P_AARP || ethertype == ETH_P_IPX) { in ieee80211_data_from_8023()
547 } else if (ethertype >= ETH_P_802_3_MIN) { in ieee80211_data_from_8023()
602 u16 ethertype; in ieee80211_amsdu_to_8023s() local
666 ethertype = (payload[6] << 8) | payload[7]; in ieee80211_amsdu_to_8023s()
669 ethertype != ETH_P_AARP && ethertype != ETH_P_IPX) || in ieee80211_amsdu_to_8023s()
/net/batman-adv/
Dsoft-interface.c159 __be16 ethertype = htons(ETH_P_BATMAN); in batadv_interface_tx() local
189 if (vhdr->h_vlan_encapsulated_proto != ethertype) { in batadv_interface_tx()
360 __be16 ethertype = htons(ETH_P_BATMAN); in batadv_interface_rx() local
394 if (vhdr->h_vlan_encapsulated_proto != ethertype) in batadv_interface_rx()
Dhard-interface.c372 __be16 ethertype = htons(ETH_P_BATMAN); in batadv_hardif_enable_interface() local
433 hard_iface->batman_adv_ptype.type = ethertype; in batadv_hardif_enable_interface()
/net/openvswitch/
Dflow.c322 __be16 ethertype; in parse_ethertype() member
347 if (ntohs(llc->ethertype) >= ETH_P_802_3_MIN) in parse_ethertype()
348 return llc->ethertype; in parse_ethertype()
/net/mac80211/
Dtx.c1805 u16 ethertype, hdrlen, meshhdrlen = 0; in ieee80211_subif_start_xmit() local
1828 ethertype = (skb->data[12] << 8) | skb->data[13]; in ieee80211_subif_start_xmit()
1970 ethertype == ETH_P_TDLS && in ieee80211_subif_start_xmit()
1992 cpu_to_be16(ethertype) != sdata->control_port_protocol) { in ieee80211_subif_start_xmit()
2059 (cpu_to_be16(ethertype) != sdata->control_port_protocol || in ieee80211_subif_start_xmit()
2114 if (ethertype == ETH_P_AARP || ethertype == ETH_P_IPX) { in ieee80211_subif_start_xmit()
2118 } else if (ethertype >= ETH_P_802_3_MIN) { in ieee80211_subif_start_xmit()
Drx.c1045 __be16 ethertype; in ieee80211_rx_h_check() local
1052 skb_copy_bits(rx->skb, hdrlen + 6, &ethertype, 2); in ieee80211_rx_h_check()
1053 if (ethertype == rx->sdata->control_port_protocol) in ieee80211_rx_h_check()