Home
last modified time | relevance | path

Searched refs:net_buf_simple_pull_mem (Results 1 – 25 of 40) sorted by relevance

12

/Zephyr-Core-3.4.0/tests/net/buf_simple/src/
Dmain.c68 zassert_mem_equal(le16, net_buf_simple_pull_mem(&buf, sizeof(le16)), in ZTEST()
76 zassert_mem_equal(be16, net_buf_simple_pull_mem(&buf, sizeof(be16)), in ZTEST()
100 zassert_mem_equal(le24, net_buf_simple_pull_mem(&buf, sizeof(le24)), in ZTEST()
108 zassert_mem_equal(be24, net_buf_simple_pull_mem(&buf, sizeof(be24)), in ZTEST()
132 zassert_mem_equal(le32, net_buf_simple_pull_mem(&buf, sizeof(le32)), in ZTEST()
140 zassert_mem_equal(be32, net_buf_simple_pull_mem(&buf, sizeof(be32)), in ZTEST()
164 zassert_mem_equal(le48, net_buf_simple_pull_mem(&buf, sizeof(le48)), in ZTEST()
172 zassert_mem_equal(be48, net_buf_simple_pull_mem(&buf, sizeof(be48)), in ZTEST()
196 zassert_mem_equal(le64, net_buf_simple_pull_mem(&buf, sizeof(le64)), in ZTEST()
204 zassert_mem_equal(be64, net_buf_simple_pull_mem(&buf, sizeof(be64)), in ZTEST()
/Zephyr-Core-3.4.0/subsys/bluetooth/audio/
Daudio.c147 value = net_buf_simple_pull_mem(buf, codec_data->data.data_len); in decode_codec_ltv()
186 ltv_data = net_buf_simple_pull_mem(buf, len); in decode_bis_data()
249 ltv_data = net_buf_simple_pull_mem(buf, len); in decode_subgroup()
304 ltv_data = net_buf_simple_pull_mem(buf, len); in decode_subgroup()
385 uuid = net_buf_simple_pull_mem(&net_buf, BT_UUID_SIZE_16); in bt_bap_decode_base()
Dascs.c1513 op = net_buf_simple_pull_mem(buf, sizeof(*op)); in is_valid_config_len()
1527 config = net_buf_simple_pull_mem(buf, sizeof(*config)); in is_valid_config_len()
1533 (void)net_buf_simple_pull_mem(buf, config->cc_len); in is_valid_config_len()
1555 req = net_buf_simple_pull_mem(buf, sizeof(*req)); in ascs_config()
1563 cfg = net_buf_simple_pull_mem(buf, sizeof(*cfg)); in ascs_config()
1770 op = net_buf_simple_pull_mem(buf, sizeof(*op)); in is_valid_qos_len()
1782 (void)net_buf_simple_pull_mem(buf, params_size); in is_valid_qos_len()
1804 req = net_buf_simple_pull_mem(buf, sizeof(*req)); in ascs_qos()
1811 qos = net_buf_simple_pull_mem(buf, sizeof(*qos)); in ascs_qos()
2154 op = net_buf_simple_pull_mem(buf, sizeof(*op)); in is_valid_enable_len()
[all …]
Dbap_unicast_client.c645 cfg = net_buf_simple_pull_mem(buf, sizeof(*cfg)); in unicast_client_ep_config_state()
662 cc = net_buf_simple_pull_mem(buf, cfg->cc_len); in unicast_client_ep_config_state()
723 qos = net_buf_simple_pull_mem(buf, sizeof(*qos)); in unicast_client_ep_qos_state()
795 enable = net_buf_simple_pull_mem(buf, sizeof(*enable)); in unicast_client_ep_enabling_state()
803 metadata = net_buf_simple_pull_mem(buf, enable->metadata_len); in unicast_client_ep_enabling_state()
845 stream_status = net_buf_simple_pull_mem(buf, sizeof(*stream_status)); in unicast_client_ep_streaming_state()
884 disable = net_buf_simple_pull_mem(buf, sizeof(*disable)); in unicast_client_ep_disabling_state()
936 status = net_buf_simple_pull_mem(buf, sizeof(*status)); in unicast_client_ep_set_status()
1305 rsp = net_buf_simple_pull_mem(&buf, sizeof(*rsp)); in unicast_client_cp_notify()
1324 ase_rsp = net_buf_simple_pull_mem(&buf, sizeof(*ase_rsp)); in unicast_client_cp_notify()
[all …]
Dhas_client.c105 pdu = net_buf_simple_pull_mem(buf, sizeof(*pdu)); in handle_read_preset_rsp()
139 pdu = net_buf_simple_pull_mem(buf, sizeof(*pdu)); in handle_generic_update()
190 pdu = net_buf_simple_pull_mem(buf, sizeof(*pdu)); in handle_preset_changed()
254 hdr = net_buf_simple_pull_mem(&buf, sizeof(*hdr)); in control_point_notify_cb()
Dbap_broadcast_assistant.c116 addr = net_buf_simple_pull_mem(&buf, sizeof(*addr)); in parse_recv_state()
133 broadcast_code = net_buf_simple_pull_mem(&buf, in parse_recv_state()
172 metadata = net_buf_simple_pull_mem(&buf, in parse_recv_state()
Dhas.c700 req = net_buf_simple_pull_mem(buf, sizeof(*req)); in handle_read_preset_req()
788 req = net_buf_simple_pull_mem(buf, sizeof(*req)); in handle_write_preset_name()
876 pdu = net_buf_simple_pull_mem(buf, sizeof(*pdu)); in handle_set_active_preset()
974 hdr = net_buf_simple_pull_mem(buf, sizeof(*hdr)); in handle_control_point_op()
Dbap_scan_delegator.c481 addr = net_buf_simple_pull_mem(buf, sizeof(*addr)); in scan_delegator_add_source()
560 metadata = net_buf_simple_pull_mem(buf, subgroup->metadata_len); in scan_delegator_add_source()
712 metadata = net_buf_simple_pull_mem(buf, subgroup->metadata_len); in scan_delegator_mod_src()
812 broadcast_code = net_buf_simple_pull_mem(buf, sizeof(internal_state->broadcast_code)); in scan_delegator_broadcast_code()
/Zephyr-Core-3.4.0/subsys/bluetooth/mesh/
Dpb_gatt_cli.c114 uuid = net_buf_simple_pull_mem(buf, 16); in bt_mesh_pb_gatt_cli_adv_recv()
Dop_agg.c129 net_buf_simple_init_with_data(msg, net_buf_simple_pull_mem(buf, len), len); in bt_mesh_op_agg_decode_msg()
Dbeacon.c407 uuid = net_buf_simple_pull_mem(buf, 16); in unprovisioned_beacon_recv()
655 params.net_id = net_buf_simple_pull_mem(buf, 8); in secure_beacon_recv()
673 params.random = net_buf_simple_pull_mem(buf, 13); in private_beacon_recv()
674 params.data = net_buf_simple_pull_mem(buf, 5); in private_beacon_recv()
Drpr_srv.c574 uuid = net_buf_simple_pull_mem(buf, 16); in handle_scan_start()
645 ad = net_buf_simple_pull_mem(buf, ad_count); in handle_extended_scan_start()
701 uuid = net_buf_simple_pull_mem(buf, 16); in handle_extended_scan_start()
854 uuid = net_buf_simple_pull_mem(buf, 16); in handle_link_open()
896 uuid = net_buf_simple_pull_mem(buf, 16); in handle_link_open()
1102 ad->data = net_buf_simple_pull_mem(buf, ad->data_len); in pull_ad_data()
Dproxy_cli.c210 res.net_id = net_buf_simple_pull_mem(buf, 8); in bt_mesh_proxy_cli_adv_recv()
Ddfd_srv.c388 meta = net_buf_simple_pull_mem(buf, meta_len); in handle_upload_start()
390 fwid = net_buf_simple_pull_mem(buf, fwid_len); in handle_upload_start()
531 fwid = net_buf_simple_pull_mem(buf, fwid_len); in handle_fw_get()
574 fwid = net_buf_simple_pull_mem(buf, fwid_len); in handle_fw_delete()
Dsolicitation.c236 net_buf_simple_pull_mem(buf, reported_len - 3); in bt_mesh_sol_recv()
Drpr_cli.c108 memcpy(dev.uuid, net_buf_simple_pull_mem(buf, 16), 16); in handle_extended_scan_report()
292 memcpy(dev.uuid, net_buf_simple_pull_mem(buf, 16), 16); in handle_scan_report()
/Zephyr-Core-3.4.0/samples/subsys/zbus/remote_mock/src/
Dmock_proxy.c111 net_buf_simple_pull_mem(rx_buf, zbus_chan_msg_size(chan)), in decode_sentence()
/Zephyr-Core-3.4.0/tests/bluetooth/hci_prop_evt/src/
Dmain.c289 pe = net_buf_simple_pull_mem(buf, sizeof(*pe)); in prop_cb()
295 per = net_buf_simple_pull_mem(buf, sizeof(*per)); in prop_cb()
/Zephyr-Core-3.4.0/tests/bsim/bluetooth/mesh/src/
Dtest_sar.c94 ASSERT_TRUE(memcmp(net_buf_simple_pull_mem(buf, MAX_SDU_MSG_LEN), dummy_msg, in data_integrity_check()
Dtest_lcd.c173 net_buf_simple_pull_mem(local_data, len); in rsp_equals_local_data_assert()
Dmesh_test.c85 ra_cb(net_buf_simple_pull_mem(buf, buf->len), buf->len); in ra_rx()
/Zephyr-Core-3.4.0/subsys/net/lib/mqtt_sn/
Dmqtt_sn_decoder.c89 dest->data = net_buf_simple_pull_mem(buf, buf->len); in decode_data()
/Zephyr-Core-3.4.0/subsys/bluetooth/mesh/shell/
Drpr.c43 memcpy(data, net_buf_simple_pull_mem(adv_data, len), len); in rpr_scan_report()
/Zephyr-Core-3.4.0/include/zephyr/net/
Dbuf.h662 void *net_buf_simple_pull_mem(struct net_buf_simple *buf, size_t len);
2078 return net_buf_simple_pull_mem(&buf->b, len); in net_buf_pull_mem()
/Zephyr-Core-3.4.0/subsys/net/
Dbuf_simple.c403 void *net_buf_simple_pull_mem(struct net_buf_simple *buf, size_t len) in net_buf_simple_pull_mem() function

12