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.c366 u16 hdrlen, ethertype; local
454 ethertype = (payload[6] << 8) | payload[7];
457 ethertype != ETH_P_AARP && ethertype != ETH_P_IPX) ||
484 u16 hdrlen, ethertype; local
499 ethertype = (skb->data[12] << 8) | skb->data[13];
543 if (ethertype == ETH_P_AARP || ethertype == ETH_P_IPX) {
547 } else if (ethertype >= ETH_P_802_3_MIN) {
602 u16 ethertype; local
[all...]
/net/batman-adv/
H A Dhard-interface.c372 __be16 ethertype = htons(ETH_P_BATMAN); local
433 hard_iface->batman_adv_ptype.type = ethertype;
H A Dsoft-interface.c159 __be16 ethertype = htons(ETH_P_BATMAN); local
188 if (vhdr->h_vlan_encapsulated_proto != ethertype)
355 __be16 ethertype = htons(ETH_P_BATMAN); local
383 if (vhdr->h_vlan_encapsulated_proto != ethertype)
/net/mac80211/
H A Dtx.c1807 u16 ethertype, hdrlen, meshhdrlen = 0; local
1830 ethertype = (skb->data[12] << 8) | skb->data[13];
1972 ethertype == ETH_P_TDLS &&
1994 cpu_to_be16(ethertype) != sdata->control_port_protocol) {
2061 (cpu_to_be16(ethertype) != sdata->control_port_protocol ||
2116 if (ethertype == ETH_P_AARP || ethertype == ETH_P_IPX) {
2120 } else if (ethertype >= ETH_P_802_3_MIN) {
H A Drx.c1044 __be16 ethertype; local
1051 skb_copy_bits(rx->skb, hdrlen + 6, &ethertype, 2);
1052 if (ethertype == rx->sdata->control_port_protocol)
/net/openvswitch/
H A Dflow.c322 __be16 ethertype; member in struct:llc_snap_hdr
347 if (ntohs(llc->ethertype) >= ETH_P_802_3_MIN)
348 return llc->ethertype;

Completed in 169 milliseconds