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

Who a queued datagram is from or to, and how long its payload is. More...

#include <common.h>

Public Attributes

protocore_ip addr
 peer address, network order
 
uint16_t port
 peer port
 
uint16_t len
 payload bytes following the header
 

Detailed Description

Who a queued datagram is from or to, and how long its payload is.

Definition at line 44 of file common.h.

Member Data Documentation

◆ addr

protocore_ip protocore_udp_dgram::addr

peer address, network order

Definition at line 46 of file common.h.

Referenced by protocore_udp_dgram_decode(), and protocore_udp_dgram_encode().

◆ port

uint16_t protocore_udp_dgram::port

peer port

Definition at line 47 of file common.h.

Referenced by protocore_udp_dgram_decode(), and protocore_udp_dgram_encode().

◆ len

uint16_t protocore_udp_dgram::len

payload bytes following the header

Definition at line 48 of file common.h.

Referenced by protocore_udp_dgram_decode(), protocore_udp_dgram_encode(), and protocore_udp_dgram_take().


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