Lines Matching refs:rsp_buf
1285 struct net_buf *rsp_buf; in smp_br_pairing_req() local
1310 rsp_buf = smp_br_create_pdu(smp, BT_SMP_CMD_PAIRING_RSP, sizeof(*rsp)); in smp_br_pairing_req()
1311 if (!rsp_buf) { in smp_br_pairing_req()
1324 rsp = net_buf_add(rsp_buf, sizeof(*rsp)); in smp_br_pairing_req()
1336 smp_br_send(smp, rsp_buf, NULL); in smp_br_pairing_req()
1909 struct net_buf *rsp_buf; in smp_send_pairing_random() local
1911 rsp_buf = smp_create_pdu(smp, BT_SMP_CMD_PAIRING_RANDOM, sizeof(*req)); in smp_send_pairing_random()
1912 if (!rsp_buf) { in smp_send_pairing_random()
1916 req = net_buf_add(rsp_buf, sizeof(*req)); in smp_send_pairing_random()
1919 smp_send(smp, rsp_buf, NULL, NULL); in smp_send_pairing_random()
2177 struct net_buf *rsp_buf; in send_pairing_rsp() local
2179 rsp_buf = smp_create_pdu(smp, BT_SMP_CMD_PAIRING_RSP, sizeof(*rsp)); in send_pairing_rsp()
2180 if (!rsp_buf) { in send_pairing_rsp()
2184 rsp = net_buf_add(rsp_buf, sizeof(*rsp)); in send_pairing_rsp()
2187 smp_send(smp, rsp_buf, NULL, NULL); in send_pairing_rsp()