Lines Matching refs:fddi
53 struct fddihdr *fddi; in fddi_header() local
57 fddi = skb_push(skb, hl); in fddi_header()
58 fddi->fc = FDDI_FC_K_ASYNC_LLC_DEF; in fddi_header()
61 fddi->hdr.llc_snap.dsap = FDDI_EXTENDED_SAP; in fddi_header()
62 fddi->hdr.llc_snap.ssap = FDDI_EXTENDED_SAP; in fddi_header()
63 fddi->hdr.llc_snap.ctrl = FDDI_UI_CMD; in fddi_header()
64 fddi->hdr.llc_snap.oui[0] = 0x00; in fddi_header()
65 fddi->hdr.llc_snap.oui[1] = 0x00; in fddi_header()
66 fddi->hdr.llc_snap.oui[2] = 0x00; in fddi_header()
67 fddi->hdr.llc_snap.ethertype = htons(type); in fddi_header()
73 memcpy(fddi->saddr, saddr, dev->addr_len); in fddi_header()
75 memcpy(fddi->saddr, dev->dev_addr, dev->addr_len); in fddi_header()
79 memcpy(fddi->daddr, daddr, dev->addr_len); in fddi_header()
95 struct fddihdr *fddi = (struct fddihdr *)skb->data; in fddi_type_trans() local
106 if(fddi->hdr.llc_8022_1.dsap==0xe0) in fddi_type_trans()
114 type=fddi->hdr.llc_snap.ethertype; in fddi_type_trans()
119 if (*fddi->daddr & 0x01) in fddi_type_trans()
121 if (memcmp(fddi->daddr, dev->broadcast, FDDI_K_ALEN) == 0) in fddi_type_trans()
129 if (memcmp(fddi->daddr, dev->dev_addr, FDDI_K_ALEN)) in fddi_type_trans()