Lines Matching full:pdu
70 * llc_pdu_type - returns which LLC component must handle for PDU
73 * This function returns which LLC component must handle this PDU.
77 int type = LLC_DEST_CONN; /* I-PDU or S-PDU type */ in llc_pdu_type()
78 struct llc_pdu_sn *pdu = llc_pdu_sn_hdr(skb); in llc_pdu_type() local
80 if ((pdu->ctrl_1 & LLC_PDU_TYPE_MASK) != LLC_PDU_TYPE_U) in llc_pdu_type()
82 switch (LLC_U_PDU_CMD(pdu)) { in llc_pdu_type()
114 struct llc_pdu_un *pdu; in llc_fixup_skb() local
116 if (unlikely(!pskb_may_pull(skb, sizeof(*pdu)))) in llc_fixup_skb()
119 pdu = (struct llc_pdu_un *)skb->data; in llc_fixup_skb()
120 if ((pdu->ctrl_1 & LLC_PDU_TYPE_MASK) == LLC_PDU_TYPE_U) in llc_fixup_skb()
144 * @skb: received pdu
145 * @dev: device that receive pdu
150 * checks SAP and connection of received pdu and passes frame to
159 struct llc_pdu_sn *pdu; in llc_rcv() local
179 pdu = llc_pdu_sn_hdr(skb); in llc_rcv()
180 if (unlikely(!pdu->dsap)) /* NULL DSAP, refer to station */ in llc_rcv()
182 sap = llc_sap_find(pdu->dsap); in llc_rcv()
185 pdu->dsap); in llc_rcv()