ProtoCore v1.0.16
Deterministic, zero-heap network stack for embedded targets
Loading...
Searching...
No Matches
ConnIoArgs Struct Reference

RFC 9293 sec 3.9.1 SEND / RECEIVE: the bytes a call moves, and the room they move into. More...

#include <protocol.h>

Public Attributes

const void * data
 bytes for a send
 
proto_u16 len
 how many
 
uint8_t * buf
 where a read or a peek lands
 
size_t cap
 how much room it has
 
size_t off
 a peek's offset from the tail
 
size_t count
 bytes a peek copies, or a consume drops
 

Detailed Description

RFC 9293 sec 3.9.1 SEND / RECEIVE: the bytes a call moves, and the room they move into.

Definition at line 47 of file protocol.h.

Member Data Documentation

◆ data

const void* ConnIoArgs::data

bytes for a send

Definition at line 49 of file protocol.h.

◆ len

proto_u16 ConnIoArgs::len

how many

Definition at line 50 of file protocol.h.

◆ buf

uint8_t* ConnIoArgs::buf

where a read or a peek lands

Definition at line 51 of file protocol.h.

◆ cap

size_t ConnIoArgs::cap

how much room it has

Definition at line 52 of file protocol.h.

◆ off

size_t ConnIoArgs::off

a peek's offset from the tail

Definition at line 53 of file protocol.h.

◆ count

size_t ConnIoArgs::count

bytes a peek copies, or a consume drops

Definition at line 54 of file protocol.h.


The documentation for this struct was generated from the following file: