|
ascii-chat 0.6.0
Real-time terminal-based video chat with ASCII art conversion
|
Single packet ready to send (header already in network byte order) More...
#include <lib/network/packet_queue.h>
Data Fields | |
| packet_header_t | header |
| Complete packet header (already in network byte order) | |
| void * | data |
| Packet payload data (can be NULL for header-only packets) | |
| size_t | data_len |
| Length of payload data in bytes. | |
| bool | owns_data |
| If true, free data when packet is freed. | |
| buffer_pool_t * | buffer_pool |
| Pool that allocated the data (NULL if malloc'd) | |
Single packet ready to send (header already in network byte order)
Represents a complete packet with header and optional payload data. The packet header should already be in network byte order before enqueueing.
Definition at line 120 of file packet_queue.h.