Zephyr API Documentation
2.7.0-rc2
A Scalable Open Source RTOS
|
Network packet. More...
#include <net_pkt.h>
Data Fields | |
intptr_t | fifo |
struct k_mem_slab * | slab |
union { | |
struct net_buf * frags | |
struct net_buf * buffer | |
}; | |
struct net_pkt_cursor | cursor |
struct net_context * | context |
struct net_if * | iface |
Network packet.
Note that if you add new fields into net_pkt, remember to update net_pkt_clone() function.
union { ... } net_pkt::@173 |
buffer holding the packet
struct net_buf* net_pkt::buffer |
struct net_context* net_pkt::context |
Network connection context
struct net_pkt_cursor net_pkt::cursor |
Internal buffer iterator used for reading/writing
intptr_t net_pkt::fifo |
The fifo is used by RX/TX threads and by socket layer. The net_pkt is queued via fifo to the processing thread.
struct net_buf* net_pkt::frags |
struct net_if* net_pkt::iface |
Network interface
struct k_mem_slab* net_pkt::slab |
Slab pointer from where it belongs to