Home
last modified time | relevance | path

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

/linux-2.4.37.9/net/802/
Dfc.c60 fcllc->ethertype = htons(type); in fc_header()
90 if(fcllc->ethertype != htons(ETH_P_IP)) { in fc_rebuild_header()
91 …_header: Don't know how to resolve type %04X addresses ?\n",(unsigned int)htons(fcllc->ethertype)); in fc_rebuild_header()
128 (fcllc->ethertype == ntohs(ETH_P_IP) || in fc_type_trans()
129 fcllc->ethertype == ntohs(ETH_P_ARP))) { in fc_type_trans()
131 return fcllc->ethertype; in fc_type_trans()
Dhippi.c93 hip->snap.ethertype = htons(type); in hippi_header()
118 if(hip->snap.ethertype != __constant_htons(ETH_P_IP)) in hippi_rebuild_header()
120 …KERN_DEBUG "%s: unable to resolve type %X addresses.\n",skb->dev->name,ntohs(hip->snap.ethertype)); in hippi_rebuild_header()
153 return hip->snap.ethertype; in hippi_type_trans()
Dfddi.c73 fddi->hdr.llc_snap.ethertype = htons(type); in fddi_header()
104 if (fddi->hdr.llc_snap.ethertype == __constant_htons(ETH_P_IP)) in fddi_rebuild_header()
111 skb->dev->name, htons(fddi->hdr.llc_snap.ethertype)); in fddi_rebuild_header()
144 type=fddi->hdr.llc_snap.ethertype; in fddi_type_trans()
Dtr.c108 trllc->ethertype = htons(type); in tr_header()
153 if(trllc->ethertype != htons(ETH_P_IP)) { in tr_rebuild_header()
154 …_header: Don't know how to resolve type %04X addresses ?\n",(unsigned int)htons(trllc->ethertype)); in tr_rebuild_header()
219 (trllc->ethertype == ntohs(ETH_P_IP) || in tr_type_trans()
220 trllc->ethertype == ntohs(ETH_P_IPV6) || in tr_type_trans()
221 trllc->ethertype == ntohs(ETH_P_ARP))) in tr_type_trans()
224 return trllc->ethertype; in tr_type_trans()
/linux-2.4.37.9/include/linux/
Dif_fc.h47 __u16 ethertype; /* ether type field */ member
Dif_tr.h57 __u16 ethertype; /* ether type field */ member
Dif_hippi.h147 __u16 ethertype; /* packet type ID field */ member
Dif_fddi.h88 __u16 ethertype; /* packet type ID field */ member
/linux-2.4.37.9/net/wanrouter/
Dwanmain.c444 unsigned short ethertype; in wanrouter_type_trans() local
448 ethertype = htons(ETH_P_IP); in wanrouter_type_trans()
461 ethertype = *((unsigned short*)&skb->data[cnt+4]); in wanrouter_type_trans()
473 skb->protocol = ethertype; in wanrouter_type_trans()
477 return ethertype; in wanrouter_type_trans()
/linux-2.4.37.9/drivers/message/fusion/
Dmptlan.c1612 if (fcllc->ethertype == htons(ETH_P_ARP)) in mpt_lan_type_trans()
1616 if ((fcllc->ethertype == htons(ETH_P_ARP)) && in mpt_lan_type_trans()
1680 (fcllc->ethertype == htons(ETH_P_IP) || in mpt_lan_type_trans()
1681 fcllc->ethertype == htons(ETH_P_ARP))) { in mpt_lan_type_trans()
1683 return fcllc->ethertype; in mpt_lan_type_trans()
/linux-2.4.37.9/drivers/net/pcmcia/
Drayctl.h723 UCHAR ethertype[2]; member
Dray_cs.c2472 unsigned short type = *(unsigned short *)psnap->ethertype; in untranslate()
/linux-2.4.37.9/drivers/net/wireless/
Dorinoco.c538 u16 ethertype; member
1437 printk(KERN_DEBUG " ethertype = 0x%04x\n", frame->ethertype);
1775 eh->h_proto = hdr.ethertype; in __orinoco_ev_rx()
2403 hdr.ethertype = eh->h_proto; in orinoco_xmit()
/linux-2.4.37.9/drivers/net/
Dppp_generic.c297 static inline int ethertype_to_npindex(int ethertype) in ethertype_to_npindex() argument
299 switch (ethertype) { in ethertype_to_npindex()
/linux-2.4.37.9/drivers/net/fc/
Diph5526.c2957 type = ntohs(fcllc->ethertype);