Lines Matching defs:pdu
78 struct llc_pdu_sn *pdu = llc_pdu_sn_hdr(skb);
80 if ((pdu->ctrl_1 & LLC_PDU_TYPE_MASK) != LLC_PDU_TYPE_U)
82 switch (LLC_U_PDU_CMD(pdu)) {
114 struct llc_pdu_un *pdu;
116 if (unlikely(!pskb_may_pull(skb, sizeof(*pdu))))
119 pdu = (struct llc_pdu_un *)skb->data;
120 if ((pdu->ctrl_1 & LLC_PDU_TYPE_MASK) == LLC_PDU_TYPE_U)
150 * @skb: received pdu
151 * @dev: device that receive pdu
156 * checks SAP and connection of received pdu and passes frame to
165 struct llc_pdu_sn *pdu;
185 pdu = llc_pdu_sn_hdr(skb);
186 if (unlikely(!pdu->dsap)) /* NULL DSAP, refer to station */
188 sap = llc_sap_find(pdu->dsap);
191 pdu->dsap);