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

/net/802/
H A Dfc.c57 fcllc->ethertype = htons(type);
88 if(fcllc->ethertype != htons(ETH_P_IP)) {
89 printk("fc_rebuild_header: Don't know how to resolve type %04X addresses ?\n", ntohs(fcllc->ethertype));
H A Dfddi.c71 fddi->hdr.llc_snap.ethertype = htons(type);
102 if (fddi->hdr.llc_snap.ethertype == htons(ETH_P_IP))
109 skb->dev->name, ntohs(fddi->hdr.llc_snap.ethertype));
143 type=fddi->hdr.llc_snap.ethertype;
H A Dhippi.c80 hip->snap.ethertype = htons(type);
106 if(hip->snap.ethertype != htons(ETH_P_IP))
108 printk(KERN_DEBUG "%s: unable to resolve type %X addresses.\n",skb->dev->name,ntohs(hip->snap.ethertype));
141 return hip->snap.ethertype;
/net/wireless/
H A Dutil.c334 u16 hdrlen, ethertype; local
422 ethertype = (payload[6] << 8) | payload[7];
425 ethertype != ETH_P_AARP && ethertype != ETH_P_IPX) ||
451 u16 hdrlen, ethertype; local
466 ethertype = (skb->data[12] << 8) | skb->data[13];
510 if (ethertype == ETH_P_AARP || ethertype == ETH_P_IPX) {
514 } else if (ethertype >= ETH_P_802_3_MIN) {
569 u16 ethertype; local
[all...]
/net/batman-adv/
H A Dsoft-interface.c150 __be16 ethertype = __constant_htons(ETH_P_BATMAN); local
172 if (vhdr->h_vlan_encapsulated_proto != ethertype)
307 __be16 ethertype = __constant_htons(ETH_P_BATMAN); local
326 if (vhdr->h_vlan_encapsulated_proto != ethertype)
H A Dhard-interface.c339 __be16 ethertype = __constant_htons(ETH_P_BATMAN); local
399 hard_iface->batman_adv_ptype.type = ethertype;
/net/mac80211/
H A Dtx.c1712 u16 ethertype, hdrlen, meshhdrlen = 0; local
1735 ethertype = (skb->data[12] << 8) | skb->data[13];
1886 !(ethertype == ETH_P_TDLS && skb->len > 14 &&
1901 cpu_to_be16(ethertype) != sdata->control_port_protocol) {
1968 (cpu_to_be16(ethertype) != sdata->control_port_protocol ||
2030 if (ethertype == ETH_P_AARP || ethertype == ETH_P_IPX) {
2034 } else if (ethertype >= ETH_P_802_3_MIN) {
H A Drx.c979 __be16 ethertype; local
986 skb_copy_bits(rx->skb, hdrlen + 6, &ethertype, 2);
987 if (ethertype == rx->sdata->control_port_protocol)
/net/openvswitch/
H A Dflow.c461 __be16 ethertype; member in struct:llc_snap_hdr
486 if (ntohs(llc->ethertype) >= ETH_P_802_3_MIN)
487 return llc->ethertype;

Completed in 170 milliseconds