Lines Matching refs:req_buf
1709 struct net_buf *req_buf; in bt_smp_br_send_pairing_req() local
1747 req_buf = smp_br_create_pdu(smp, BT_SMP_CMD_PAIRING_REQ, sizeof(*req)); in bt_smp_br_send_pairing_req()
1748 if (!req_buf) { in bt_smp_br_send_pairing_req()
1752 req = net_buf_add(req_buf, sizeof(*req)); in bt_smp_br_send_pairing_req()
1768 smp_br_send(smp, req_buf, NULL); in bt_smp_br_send_pairing_req()
2811 struct net_buf *req_buf; in smp_send_security_req() local
2849 req_buf = smp_create_pdu(smp, BT_SMP_CMD_SECURITY_REQUEST, in smp_send_security_req()
2851 if (!req_buf) { in smp_send_security_req()
2855 req = net_buf_add(req_buf, sizeof(*req)); in smp_send_security_req()
2859 bt_l2cap_send(conn, BT_L2CAP_CID_SMP, req_buf); in smp_send_security_req()
3006 struct net_buf *req_buf; in sc_send_public_key() local
3008 req_buf = smp_create_pdu(smp, BT_SMP_CMD_PUBLIC_KEY, sizeof(*req)); in sc_send_public_key()
3009 if (!req_buf) { in sc_send_public_key()
3013 req = net_buf_add(req_buf, sizeof(*req)); in sc_send_public_key()
3018 smp_send(smp, req_buf, NULL, NULL); in sc_send_public_key()
3032 struct net_buf *req_buf; in smp_send_pairing_req() local
3072 req_buf = smp_create_pdu(smp, BT_SMP_CMD_PAIRING_REQ, sizeof(*req)); in smp_send_pairing_req()
3073 if (!req_buf) { in smp_send_pairing_req()
3077 req = net_buf_add(req_buf, sizeof(*req)); in smp_send_pairing_req()
3094 smp_send(smp, req_buf, NULL, NULL); in smp_send_pairing_req()