Home
last modified time | relevance | path

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

/hal_espressif-2.7.6/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;
844 .__bufs = (struct net_buf *)_bufs, \
855 .__bufs = (struct net_buf *)_bufs, \
898 static struct net_buf net_buf_##_name[_count]; \
[all …]
/hal_espressif-2.7.6/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-2.7.6/components/bt/esp_ble_mesh/mesh_core/
Dadv.h56 struct net_buf *bt_mesh_adv_create(enum bt_mesh_adv_type type, uint8_t xmit,
65 void bt_mesh_adv_buf_ref_debug(const char *func, struct net_buf *buf,
68 struct net_buf *bt_mesh_adv_create_from_pool(struct net_buf_pool *pool,
75 void bt_mesh_adv_send(struct net_buf *buf, const struct bt_mesh_send_cb *cb,
78 struct net_buf *bt_mesh_relay_adv_create(enum bt_mesh_adv_type type, uint8_t xmit,
81 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()
343 struct net_buf *bt_mesh_adv_create_from_pool(struct net_buf_pool *pool, in bt_mesh_adv_create_from_pool()
349 struct net_buf *buf = NULL; in bt_mesh_adv_create_from_pool()
385 struct net_buf *buf = &pool->__bufs[i]; in bt_mesh_unref_buf_from_pool()
393 struct net_buf *bt_mesh_adv_create(enum bt_mesh_adv_type type, uint8_t xmit, in bt_mesh_adv_create()
400 void bt_mesh_adv_buf_ref_debug(const char *func, struct net_buf *buf, in bt_mesh_adv_buf_ref_debug()
426 struct net_buf *buf = NULL; in bt_mesh_unref_buf()
[all …]
Dfriend.c131 struct net_buf *buf = NULL; in purge_buffers()
321 static struct net_buf *create_friend_pdu(struct bt_mesh_friend *frnd, in create_friend_pdu()
325 struct net_buf *buf = NULL; in create_friend_pdu()
362 struct net_buf *buf, in unseg_app_sdu_unpack()
401 struct net_buf *buf, in unseg_app_sdu_decrypt()
417 struct net_buf *buf, in unseg_app_sdu_encrypt()
433 struct net_buf *buf) in unseg_app_sdu_prepare()
468 static int encrypt_friend_pdu(struct bt_mesh_friend *frnd, struct net_buf *buf, in encrypt_friend_pdu()
531 static struct net_buf *encode_friend_ctl(struct bt_mesh_friend *frnd, in encode_friend_ctl()
554 static struct net_buf *encode_update(struct bt_mesh_friend *frnd, uint8_t md) in encode_update()
[all …]
Dnet.h123 struct net_buf *last;
353 int bt_mesh_net_send(struct bt_mesh_net_tx *tx, struct net_buf *buf,
356 int bt_mesh_net_resend(struct bt_mesh_subnet *sub, struct net_buf *buf,
Dprov.c152 struct net_buf *buf[3];
278 struct net_buf *buf = link.tx.buf[i]; in free_segments()
320 static struct net_buf *adv_buf_create(void) in adv_buf_create()
322 struct net_buf *buf = NULL; in adv_buf_create()
347 struct net_buf *buf = NULL; in gen_prov_ack_send()
383 struct net_buf *buf = link.tx.buf[i]; in send_reliable()
399 struct net_buf *buf = NULL; in bearer_ctl_send()
445 struct net_buf *start = NULL, *buf = NULL; in prov_send_adv()
1303 struct net_buf *buf = link.tx.buf[i]; in prov_retransmit()
Dbeacon.c149 struct net_buf *buf; in secure_beacon_send()
206 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()
385 struct net_buf *seg = tx->seg[i]; in seg_tx_send_unacked()
494 struct net_buf *seg = NULL; in send_seg()
1119 struct net_buf *buf = NULL; in ctl_send_unseg()
1192 struct net_buf *seg = NULL; in ctl_send_seg()
Dprovisioner_prov.c188 struct net_buf *buf[3];
1285 struct net_buf *buf = link[idx].tx.buf[i];
1347 static struct net_buf *adv_buf_create(void)
1349 struct net_buf *buf = NULL;
1375 struct net_buf *buf = NULL;
1411 struct net_buf *buf = link[idx].tx.buf[i];
1427 struct net_buf *buf = NULL;
1531 struct net_buf *start = NULL, *buf = NULL;
2695 struct net_buf *buf = link[idx].tx.buf[i];
Dnet.c778 int bt_mesh_net_resend(struct bt_mesh_subnet *sub, struct net_buf *buf, in bt_mesh_net_resend()
843 struct net_buf *buf = NULL; in bt_mesh_net_local()
910 int bt_mesh_net_send(struct bt_mesh_net_tx *tx, struct net_buf *buf, in bt_mesh_net_send()
1203 struct net_buf *buf = NULL; in bt_mesh_net_relay()