ascii-chat
Binary v0.15.83-53-gb711d8720
Library lib/v0.3.2-701-gb711d8720
Video chat in your terminal
Loading...
Searching...
No Matches
udp_peer Struct Reference

acip quic udp endpoint is intentionally a small, concrete record. Fields such as socket, local, local_length, server_tls give callers the identity and current value they need. It is normally borrowed from, or owned by, the surrounding subsystem—not independently managed. More...

Data Fields

struct udp_peer * next
quic_connection_t * connection
ngtcp2_path_storage pending_path
uint8_t pending [1452]
size_t pending_length

Detailed Description

acip quic udp endpoint is intentionally a small, concrete record. Fields such as socket, local, local_length, server_tls give callers the identity and current value they need. It is normally borrowed from, or owned by, the surrounding subsystem—not independently managed.

The useful part of udp peer is in next, connection, pending_path, pending_length: together they describe what is pending, who owns it, and how much data is valid. Keep the object with its parent operation and use the parent cleanup path.

Definition at line 25 of file udp.c.

Field Documentation

◆ connection

◆ next

struct udp_peer* udp_peer::next

Definition at line 26 of file udp.c.

Referenced by quic_udp_contains(), quic_udp_pump(), quic_udp_remove(), and quic_udp_wait_parameters().

◆ pending

uint8_t udp_peer::pending[1452]

Definition at line 29 of file udp.c.

Referenced by quic_udp_pump().

◆ pending_length

size_t udp_peer::pending_length

Definition at line 30 of file udp.c.

Referenced by quic_udp_migrate(), quic_udp_pump(), and quic_udp_wait_parameters().

◆ pending_path

ngtcp2_path_storage udp_peer::pending_path

Definition at line 28 of file udp.c.

Referenced by quic_udp_pump().


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