/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() 59 cs = net_buf_add(buf, sizeof(*cs)); in bt_hci_cmd_status_create()
|
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 | 254 cp = net_buf_add(buf, sizeof(*cp)); in bt_send_one_host_num_completed_packets() 257 hc = net_buf_add(buf, sizeof(*hc)); in bt_send_one_host_num_completed_packets() 336 hdr = net_buf_add(buf, sizeof(*hdr)); in bt_hci_cmd_create() 720 cp = net_buf_add(buf, sizeof(*cp)); in bt_le_create_conn_ext() 745 phy = net_buf_add(buf, sizeof(*phy)); in bt_le_create_conn_ext() 755 phy = net_buf_add(buf, sizeof(*phy)); in bt_le_create_conn_ext() 790 cp = net_buf_add(buf, sizeof(*cp)); in bt_le_create_conn_synced() 808 phy = net_buf_add(buf, sizeof(*phy)); in bt_le_create_conn_synced() 840 cp = net_buf_add(buf, sizeof(*cp)); in bt_le_create_conn_legacy() 912 disconn = net_buf_add(buf, sizeof(*disconn)); in bt_hci_disconnect() [all …]
|
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() 1164 cp = net_buf_add(buf, sizeof(*cp)); in per_adv_sync_terminate() 1358 cp = net_buf_add(buf, sizeof(*cp)); in bt_le_per_adv_sync_subevent() 1398 cp = net_buf_add(buf, sizeof(*cp)); in bt_le_per_adv_set_response_data() 1925 cp = net_buf_add(buf, sizeof(*cp)); in bt_le_per_adv_sync_create() 2128 cp = net_buf_add(buf, sizeof(*cp)); in bt_le_set_per_adv_recv_enable() 2187 cp = net_buf_add(buf, sizeof(*cp)); in bt_le_per_adv_sync_transfer() 2227 cp = net_buf_add(buf, sizeof(*cp)); in past_param_set() [all …]
|
/Zephyr-latest/lib/utils/ |
D | cobs.c | 23 uint8_t *code_ptr = net_buf_add(dst, 1); in cobs_encode() 34 code_ptr = net_buf_add(dst, 1); in cobs_encode() 44 code_ptr = net_buf_add(dst, 1); in cobs_encode()
|
/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 | 169 net_buf_add(pkt->buffer, sizeof(struct net_eth_hdr)); in prepare_arp_reply() 179 net_buf_add(pkt->buffer, sizeof(struct net_eth_hdr)); in prepare_arp_reply() 198 net_buf_add(pkt->buffer, sizeof(struct net_arp_hdr)); in prepare_arp_reply() 222 net_buf_add(req->buffer, sizeof(struct net_eth_hdr)); in prepare_arp_request() 233 net_buf_add(pkt->buffer, sizeof(struct net_eth_hdr)); in prepare_arp_request() 250 net_buf_add(pkt->buffer, sizeof(struct net_arp_hdr)); in prepare_arp_request() 361 ipv4 = (struct net_ipv4_hdr *)net_buf_add(pkt->buffer, in ZTEST() 368 memcpy(net_buf_add(pkt->buffer, len), app_data, len); in ZTEST() 523 net_buf_add(pkt->buffer, sizeof(struct net_arp_hdr)); in ZTEST() 568 net_buf_add(pkt->buffer, sizeof(struct net_arp_hdr)); in ZTEST() [all …]
|
/Zephyr-latest/subsys/bluetooth/host/classic/ |
D | ssp.c | 58 cp = net_buf_add(buf, sizeof(*cp)); in pin_code_neg_reply() 76 cp = net_buf_add(buf, sizeof(*cp)); in pin_code_reply() 202 cp = net_buf_add(buf, sizeof(*cp)); in ssp_confirm_reply() 220 cp = net_buf_add(buf, sizeof(*cp)); in ssp_confirm_neg_reply() 319 cp = net_buf_add(buf, sizeof(*cp)); in ssp_passkey_reply() 338 cp = net_buf_add(buf, sizeof(*cp)); in ssp_passkey_neg_reply() 357 auth = net_buf_add(buf, sizeof(*auth)); in conn_auth() 546 cp = net_buf_add(buf, sizeof(*cp)); in link_key_neg_reply() 564 cp = net_buf_add(buf, sizeof(*cp)); in link_key_reply() 621 cp = net_buf_add(resp_buf, sizeof(*cp)); in io_capa_neg_reply() [all …]
|
D | br.c | 43 cp = net_buf_add(buf, sizeof(*cp)); in reject_conn() 66 cp = net_buf_add(buf, sizeof(*cp)); in accept_conn() 121 cp = net_buf_add(buf, sizeof(*cp)); in br_sufficient_key_size() 256 cp = net_buf_add(buf, sizeof(*cp)); in bt_hci_conn_complete() 272 cp = net_buf_add(buf, sizeof(*cp)); in request_name() 627 cp = net_buf_add(buf, sizeof(*cp)); in bt_hci_read_remote_features_complete() 700 cp = net_buf_add(buf, sizeof(*cp)); in read_ext_features() 813 ssp_cp = net_buf_add(buf, sizeof(*ssp_cp)); in bt_br_init() 826 inq_cp = net_buf_add(buf, sizeof(*inq_cp)); in bt_br_init() 839 name_cp = net_buf_add(buf, sizeof(*name_cp)); in bt_br_init() [all …]
|
D | l2cap_br.c | 465 hdr = net_buf_add(buf, sizeof(*hdr)); in l2cap_br_get_info() 470 info = net_buf_add(buf, sizeof(*info)); in l2cap_br_get_info() 622 hdr_info = net_buf_add(rsp_buf, sizeof(*hdr_info)); in l2cap_br_info_req() 626 rsp = net_buf_add(rsp_buf, sizeof(*rsp)); in l2cap_br_info_req() 639 (void)memset(net_buf_add(rsp_buf, 8), 0, 8); in l2cap_br_info_req() 739 hdr = net_buf_add(buf, sizeof(*hdr)); in l2cap_br_conf() 742 conf = net_buf_add(buf, sizeof(*conf)); in l2cap_br_conf() 897 hdr = net_buf_add(buf, sizeof(*hdr)); in l2cap_br_send_conn_rsp() 902 rsp = net_buf_add(buf, sizeof(*rsp)); in l2cap_br_send_conn_rsp() 1308 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/host/l2cap/split/tester/src/ |
D | main.c | 68 hdr = net_buf_add(buf, sizeof(*hdr)); in bt_hci_cmd_create() 385 cp = net_buf_add(buf, sizeof(*cp)); in write_default_data_len() 411 cp_mask = net_buf_add(buf, sizeof(*cp_mask)); in set_event_mask() 484 hdr = net_buf_add(buf, sizeof(*hdr)); in l2cap_create_le_sig_pdu() 529 req = net_buf_add(buf, sizeof(*req)); in open_l2cap()
|
/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/misc/hfc_multilink/tester/src/ |
D | tester.c | 69 hdr = net_buf_add(buf, sizeof(*hdr)); in bt_hci_cmd_create() 396 cp = net_buf_add(buf, sizeof(*cp)); in write_default_data_len() 422 cp_mask = net_buf_add(buf, sizeof(*cp_mask)); in set_event_mask() 512 hdr = net_buf_add(buf, sizeof(*hdr)); in l2cap_create_le_sig_pdu() 557 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()
|
/Zephyr-latest/tests/bluetooth/df/connectionless_cte_rx/src/ |
D | test_set_iq_sampling_enable.c | 65 cp = net_buf_add(buf, sizeof(*cp)); in send_set_scan_cte_rx_enable() 75 net_buf_add(buf, params->num_ant_ids); in send_set_scan_cte_rx_enable()
|