wired
libc-free QUIC/HTTP3 SDK in C for x86_64-linux
Loading...
Searching...
No Matches
quic_sockaddr Struct Reference

A sockaddr_in6 laid out for the kernel (big-endian port; a 16-byte address that is either native IPv6 or an IPv4-mapped ::ffff:a.b.c.d). More...

#include <udp.h>

Data Fields

u16 family
 WIRED_AF_INET6.
u16 port_be
 network byte order
u32 flowinfo
 sin6_flowinfo, zeroed
u8 addr [16]
 native IPv6, or v4-mapped ::ffff:a.b.c.d
u32 scope_id
 sin6_scope_id, zeroed

Detailed Description

A sockaddr_in6 laid out for the kernel (big-endian port; a 16-byte address that is either native IPv6 or an IPv4-mapped ::ffff:a.b.c.d).

Every socket this SDK opens is AF_INET6 with IPV6_V6ONLY off, so this one shape addresses both families.


The documentation for this struct was generated from the following file:
  • transport/io/socket/io/udp.h