/Zephyr-latest/subsys/bluetooth/host/ |
D | hci_common.c | 21 hdr = net_buf_add(buf, sizeof(*hdr)); in bt_hci_evt_create() 35 cc = net_buf_add(buf, sizeof(*cc)); in bt_hci_cmd_complete_create() 49 cs = net_buf_add(buf, sizeof(*cs)); in bt_hci_cmd_status_create()
|
D | hci_ecc.c | 85 hdr = net_buf_add(buf, sizeof(*hdr)); in send_cmd_status() 89 evt = net_buf_add(buf, sizeof(*evt)); in send_cmd_status() 158 hdr = net_buf_add(buf, sizeof(*hdr)); in emulate_le_p256_public_key_cmd() 162 meta = net_buf_add(buf, sizeof(*meta)); in emulate_le_p256_public_key_cmd() 165 evt = net_buf_add(buf, sizeof(*evt)); in emulate_le_p256_public_key_cmd() 227 hdr = net_buf_add(buf, sizeof(*hdr)); in emulate_le_generate_dhkey() 231 meta = net_buf_add(buf, sizeof(*meta)); in emulate_le_generate_dhkey() 234 evt = net_buf_add(buf, sizeof(*evt)); in emulate_le_generate_dhkey()
|
D | smp_null.c | 60 hdr = net_buf_add(buf, sizeof(*hdr)); in bt_smp_recv() 63 rsp = net_buf_add(buf, sizeof(*rsp)); in bt_smp_recv()
|
D | direction.c | 133 cp = net_buf_add(buf, sizeof(*cp)); in hci_df_set_cl_cte_tx_params() 140 uint8_t *dest_ant_ids = net_buf_add(buf, params->num_ant_ids); in hci_df_set_cl_cte_tx_params() 219 cp = net_buf_add(buf, sizeof(*cp)); in hci_df_set_adv_cte_tx_enable() 301 cp = net_buf_add(*buf, sizeof(*cp)); in prepare_cl_cte_rx_enable_cmd_params() 327 dest_ant_ids = net_buf_add(*buf, cp->switch_pattern_len); in prepare_cl_cte_rx_enable_cmd_params() 496 cp = net_buf_add(buf, sizeof(*cp)); in prepare_conn_cte_tx_params_cmd() 505 ant_ids = net_buf_add(buf, cp->switch_pattern_len); in prepare_conn_cte_tx_params_cmd() 592 cp = net_buf_add(*buf, sizeof(*cp)); in prepare_conn_cte_rx_enable_cmd_params() 618 dest_ant_ids = net_buf_add(*buf, cp->switch_pattern_len); in prepare_conn_cte_rx_enable_cmd_params() 796 cp = net_buf_add(buf, sizeof(*cp)); in prepare_conn_cte_req_enable_cmd_params() [all …]
|
D | cs.c | 288 cp = net_buf_add(buf, sizeof(*cp)); in bt_le_cs_read_remote_supported_capabilities() 421 cp = net_buf_add(buf, sizeof(*cp)); in bt_le_cs_set_default_settings() 448 cp = net_buf_add(buf, sizeof(*cp)); in bt_le_cs_read_remote_fae_table() 500 cp = net_buf_add(buf, sizeof(*cp)); in bt_le_cs_start_test() 858 cp = net_buf_add(buf, sizeof(*cp)); in bt_le_cs_create_config() 891 cp = net_buf_add(buf, sizeof(*cp)); in bt_le_cs_remove_config() 908 cp = net_buf_add(buf, sizeof(*cp)); in bt_le_cs_security_enable() 925 cp = net_buf_add(buf, sizeof(*cp)); in bt_le_cs_procedure_enable() 944 cp = net_buf_add(buf, sizeof(*cp)); in bt_le_cs_set_procedure_parameters() 973 cp = net_buf_add(buf, 10); in bt_le_cs_set_channel_classification() [all …]
|
D | hci_core.c | 251 cp = net_buf_add(buf, sizeof(*cp)); in bt_send_one_host_num_completed_packets() 254 hc = net_buf_add(buf, sizeof(*hc)); in bt_send_one_host_num_completed_packets() 333 hdr = net_buf_add(buf, sizeof(*hdr)); in bt_hci_cmd_create() 717 cp = net_buf_add(buf, sizeof(*cp)); in bt_le_create_conn_ext() 742 phy = net_buf_add(buf, sizeof(*phy)); in bt_le_create_conn_ext() 752 phy = net_buf_add(buf, sizeof(*phy)); in bt_le_create_conn_ext() 787 cp = net_buf_add(buf, sizeof(*cp)); in bt_le_create_conn_synced() 805 phy = net_buf_add(buf, sizeof(*phy)); in bt_le_create_conn_synced() 837 cp = net_buf_add(buf, sizeof(*cp)); in bt_le_create_conn_legacy() 906 disconn = net_buf_add(buf, sizeof(*disconn)); in bt_hci_disconnect() [all …]
|
D | ecc.c | 179 cp = net_buf_add(buf, sizeof(*cp)); in hci_generate_dhkey_v1() 195 cp = net_buf_add(buf, sizeof(*cp)); in hci_generate_dhkey_v2()
|
D | scan.c | 130 cp = net_buf_add(buf, sizeof(*cp)); in cmd_le_set_ext_scan_enable() 160 cp = net_buf_add(buf, sizeof(*cp)); in cmd_le_set_scan_enable_legacy() 252 set_param = net_buf_add(buf, sizeof(*set_param)); in start_le_scan_ext() 1135 cp = net_buf_add(buf, sizeof(*cp)); in per_adv_sync_terminate() 1329 cp = net_buf_add(buf, sizeof(*cp)); in bt_le_per_adv_sync_subevent() 1369 cp = net_buf_add(buf, sizeof(*cp)); in bt_le_per_adv_set_response_data() 1896 cp = net_buf_add(buf, sizeof(*cp)); in bt_le_per_adv_sync_create() 2099 cp = net_buf_add(buf, sizeof(*cp)); in bt_le_set_per_adv_recv_enable() 2158 cp = net_buf_add(buf, sizeof(*cp)); in bt_le_per_adv_sync_transfer() 2198 cp = net_buf_add(buf, sizeof(*cp)); in past_param_set() [all …]
|
/Zephyr-latest/subsys/bluetooth/mesh/shell/ |
D | hci.c | 43 cp = net_buf_add(buf, sizeof(*cp)); in cmd_mesh_adv() 70 cp = net_buf_add(buf, sizeof(*cp)); in cmd_mesh_adv()
|
/Zephyr-latest/tests/net/arp/src/ |
D | main.c | 187 net_buf_add(pkt->buffer, sizeof(struct net_eth_hdr)); in prepare_arp_reply() 197 net_buf_add(pkt->buffer, sizeof(struct net_eth_hdr)); in prepare_arp_reply() 216 net_buf_add(pkt->buffer, sizeof(struct net_arp_hdr)); in prepare_arp_reply() 238 net_buf_add(req->buffer, sizeof(struct net_eth_hdr)); in prepare_arp_request() 249 net_buf_add(pkt->buffer, sizeof(struct net_eth_hdr)); in prepare_arp_request() 266 net_buf_add(pkt->buffer, sizeof(struct net_arp_hdr)); in prepare_arp_request() 371 ipv4 = (struct net_ipv4_hdr *)net_buf_add(pkt->buffer, in ZTEST() 376 memcpy(net_buf_add(pkt->buffer, len), app_data, len); in ZTEST() 528 net_buf_add(pkt->buffer, sizeof(struct net_arp_hdr)); in ZTEST() 569 net_buf_add(pkt->buffer, sizeof(struct net_arp_hdr)); in ZTEST() [all …]
|
/Zephyr-latest/subsys/bluetooth/host/classic/ |
D | ssp.c | 55 cp = net_buf_add(buf, sizeof(*cp)); in pin_code_neg_reply() 73 cp = net_buf_add(buf, sizeof(*cp)); in pin_code_reply() 189 cp = net_buf_add(buf, sizeof(*cp)); in ssp_confirm_reply() 207 cp = net_buf_add(buf, sizeof(*cp)); in ssp_confirm_neg_reply() 306 cp = net_buf_add(buf, sizeof(*cp)); in ssp_passkey_reply() 325 cp = net_buf_add(buf, sizeof(*cp)); in ssp_passkey_neg_reply() 344 auth = net_buf_add(buf, sizeof(*auth)); in conn_auth() 533 cp = net_buf_add(buf, sizeof(*cp)); in link_key_neg_reply() 551 cp = net_buf_add(buf, sizeof(*cp)); in link_key_reply() 608 cp = net_buf_add(resp_buf, sizeof(*cp)); in io_capa_neg_reply() [all …]
|
D | br.c | 41 cp = net_buf_add(buf, sizeof(*cp)); in reject_conn() 64 cp = net_buf_add(buf, sizeof(*cp)); in accept_conn() 119 cp = net_buf_add(buf, sizeof(*cp)); in br_sufficient_key_size() 254 cp = net_buf_add(buf, sizeof(*cp)); in bt_hci_conn_complete() 270 cp = net_buf_add(buf, sizeof(*cp)); in request_name() 625 cp = net_buf_add(buf, sizeof(*cp)); in bt_hci_read_remote_features_complete() 698 cp = net_buf_add(buf, sizeof(*cp)); in read_ext_features() 811 ssp_cp = net_buf_add(buf, sizeof(*ssp_cp)); in bt_br_init() 824 inq_cp = net_buf_add(buf, sizeof(*inq_cp)); in bt_br_init() 837 name_cp = net_buf_add(buf, sizeof(*name_cp)); in bt_br_init() [all …]
|
D | l2cap_br.c | 452 hdr = net_buf_add(buf, sizeof(*hdr)); in l2cap_br_get_info() 457 info = net_buf_add(buf, sizeof(*info)); in l2cap_br_get_info() 609 hdr_info = net_buf_add(rsp_buf, sizeof(*hdr_info)); in l2cap_br_info_req() 613 rsp = net_buf_add(rsp_buf, sizeof(*rsp)); in l2cap_br_info_req() 626 (void)memset(net_buf_add(rsp_buf, 8), 0, 8); in l2cap_br_info_req() 726 hdr = net_buf_add(buf, sizeof(*hdr)); in l2cap_br_conf() 729 conf = net_buf_add(buf, sizeof(*conf)); in l2cap_br_conf() 854 hdr = net_buf_add(buf, sizeof(*hdr)); in l2cap_br_send_conn_rsp() 859 rsp = net_buf_add(buf, sizeof(*rsp)); in l2cap_br_send_conn_rsp() 1194 hdr = net_buf_add(buf, sizeof(*hdr)); in l2cap_br_send_reject() [all …]
|
/Zephyr-latest/tests/bluetooth/df/connectionless_cte_tx/src/ |
D | common.c | 66 cp = net_buf_add(buf, sizeof(*cp)); in common_set_cl_cte_tx_params() 72 dest_ant_ids = net_buf_add(buf, ARRAY_SIZE(ant_ids)); in common_set_cl_cte_tx_params()
|
D | test_set_cl_cte_tx_param.c | 61 cp = net_buf_add(buf, sizeof(*cp)); in send_set_cl_cte_tx_params() 67 uint8_t *dest_ant_ids = net_buf_add(buf, switch_pattern_len); in send_set_cl_cte_tx_params()
|
/Zephyr-latest/tests/bluetooth/hci_prop_evt/src/ |
D | main.c | 52 hdr = net_buf_add(buf, sizeof(*hdr)); in evt_create() 64 cc = net_buf_add(*buf, sizeof(*cc)); in cmd_complete() 67 return net_buf_add(*buf, plen); in cmd_complete() 344 pe = net_buf_add(buf, sizeof(*pe)); in prop_evt() 348 return net_buf_add(buf, pelen); in prop_evt()
|
/Zephyr-latest/tests/bluetooth/df/connection_cte_tx_params/src/ |
D | test_set_conn_cte_tx_params.c | 68 cp = net_buf_add(buf, sizeof(*cp)); in send_set_conn_cte_tx_params() 74 dest_ant_ids = net_buf_add(buf, params->switch_pattern_len); in send_set_conn_cte_tx_params()
|
/Zephyr-latest/samples/bluetooth/hci_pwr_ctrl/src/ |
D | main.c | 66 cp = net_buf_add(buf, sizeof(*cp)); in read_conn_rssi() 96 cp = net_buf_add(buf, sizeof(*cp)); in set_tx_power() 129 cp = net_buf_add(buf, sizeof(*cp)); in get_tx_power()
|
/Zephyr-latest/subsys/usb/device/class/netusb/ |
D | function_rndis.c | 456 rsp = net_buf_add(buf, sizeof(*rsp)); in rndis_init_handle() 524 rsp = net_buf_add(buf, sizeof(*rsp)); in rndis_query_handle() 579 memcpy(net_buf_add(buf, sizeof(rndis.mac)), rndis.mac, in rndis_query_handle() 584 memcpy(net_buf_add(buf, sizeof(rndis.mac)), rndis.mac, in rndis_query_handle() 603 memcpy(net_buf_add(buf, sizeof(manufacturer) - 1), manufacturer, in rndis_query_handle() 674 rsp = net_buf_add(buf, sizeof(*rsp)); in rndis_set_handle() 725 rsp = net_buf_add(buf, sizeof(*rsp)); in rndis_reset_handle() 753 rsp = net_buf_add(buf, sizeof(*rsp)); in rndis_keepalive_handle() 777 memcpy(net_buf_add(buf, len), data, len); in queue_encapsulated_cmd()
|
/Zephyr-latest/tests/bluetooth/host_long_adv_recv/src/ |
D | main.c | 61 hdr = net_buf_add(buf, sizeof(*hdr)); in evt_create() 93 cc = net_buf_add(*buf, sizeof(*cc)); in cmd_complete() 97 return net_buf_add(*buf, plen); in cmd_complete() 323 meta_evt = net_buf_add(buf, sizeof(*meta_evt)); in adv_report_evt() 326 evt = net_buf_add(buf, sizeof(*evt)); in adv_report_evt() 329 return net_buf_add(buf, data_len); in adv_report_evt()
|
/Zephyr-latest/tests/bluetooth/df/connection_cte_req/src/ |
D | test_cte_set_rx_params.c | 56 cp = net_buf_add(buf, sizeof(*cp)); in send_set_conn_cte_rx_params() 65 uint8_t *dest_ant_ids = net_buf_add(buf, ant_ids_num); in send_set_conn_cte_rx_params()
|
/Zephyr-latest/tests/bsim/bluetooth/ll/edtt/hci_test_app/src/ |
D | main.c | 102 hdr = net_buf_add(buf, sizeof(*hdr)); in hci_cmd_create() 120 hdr = net_buf_add(buf, sizeof(*hdr)); in acl_data_create() 138 hdr = net_buf_add(buf, sizeof(*hdr)); in iso_data_create() 159 cp = net_buf_add(buf, param_len); in send_hci_command() 553 uint8_t *pdata = net_buf_add(buf, hdr_length); in le_data_write() 670 uint8_t *pdata = net_buf_add(buf, hdr_length); in le_iso_data_write()
|
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/split/tester/src/ |
D | main.c | 66 hdr = net_buf_add(buf, sizeof(*hdr)); in bt_hci_cmd_create() 383 cp = net_buf_add(buf, sizeof(*cp)); in write_default_data_len() 409 cp_mask = net_buf_add(buf, sizeof(*cp_mask)); in set_event_mask() 482 hdr = net_buf_add(buf, sizeof(*hdr)); in l2cap_create_le_sig_pdu() 527 req = net_buf_add(buf, sizeof(*req)); in open_l2cap()
|
/Zephyr-latest/tests/bsim/bluetooth/host/misc/hfc_multilink/tester/src/ |
D | tester.c | 68 hdr = net_buf_add(buf, sizeof(*hdr)); in bt_hci_cmd_create() 395 cp = net_buf_add(buf, sizeof(*cp)); in write_default_data_len() 421 cp_mask = net_buf_add(buf, sizeof(*cp_mask)); in set_event_mask() 511 hdr = net_buf_add(buf, sizeof(*hdr)); in l2cap_create_le_sig_pdu() 556 req = net_buf_add(buf, sizeof(*req)); in open_l2cap()
|
/Zephyr-latest/samples/bluetooth/hci_vs_scan_req/src/ |
D | main.c | 74 cp = net_buf_add(buf, sizeof(*cp)); in enable_legacy_adv_scan_request_event()
|