Home
last modified time | relevance | path

Searched refs:net_buf (Results 1 – 11 of 11) sorted by relevance

/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_common/include/
Dmesh_buf.h754 struct net_buf { struct
760 struct net_buf *frags; argument
802 uint8_t *(*alloc)(struct net_buf *buf, size_t *size, int32_t timeout);
803 uint8_t *(*ref)(struct net_buf *buf, uint8_t *data);
804 void (*unref)(struct net_buf *buf, uint8_t *data);
831 void (*const destroy)(struct net_buf *buf);
837 struct net_buf *const __bufs;
849 .__bufs = (struct net_buf *)_bufs, \
858 .__bufs = (struct net_buf *)_bufs, \
898 static struct net_buf net_buf_##_name[_count]; \
[all …]
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_common/
Dmesh_buf.c11 int net_buf_id(struct net_buf *buf) in net_buf_id()
18 static inline struct net_buf *pool_get_uninit(struct net_buf_pool *pool, in pool_get_uninit()
21 struct net_buf *buf = NULL; in pool_get_uninit()
378 void net_buf_reset(struct net_buf *buf) in net_buf_reset()
404 void net_buf_slist_put(sys_slist_t *list, struct net_buf *buf) in net_buf_slist_put()
406 struct net_buf *tail = NULL; in net_buf_slist_put()
420 struct net_buf *net_buf_slist_get(sys_slist_t *list) in net_buf_slist_get()
422 struct net_buf *buf = NULL, *frag = NULL; in net_buf_slist_get()
452 struct net_buf *net_buf_ref(struct net_buf *buf) in net_buf_ref()
463 void net_buf_unref_debug(struct net_buf *buf, const char *func, int line) in net_buf_unref_debug()
[all …]
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/
Dadv.h60 struct net_buf *bt_mesh_adv_create(enum bt_mesh_adv_type type, uint8_t xmit,
69 void bt_mesh_adv_buf_ref_debug(const char *func, struct net_buf *buf,
72 struct net_buf *bt_mesh_adv_create_from_pool(struct net_buf_pool *pool,
79 void bt_mesh_adv_send(struct net_buf *buf, const struct bt_mesh_send_cb *cb,
82 struct net_buf *bt_mesh_relay_adv_create(enum bt_mesh_adv_type type, uint8_t xmit,
85 void bt_mesh_relay_adv_send(struct net_buf *buf, const struct bt_mesh_send_cb *cb,
Dadv.c98 struct net_buf *buf;
144 static inline int adv_send(struct net_buf *buf) in adv_send()
245 struct net_buf **buf = NULL; in adv_thread()
247 buf = (struct net_buf **)(&msg.arg); in adv_thread()
342 struct net_buf *bt_mesh_adv_create_from_pool(struct net_buf_pool *pool, in bt_mesh_adv_create_from_pool()
348 struct net_buf *buf = NULL; in bt_mesh_adv_create_from_pool()
384 struct net_buf *buf = &pool->__bufs[i]; in bt_mesh_unref_buf_from_pool()
392 struct net_buf *bt_mesh_adv_create(enum bt_mesh_adv_type type, uint8_t xmit, in bt_mesh_adv_create()
399 void bt_mesh_adv_buf_ref_debug(const char *func, struct net_buf *buf, in bt_mesh_adv_buf_ref_debug()
425 struct net_buf *buf = NULL; in bt_mesh_unref_buf()
[all …]
Dfriend.c132 struct net_buf *buf = NULL; in purge_buffers()
338 static struct net_buf *create_friend_pdu(struct bt_mesh_friend *frnd, in create_friend_pdu()
342 struct net_buf *buf = NULL; in create_friend_pdu()
379 struct net_buf *buf, in unseg_app_sdu_unpack()
418 struct net_buf *buf, in unseg_app_sdu_decrypt()
434 struct net_buf *buf, in unseg_app_sdu_encrypt()
450 struct net_buf *buf) in unseg_app_sdu_prepare()
485 static int encrypt_friend_pdu(struct bt_mesh_friend *frnd, struct net_buf *buf, in encrypt_friend_pdu()
548 static struct net_buf *encode_friend_ctl(struct bt_mesh_friend *frnd, in encode_friend_ctl()
571 static struct net_buf *encode_update(struct bt_mesh_friend *frnd, uint8_t md) in encode_update()
[all …]
Dnet.h122 struct net_buf *last;
355 int bt_mesh_net_send(struct bt_mesh_net_tx *tx, struct net_buf *buf,
358 int bt_mesh_net_resend(struct bt_mesh_subnet *sub, struct net_buf *buf,
Dprov.c153 struct net_buf *buf[3];
279 struct net_buf *buf = link.tx.buf[i]; in free_segments()
321 static struct net_buf *adv_buf_create(void) in adv_buf_create()
323 struct net_buf *buf = NULL; in adv_buf_create()
348 struct net_buf *buf = NULL; in gen_prov_ack_send()
384 struct net_buf *buf = link.tx.buf[i]; in send_reliable()
400 struct net_buf *buf = NULL; in bearer_ctl_send()
446 struct net_buf *start = NULL, *buf = NULL; in prov_send_adv()
1324 struct net_buf *buf = link.tx.buf[i]; in prov_retransmit()
Dbeacon.c154 struct net_buf *buf; in secure_beacon_send()
211 struct net_buf *buf = NULL; in unprovisioned_beacon_send()
Dtransport.c74 struct net_buf *seg[CONFIG_BLE_MESH_TX_SEG_MAX];
192 struct net_buf *buf = NULL; in send_unseg()
393 struct net_buf *seg = tx->seg[i]; in seg_tx_send_unacked()
502 struct net_buf *seg = NULL; in send_seg()
1146 struct net_buf *buf = NULL; in ctl_send_unseg()
1219 struct net_buf *seg = NULL; in ctl_send_seg()
Dprovisioner_prov.c184 struct net_buf *buf[3];
1282 struct net_buf *buf = link[idx].tx.buf[i];
1344 static struct net_buf *adv_buf_create(void)
1346 struct net_buf *buf = NULL;
1372 struct net_buf *buf = NULL;
1408 struct net_buf *buf = link[idx].tx.buf[i];
1424 struct net_buf *buf = NULL;
1539 struct net_buf *start = NULL, *buf = NULL;
2759 struct net_buf *buf = link[idx].tx.buf[i];
Dnet.c784 int bt_mesh_net_resend(struct bt_mesh_subnet *sub, struct net_buf *buf, in bt_mesh_net_resend()
849 struct net_buf *buf = NULL; in bt_mesh_net_local()
916 int bt_mesh_net_send(struct bt_mesh_net_tx *tx, struct net_buf *buf, in bt_mesh_net_send()
1227 struct net_buf *buf = NULL; in bt_mesh_net_relay()