Searched refs:net_buf_user_data (Results 1 – 18 of 18) sorted by relevance
198 ((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()
83 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()
101 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()
337 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()
119 return net_buf_user_data(smpt->__reassembly.current); in smp_reassembly_get_ud()
82 #define iso(buf) ((struct iso_data *)net_buf_user_data(buf))
2477 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()
2203 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()
133 #define acl(buf) ((struct acl_data *)net_buf_user_data(buf))
695 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()
177 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()
477 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()
75 bi = (struct udc_buf_info *)net_buf_user_data(buf); in sfunc_request_handler()
118 bi = (struct udc_buf_info *)net_buf_user_data(buf); in lb_request_handler()
278 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()
1576 static inline void * __must_check net_buf_user_data(const struct net_buf *buf) in net_buf_user_data() function
79 #define FRIEND_ADV(buf) (*(struct friend_adv **)net_buf_user_data(buf))
92 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()