Lines Matching refs:req_buf
1801 struct net_buf *req_buf; in bt_smp_br_send_pairing_req() local
1846 req_buf = smp_br_create_pdu(smp, BT_SMP_CMD_PAIRING_REQ, sizeof(*req)); in bt_smp_br_send_pairing_req()
1847 if (!req_buf) { in bt_smp_br_send_pairing_req()
1851 req = net_buf_add(req_buf, sizeof(*req)); in bt_smp_br_send_pairing_req()
1867 smp_br_send(smp, req_buf, NULL); in bt_smp_br_send_pairing_req()
3085 struct net_buf *req_buf; in smp_send_security_req() local
3124 req_buf = smp_create_pdu(smp, BT_SMP_CMD_SECURITY_REQUEST, in smp_send_security_req()
3126 if (!req_buf) { in smp_send_security_req()
3130 req = net_buf_add(req_buf, sizeof(*req)); in smp_send_security_req()
3134 err = bt_l2cap_send_pdu(&smp->chan, req_buf, NULL, NULL); in smp_send_security_req()
3136 net_buf_unref(req_buf); in smp_send_security_req()
3297 struct net_buf *req_buf; in sc_send_public_key() local
3299 req_buf = smp_create_pdu(smp, BT_SMP_CMD_PUBLIC_KEY, sizeof(*req)); in sc_send_public_key()
3300 if (!req_buf) { in sc_send_public_key()
3304 req = net_buf_add(req_buf, sizeof(*req)); in sc_send_public_key()
3309 smp_send(smp, req_buf, NULL, NULL); in sc_send_public_key()
3323 struct net_buf *req_buf; in smp_send_pairing_req() local
3370 req_buf = smp_create_pdu(smp, BT_SMP_CMD_PAIRING_REQ, sizeof(*req)); in smp_send_pairing_req()
3371 if (!req_buf) { in smp_send_pairing_req()
3375 req = net_buf_add(req_buf, sizeof(*req)); in smp_send_pairing_req()
3409 smp_send(smp, req_buf, NULL, NULL); in smp_send_pairing_req()