Searched refs:fcllc (Results 1 – 3 of 3) sorted by relevance
45 struct fcllc *fcllc; in fc_header() local47 hdr_len = sizeof(struct fch_hdr) + sizeof(struct fcllc); in fc_header()49 fcllc = (struct fcllc *)(fch+1); in fc_header()50 fcllc->dsap = fcllc->ssap = EXTENDED_SAP; in fc_header()51 fcllc->llc = UI_CMD; in fc_header()52 fcllc->protid[0] = fcllc->protid[1] = fcllc->protid[2] = 0x00; in fc_header()53 fcllc->ethertype = htons(type); in fc_header()
27 #define FC_HLEN (sizeof(struct fch_hdr)+sizeof(struct fcllc))44 struct fcllc { struct
1493 struct fcllc *fcllc; in mpt_lan_type_trans() local1526 fcllc = (struct fcllc *)skb->data; in mpt_lan_type_trans()1531 if (fcllc->dsap == EXTENDED_SAP && in mpt_lan_type_trans()1532 (fcllc->ethertype == htons(ETH_P_IP) || in mpt_lan_type_trans()1533 fcllc->ethertype == htons(ETH_P_ARP))) { in mpt_lan_type_trans()1534 skb_pull(skb, sizeof(struct fcllc)); in mpt_lan_type_trans()1535 return fcllc->ethertype; in mpt_lan_type_trans()
Completed in 9 milliseconds