Home
last modified time | relevance | path

Searched refs:net_buf_user_data (Results 1 – 18 of 18) sorted by relevance

/Zephyr-latest/include/zephyr/bluetooth/
Dbuf.h198 ((struct bt_buf_data *)net_buf_user_data(buf))->type = type; in bt_buf_set_type()
209 return (enum bt_buf_type)((struct bt_buf_data *)net_buf_user_data(buf)) in bt_buf_get_type()
/Zephyr-latest/subsys/mgmt/mcumgr/transport/src/
Dsmp.c83 memcpy(net_buf_user_data(rsp_nb), in smp_alloc_rsp()
84 net_buf_user_data((void *)req_nb), in smp_alloc_rsp()
100 smpt->functions.ud_free(net_buf_user_data((struct net_buf *)buf)); in smp_free_buf()
Dsmp_udp.c101 struct sockaddr *addr = net_buf_user_data(nb); in smp_udp4_tx()
125 struct sockaddr *addr = net_buf_user_data(nb); in smp_udp6_tx()
154 struct sockaddr *src_ud = net_buf_user_data(src); in smp_udp_ud_copy()
155 struct sockaddr *dst_ud = net_buf_user_data(dst); in smp_udp_ud_copy()
260 ud = net_buf_user_data(nb); in smp_udp_receive_thread()
Dsmp_bt.c337 ud = net_buf_user_data(nb); in smp_bt_chr_write()
393 struct smp_bt_user_data *ud = net_buf_user_data(nb); in smp_bt_conn_from_pkt()
434 struct smp_bt_user_data *src_ud = net_buf_user_data(src); in smp_bt_ud_copy()
435 struct smp_bt_user_data *dst_ud = net_buf_user_data(dst); in smp_bt_ud_copy()
495 ud = net_buf_user_data(nb); in smp_bt_tx_pkt()
564 smp_bt_ud_free(net_buf_user_data(nb)); in smp_bt_tx_pkt()
635 struct smp_bt_user_data *ud = net_buf_user_data(nb); in smp_bt_query_valid_check()
Dsmp_reassembly.c119 return net_buf_user_data(smpt->__reassembly.current); in smp_reassembly_get_ud()
/Zephyr-latest/subsys/bluetooth/host/
Diso_internal.h82 #define iso(buf) ((struct iso_data *)net_buf_user_data(buf))
Dl2cap.c2477 memcpy(&seg, net_buf_user_data(chan->_sdu), sizeof(seg)); in l2cap_chan_le_recv_seg()
2488 memcpy(net_buf_user_data(chan->_sdu), &seg, sizeof(seg)); in l2cap_chan_le_recv_seg()
3201 const uint8_t *ud = net_buf_user_data(buf); in user_data_not_empty()
Datt.c2203 attr_data = net_buf_user_data(data->buf); in prep_write_cb()
2301 struct bt_attr_data *tmp_data = net_buf_user_data(entry); in exec_write_reassemble()
2364 data = net_buf_user_data(buf); in att_exec_write_rsp()
Dhci_core.c133 #define acl(buf) ((struct acl_data *)net_buf_user_data(buf))
/Zephyr-latest/include/zephyr/drivers/usb/
Dudc.h695 bi = (struct udc_buf_info *)net_buf_user_data(buf); in udc_ep_buf_set_zlp()
711 return (struct udc_buf_info *)net_buf_user_data(buf); in udc_get_buf_info()
/Zephyr-latest/subsys/zbus/
Dzbus.c177 memcpy(net_buf_user_data(buf), &chan, sizeof(struct zbus_channel *)); in _zbus_vded_exec()
519 *chan = *((struct zbus_channel **)net_buf_user_data(buf)); in zbus_sub_wait_msg()
/Zephyr-latest/tests/lib/net_buf/buf/src/
Dmain.c477 buf_user_data = net_buf_user_data(original); in ZTEST()
482 clone_user_data = net_buf_user_data(clone); in ZTEST()
840 src_user_data = net_buf_user_data(buf_user_data_small); in ZTEST()
846 dst_user_data = net_buf_user_data(buf_user_data_big); in ZTEST()
/Zephyr-latest/samples/subsys/usb/webusb-next/src/
Dsfunc.c75 bi = (struct udc_buf_info *)net_buf_user_data(buf); in sfunc_request_handler()
/Zephyr-latest/subsys/usb/device_next/class/
Dloopback.c118 bi = (struct udc_buf_info *)net_buf_user_data(buf); in lb_request_handler()
/Zephyr-latest/subsys/canbus/isotp/
Disotp.c278 ud_rem_len = net_buf_user_data(rctx->buf); in receive_state_machine()
301 ud_rem_len = net_buf_user_data(rctx->buf); in receive_state_machine()
486 uint32_t *ud_rem_len = (uint32_t *)net_buf_user_data(rctx->buf); in process_cf()
715 return *(uint32_t *)net_buf_user_data(buf); in isotp_recv_net()
/Zephyr-latest/include/zephyr/
Dnet_buf.h1576 static inline void * __must_check net_buf_user_data(const struct net_buf *buf) in net_buf_user_data() function
/Zephyr-latest/subsys/bluetooth/mesh/
Dfriend.c79 #define FRIEND_ADV(buf) (*(struct friend_adv **)net_buf_user_data(buf))
/Zephyr-latest/subsys/net/ip/
Dtcp.c92 return *(uint32_t *)net_buf_user_data(buf); in tcp_get_seq()
97 *(uint32_t *)net_buf_user_data(buf) = seq; in tcp_set_seq()