Lines Matching refs:pdu
638 static u8 nfc_llcp_dsap(struct sk_buff *pdu) in nfc_llcp_dsap() argument
640 return (pdu->data[0] & 0xfc) >> 2; in nfc_llcp_dsap()
643 static u8 nfc_llcp_ptype(struct sk_buff *pdu) in nfc_llcp_ptype() argument
645 return ((pdu->data[0] & 0x03) << 2) | ((pdu->data[1] & 0xc0) >> 6); in nfc_llcp_ptype()
648 static u8 nfc_llcp_ssap(struct sk_buff *pdu) in nfc_llcp_ssap() argument
650 return pdu->data[1] & 0x3f; in nfc_llcp_ssap()
653 static u8 nfc_llcp_ns(struct sk_buff *pdu) in nfc_llcp_ns() argument
655 return pdu->data[2] >> 4; in nfc_llcp_ns()
658 static u8 nfc_llcp_nr(struct sk_buff *pdu) in nfc_llcp_nr() argument
660 return pdu->data[2] & 0xf; in nfc_llcp_nr()
663 static void nfc_llcp_set_nrns(struct nfc_llcp_sock *sock, struct sk_buff *pdu) in nfc_llcp_set_nrns() argument
665 pdu->data[2] = (sock->send_n << 4) | (sock->recv_n); in nfc_llcp_set_nrns()
1008 struct sk_buff *pdu; in nfc_llcp_queue_i_frames() local
1010 pdu = skb_dequeue(&sock->tx_queue); in nfc_llcp_queue_i_frames()
1011 if (pdu == NULL) in nfc_llcp_queue_i_frames()
1015 nfc_llcp_set_nrns(sock, pdu); in nfc_llcp_queue_i_frames()
1017 skb_queue_tail(&local->tx_queue, pdu); in nfc_llcp_queue_i_frames()