Lines Matching refs:pdu
283 static struct sk_buff *llcp_add_header(struct sk_buff *pdu, in llcp_add_header() argument
295 skb_put_data(pdu, header, LLCP_HEADER_SIZE); in llcp_add_header()
297 return pdu; in llcp_add_header()
300 static struct sk_buff *llcp_add_tlv(struct sk_buff *pdu, const u8 *tlv, in llcp_add_tlv() argument
308 skb_put_data(pdu, tlv, tlv_length); in llcp_add_tlv()
310 return pdu; in llcp_add_tlv()
657 struct sk_buff *pdu; in nfc_llcp_send_i_frame() local
708 pdu = llcp_allocate_pdu(sock, LLCP_PDU_I, in nfc_llcp_send_i_frame()
710 if (pdu == NULL) { in nfc_llcp_send_i_frame()
715 skb_put(pdu, LLCP_SEQUENCE_SIZE); in nfc_llcp_send_i_frame()
718 skb_put_data(pdu, msg_ptr, frag_len); in nfc_llcp_send_i_frame()
720 skb_queue_tail(&sock->tx_queue, pdu); in nfc_llcp_send_i_frame()
740 struct sk_buff *pdu; in nfc_llcp_send_ui_frame() local
774 pdu = nfc_alloc_send_skb(sock->dev, &sock->sk, 0, in nfc_llcp_send_ui_frame()
776 if (pdu == NULL) { in nfc_llcp_send_ui_frame()
784 pdu = llcp_add_header(pdu, dsap, ssap, LLCP_PDU_UI); in nfc_llcp_send_ui_frame()
787 skb_put_data(pdu, msg_ptr, frag_len); in nfc_llcp_send_ui_frame()
790 skb_queue_tail(&local->tx_queue, pdu); in nfc_llcp_send_ui_frame()