Searched refs:ethertype (Results 1 - 9 of 9) sorted by relevance
/net/802/ |
H A D | fc.c | 57 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 D | fddi.c | 71 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 D | hippi.c | 80 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 D | util.c | 334 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 D | soft-interface.c | 150 __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 D | hard-interface.c | 339 __be16 ethertype = __constant_htons(ETH_P_BATMAN); local 399 hard_iface->batman_adv_ptype.type = ethertype;
|
/net/mac80211/ |
H A D | tx.c | 1712 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 D | rx.c | 979 __be16 ethertype; local 986 skb_copy_bits(rx->skb, hdrlen + 6, ðertype, 2); 987 if (ethertype == rx->sdata->control_port_protocol)
|
/net/openvswitch/ |
H A D | flow.c | 461 __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