Home
last modified time | relevance | path

Searched refs:headroom (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/doc/services/net_buf/
Dindex.rst41 to be prepended later, it's possible to reserve this headroom with:
45 net_buf_reserve(buf, headroom);
96 enough headroom in the buffer. Some examples of APIs for pushing data:
/Zephyr-latest/modules/nrf_wifi/os/
Dshim.c260 int headroom; member
293 nbuff->headroom = 0; in zep_shim_nbuf_alloc()
315 nwb->headroom += size; in zep_shim_nbuf_headroom_res()
320 return ((struct nwb *)nbuf)->headroom; in zep_shim_nbuf_headroom_get()
349 nwb->headroom -= size; in zep_shim_nbuf_data_push()
360 nwb->headroom += size; in zep_shim_nbuf_data_pull()
/Zephyr-latest/subsys/net/ip/
Dnet_pkt.c927 size_t size, size_t headroom, argument
933 size_t size, size_t headroom,
967 if (current == first && headroom > 0) {
968 if (current->size > (headroom + size)) {
969 current->size = size + headroom;
973 size -= current->size - headroom;
1022 size_t size, size_t headroom, argument
1028 size_t size, size_t headroom,
1036 size_t total_size = size + headroom;
1041 buf = net_buf_alloc_len(pool, size + headroom, timeout);
/Zephyr-latest/subsys/bluetooth/host/
Datt.c3081 size_t headroom; in bt_att_create_rsp_pdu() local
3092 headroom = BT_L2CAP_BUF_SIZE(0); in bt_att_create_rsp_pdu()
3095 headroom += BT_L2CAP_SDU_HDR_SIZE; in bt_att_create_rsp_pdu()
3098 net_buf_reserve(buf, headroom); in bt_att_create_rsp_pdu()
/Zephyr-latest/doc/releases/
Dmigration-guide-3.6.rst483 buffers get by default one byte of headroom now, which HCI transport implementations can rely on