Searched refs:fcllc (Results 1 – 3 of 3) sorted by relevance
49 struct fcllc *fcllc; in fc_header() local51 hdr_len = sizeof(struct fch_hdr) + sizeof(struct fcllc); in fc_header()53 fcllc = (struct fcllc *)(fch+1); in fc_header()54 fcllc->dsap = fcllc->ssap = EXTENDED_SAP; in fc_header()55 fcllc->llc = UI_CMD; in fc_header()56 fcllc->protid[0] = fcllc->protid[1] = fcllc->protid[2] = 0x00; in fc_header()57 fcllc->ethertype = htons(type); in fc_header()
27 #define FC_HLEN (sizeof(struct fch_hdr)+sizeof(struct fcllc))44 struct fcllc { struct
1490 struct fcllc *fcllc; in mpt_lan_type_trans() local1523 fcllc = (struct fcllc *)skb->data; in mpt_lan_type_trans()1528 if (fcllc->dsap == EXTENDED_SAP && in mpt_lan_type_trans()1529 (fcllc->ethertype == htons(ETH_P_IP) || in mpt_lan_type_trans()1530 fcllc->ethertype == htons(ETH_P_ARP))) { in mpt_lan_type_trans()1531 skb_pull(skb, sizeof(struct fcllc)); in mpt_lan_type_trans()1532 return fcllc->ethertype; in mpt_lan_type_trans()