Home
last modified time | relevance | path

Searched refs:fcllc (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/net/802/
Dfc.c45 struct fcllc *fcllc; in fc_header() local
47 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()
/Linux-v6.6/include/uapi/linux/
Dif_fc.h27 #define FC_HLEN (sizeof(struct fch_hdr)+sizeof(struct fcllc))
44 struct fcllc { struct
/Linux-v6.6/drivers/message/fusion/
Dmptlan.c1495 struct fcllc *fcllc; in mpt_lan_type_trans() local
1528 fcllc = (struct fcllc *)skb->data; in mpt_lan_type_trans()
1533 if (fcllc->dsap == EXTENDED_SAP && in mpt_lan_type_trans()
1534 (fcllc->ethertype == htons(ETH_P_IP) || in mpt_lan_type_trans()
1535 fcllc->ethertype == htons(ETH_P_ARP))) { in mpt_lan_type_trans()
1536 skb_pull(skb, sizeof(struct fcllc)); in mpt_lan_type_trans()
1537 return fcllc->ethertype; in mpt_lan_type_trans()