Lines Matching refs:pdu
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()
165 struct llc_pdu_sn *pdu; in llc_rcv() local
185 pdu = llc_pdu_sn_hdr(skb); in llc_rcv()
186 if (unlikely(!pdu->dsap)) /* NULL DSAP, refer to station */ in llc_rcv()
188 sap = llc_sap_find(pdu->dsap); in llc_rcv()
191 pdu->dsap); in llc_rcv()