Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/include/uapi/linux/
Dif_fc.h27 #define FC_HLEN (sizeof(struct fch_hdr)+sizeof(struct fcllc))
44 struct fcllc { struct
/linux-6.1.9/drivers/message/fusion/
Dmptlan.c1493 struct fcllc *fcllc; in mpt_lan_type_trans() local
1526 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()