Searched refs:ethertype (Results 1 – 15 of 15) sorted by relevance
60 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()
93 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()
73 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()
108 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()
47 __u16 ethertype; /* ether type field */ member
57 __u16 ethertype; /* ether type field */ member
147 __u16 ethertype; /* packet type ID field */ member
88 __u16 ethertype; /* packet type ID field */ member
444 unsigned short ethertype; in wanrouter_type_trans() local448 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()
1612 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()
723 UCHAR ethertype[2]; member
2472 unsigned short type = *(unsigned short *)psnap->ethertype; in untranslate()
538 u16 ethertype; member1437 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()
297 static inline int ethertype_to_npindex(int ethertype) in ethertype_to_npindex() argument299 switch (ethertype) { in ethertype_to_npindex()
2957 type = ntohs(fcllc->ethertype);