Home
last modified time | relevance | path

Searched refs:net_buf_pull_mem (Results 1 – 25 of 43) sorted by relevance

12

/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/reassembly/peer/src/
Dpeer.c91 hdr = net_buf_pull_mem(buf, sizeof(*hdr)); in handle_cmd_complete()
96 evt = net_buf_pull_mem(buf, sizeof(*evt)); in handle_cmd_complete()
104 evt = net_buf_pull_mem(buf, sizeof(*evt)); in handle_cmd_complete()
154 hdr = net_buf_pull_mem(buf, sizeof(*hdr)); in handle_ncp()
196 hdr = net_buf_pull_mem(buf, sizeof(*hdr)); in handle_l2cap()
218 hdr = net_buf_pull_mem(buf, sizeof(*hdr)); in handle_acl()
567 net_buf_pull_mem(att_packet, frag_len), in gatt_notify_without_last_fragment()
/Zephyr-latest/tests/lib/net_buf/buf/src/
Dmain.c567 zassert_mem_equal(le16, net_buf_pull_mem(buf, sizeof(le16)), in ZTEST()
569 zassert_mem_equal(be16, net_buf_pull_mem(buf, sizeof(be16)), in ZTEST()
586 zassert_mem_equal(le24, net_buf_pull_mem(buf, sizeof(le24)), in ZTEST()
588 zassert_mem_equal(be24, net_buf_pull_mem(buf, sizeof(be24)), in ZTEST()
605 zassert_mem_equal(le32, net_buf_pull_mem(buf, sizeof(le32)), in ZTEST()
607 zassert_mem_equal(be32, net_buf_pull_mem(buf, sizeof(be32)), in ZTEST()
623 zassert_mem_equal(le40, net_buf_pull_mem(buf, sizeof(le40)), sizeof(le40), in ZTEST()
625 zassert_mem_equal(be40, net_buf_pull_mem(buf, sizeof(be40)), sizeof(be40), in ZTEST()
642 zassert_mem_equal(le48, net_buf_pull_mem(buf, sizeof(le48)), in ZTEST()
644 zassert_mem_equal(be48, net_buf_pull_mem(buf, sizeof(be48)), in ZTEST()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/split/tester/src/
Dmain.c83 hdr = net_buf_pull_mem(buf, sizeof(*hdr)); in handle_cmd_complete()
88 evt = net_buf_pull_mem(buf, sizeof(*evt)); in handle_cmd_complete()
96 evt = net_buf_pull_mem(buf, sizeof(*evt)); in handle_cmd_complete()
149 hdr = net_buf_pull_mem(buf, sizeof(*hdr)); in handle_ncp()
196 hdr = net_buf_pull_mem(buf, sizeof(*hdr)); in handle_sig()
219 hdr = net_buf_pull_mem(buf, sizeof(*hdr)); in handle_l2cap()
244 hdr = net_buf_pull_mem(buf, sizeof(*hdr)); in handle_acl()
/Zephyr-latest/tests/bsim/bluetooth/host/misc/hfc_multilink/tester/src/
Dtester.c85 hdr = net_buf_pull_mem(buf, sizeof(*hdr)); in handle_cmd_complete()
90 evt = net_buf_pull_mem(buf, sizeof(*evt)); in handle_cmd_complete()
98 evt = net_buf_pull_mem(buf, sizeof(*evt)); in handle_cmd_complete()
161 hdr = net_buf_pull_mem(buf, sizeof(*hdr)); in handle_ncp()
208 hdr = net_buf_pull_mem(buf, sizeof(*hdr)); in handle_sig()
231 hdr = net_buf_pull_mem(buf, sizeof(*hdr)); in handle_l2cap()
256 hdr = net_buf_pull_mem(buf, sizeof(*hdr)); in handle_acl()
/Zephyr-latest/tests/bsim/bluetooth/host/misc/disconnect/tester/src/
Dmain.c90 hdr = net_buf_pull_mem(buf, sizeof(*hdr)); in handle_cmd_complete()
95 evt = net_buf_pull_mem(buf, sizeof(*evt)); in handle_cmd_complete()
103 evt = net_buf_pull_mem(buf, sizeof(*evt)); in handle_cmd_complete()
158 hdr = net_buf_pull_mem(buf, sizeof(*hdr)); in handle_ncp()
220 hdr = net_buf_pull_mem(buf, sizeof(*hdr)); in handle_l2cap()
242 hdr = net_buf_pull_mem(buf, sizeof(*hdr)); in handle_acl()
/Zephyr-latest/tests/bsim/bluetooth/host/att/sequential/tester/src/
Dmain.c94 hdr = net_buf_pull_mem(buf, sizeof(*hdr)); in handle_cmd_complete()
99 evt = net_buf_pull_mem(buf, sizeof(*evt)); in handle_cmd_complete()
107 evt = net_buf_pull_mem(buf, sizeof(*evt)); in handle_cmd_complete()
162 hdr = net_buf_pull_mem(buf, sizeof(*hdr)); in handle_ncp()
242 hdr = net_buf_pull_mem(buf, sizeof(*hdr)); in handle_l2cap()
264 hdr = net_buf_pull_mem(buf, sizeof(*hdr)); in handle_acl()
/Zephyr-latest/tests/bsim/bluetooth/host/att/pipeline/tester/src/
Dmain.c98 hdr = net_buf_pull_mem(buf, sizeof(*hdr)); in handle_cmd_complete()
103 evt = net_buf_pull_mem(buf, sizeof(*evt)); in handle_cmd_complete()
111 evt = net_buf_pull_mem(buf, sizeof(*evt)); in handle_cmd_complete()
166 hdr = net_buf_pull_mem(buf, sizeof(*hdr)); in handle_ncp()
266 hdr = net_buf_pull_mem(buf, sizeof(*hdr)); in handle_l2cap()
288 hdr = net_buf_pull_mem(buf, sizeof(*hdr)); in handle_acl()
/Zephyr-latest/tests/subsys/mgmt/mcumgr/smp_version/src/
Dmain.c154 smp_header = net_buf_pull_mem(nb, sizeof(struct smp_hdr)); in ZTEST()
241 smp_header = net_buf_pull_mem(nb, sizeof(struct smp_hdr)); in ZTEST()
327 smp_header = net_buf_pull_mem(nb, sizeof(struct smp_hdr)); in ZTEST()
/Zephyr-latest/tests/subsys/mgmt/mcumgr/enum_mgmt/src/
Dmain.c150 header = net_buf_pull_mem(nb, sizeof(struct smp_hdr)); in ZTEST()
251 header = net_buf_pull_mem(nb, sizeof(struct smp_hdr)); in ZTEST()
357 header = net_buf_pull_mem(nb, sizeof(struct smp_hdr)); in ZTEST()
563 header = net_buf_pull_mem(nb, sizeof(struct smp_hdr)); in ZTEST()
647 header = net_buf_pull_mem(nb, sizeof(struct smp_hdr)); in ZTEST()
735 header = net_buf_pull_mem(nb, sizeof(struct smp_hdr)); in ZTEST()
/Zephyr-latest/tests/subsys/mgmt/mcumgr/settings_mgmt/src/
Dmain.c475 smp_header = net_buf_pull_mem(nb, sizeof(struct smp_hdr)); in ZTEST()
579 smp_header = net_buf_pull_mem(nb, sizeof(struct smp_hdr)); in ZTEST()
734 smp_header = net_buf_pull_mem(nb, sizeof(struct smp_hdr)); in ZTEST()
864 smp_header = net_buf_pull_mem(nb, sizeof(struct smp_hdr)); in ZTEST()
1017 smp_header = net_buf_pull_mem(nb, sizeof(struct smp_hdr)); in ZTEST()
1136 smp_header = net_buf_pull_mem(nb, sizeof(struct smp_hdr)); in ZTEST()
1203 smp_header = net_buf_pull_mem(nb, sizeof(struct smp_hdr)); in ZTEST()
1263 smp_header = net_buf_pull_mem(nb, sizeof(struct smp_hdr)); in ZTEST()
1331 smp_header = net_buf_pull_mem(nb, sizeof(struct smp_hdr)); in ZTEST()
1449 smp_header = net_buf_pull_mem(nb, sizeof(struct smp_hdr)); in ZTEST()
[all …]
/Zephyr-latest/subsys/bluetooth/host/
Dcs.c305 evt = net_buf_pull_mem(buf, sizeof(*evt)); in bt_hci_le_cs_read_remote_supported_capabilities_complete()
465 evt = net_buf_pull_mem(buf, sizeof(*evt)); in bt_hci_le_cs_read_remote_fae_table_complete()
608 evt = net_buf_pull_mem(buf, sizeof(*evt)); in bt_hci_le_cs_subevent_result()
716 evt = net_buf_pull_mem(buf, sizeof(*evt)); in bt_hci_le_cs_subevent_result_continue()
805 evt = net_buf_pull_mem(buf, sizeof(*evt)); in bt_hci_le_cs_config_complete_event()
1203 evt = net_buf_pull_mem(buf, sizeof(*evt)); in bt_hci_le_cs_security_enable_complete()
1232 evt = net_buf_pull_mem(buf, sizeof(*evt)); in bt_hci_le_cs_procedure_enable_complete()
1292 evt = net_buf_pull_mem(buf, sizeof(*evt)); in bt_hci_le_cs_test_end_complete()
Ddirection.c384 evt = net_buf_pull_mem(buf, sizeof(*evt)); in hci_df_prepare_connectionless_iq_report()
432 evt = net_buf_pull_mem(buf, sizeof(*evt)); in hci_df_vs_prepare_connectionless_iq_report()
681 evt = net_buf_pull_mem(buf, sizeof(*evt)); in hci_df_prepare_connection_iq_report()
733 evt = net_buf_pull_mem(buf, sizeof(*evt)); in hci_df_vs_prepare_connection_iq_report()
858 evt = net_buf_pull_mem(buf, sizeof(*evt)); in hci_df_prepare_conn_cte_req_failed()
Dadv.c2090 evt = net_buf_pull_mem(buf, sizeof(struct bt_hci_evt_le_per_adv_subevent_data_request)); in bt_hci_le_per_adv_subevent_data_request()
2120 evt = net_buf_pull_mem(buf, sizeof(struct bt_hci_evt_le_per_adv_response_report)); in bt_hci_le_per_adv_response_report()
2138 response = net_buf_pull_mem(buf, sizeof(struct bt_hci_evt_le_per_adv_response)); in bt_hci_le_per_adv_response_report()
2152 (void)net_buf_pull_mem(buf, response->data_length); in bt_hci_le_per_adv_response_report()
2154 (void)net_buf_pull_mem(buf, response->data_length); in bt_hci_le_per_adv_response_report()
2161 net_buf_pull_mem(buf, response->data_length), in bt_hci_le_per_adv_response_report()
2169 (void)net_buf_pull_mem(buf, response->data_length); in bt_hci_le_per_adv_response_report()
Dhci_core.c637 hdr = net_buf_pull_mem(buf, sizeof(*hdr)); in hci_acl()
2289 evt = net_buf_pull_mem(buf, sizeof(*evt)); in bt_hci_evt_read_remote_version_complete()
2318 evt = net_buf_pull_mem(buf, sizeof(*evt)); in hci_hardware_error()
2477 evt = net_buf_pull_mem(buf, sizeof(*evt)); in hci_cmd_complete()
2512 evt = net_buf_pull_mem(buf, sizeof(*evt)); in hci_cmd_status()
2577 evt = net_buf_pull_mem(buf, sizeof(*evt)); in bt_hci_le_transmit_power_report()
2604 evt = net_buf_pull_mem(buf, sizeof(*evt)); in bt_hci_le_path_loss_threshold_event()
2640 evt = net_buf_pull_mem(buf, sizeof(*evt)); in bt_hci_le_subrate_change_event()
2720 evt = net_buf_pull_mem(buf, sizeof(*evt)); in hci_vendor_event()
2906 evt = net_buf_pull_mem(buf, sizeof(*evt)); in hci_le_meta_event()
[all …]
Dhci_raw.c264 hdr = net_buf_pull_mem(buf, sizeof(*hdr)); in bt_send_ext()
Dl2cap.c1545 req = net_buf_pull_mem(buf, sizeof(*req)); in le_ecred_conn_req()
1665 req = net_buf_pull_mem(buf, sizeof(*req)); in le_ecred_reconf_req()
1756 rsp = net_buf_pull_mem(buf, sizeof(*rsp)); in le_ecred_reconf_rsp()
1908 rsp = net_buf_pull_mem(buf, sizeof(*rsp)); in le_ecred_conn_rsp()
2182 hdr = net_buf_pull_mem(buf, sizeof(*hdr)); in l2cap_recv()
2741 hdr = net_buf_pull_mem(buf, sizeof(*hdr)); in bt_l2cap_recv()
/Zephyr-latest/subsys/net/ip/
Dicmpv6.c276 net_buf_pull_mem(pkt->buffer, net_pkt_lladdr_dst(orig)->len); in net_icmpv6_send_error()
280 net_buf_pull_mem(pkt->buffer, net_pkt_lladdr_src(orig)->len); in net_icmpv6_send_error()
/Zephyr-latest/tests/subsys/mgmt/mcumgr/img_mgmt_slot_info/src/
Dmain.c241 header = net_buf_pull_mem(nb, sizeof(struct smp_hdr)); in ZTEST()
369 header = net_buf_pull_mem(nb, sizeof(struct smp_hdr)); in ZTEST()
442 header = net_buf_pull_mem(nb, sizeof(struct smp_hdr)); in ZTEST()
/Zephyr-latest/subsys/mgmt/mcumgr/transport/src/
Dsmp_lorawan.c88 data = net_buf_pull_mem(msg->nb, data_size); in smp_lorawan_uplink_thread()
/Zephyr-latest/tests/subsys/mgmt/mcumgr/smp_reassembly/src/
Dmain.c152 p = net_buf_pull_mem(backup, TEST_FRAME_SIZE); in ZTEST()
/Zephyr-latest/subsys/bluetooth/host/classic/
Dl2cap_br.c520 rsp = net_buf_pull_mem(buf, sizeof(*rsp)); in l2cap_br_info_rsp()
1370 req = net_buf_pull_mem(buf, sizeof(*req)); in l2cap_br_conf_req()
1397 opt = net_buf_pull_mem(buf, sizeof(*opt)); in l2cap_br_conf_req()
1883 (void)net_buf_pull_mem(buf, len); in l2cap_br_sig_handle()
1898 hdr = net_buf_pull_mem(buf, sizeof(*hdr)); in l2cap_br_recv()
1910 (void)net_buf_pull_mem(buf, len); in l2cap_br_recv()
2015 hdr = net_buf_pull_mem(buf, sizeof(*hdr)); in bt_l2cap_br_recv()
Davdtp.c1091 hdr = net_buf_pull_mem(buf, sizeof(*hdr)); in bt_avdtp_l2cap_recv()
1331 sep_data = net_buf_pull_mem(buf, sizeof(*sep_data)); in bt_avdtp_parse_sep()
1398 net_buf_pull_mem(buf, length); in bt_avdtp_parse_capability_codec()
1419 net_buf_pull_mem(buf, (*codec_info_element_len)); in bt_avdtp_parse_capability_codec()
/Zephyr-latest/tests/bluetooth/hci_prop_evt/src/
Dmain.c105 chdr = net_buf_pull_mem(cmd, sizeof(*chdr)); in cmd_handle()
/Zephyr-latest/subsys/usb/device/class/
Dbluetooth.c386 cp = net_buf_pull_mem(buf, sizeof(*cp)); in vs_set_usb_transport_mode()
/Zephyr-latest/doc/services/net_buf/
Dindex.rst113 void *net_buf_pull_mem(struct net_buf *buf, size_t len);

12