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

Resolved driver selection and its knobs, filled entirely by wired_srvdriver_parse from argv (or by hand for a caller that skips CLI parsing). More...

#include <srvdriver.h>

Data Fields

wired_srvdriver_kind kind
 which of the four run paths to take
u16 port
 –port (default 4433); the single source of truth for the UDP port both wired_srvdriver_run binds/serves on AND (XDP only) the BPF redirect filter matches – kept in opt instead of a separate function argument so the two can never drift apart and silently filter out every real packet.
int pin_core
 WIRED_SRVDRIVER_PLAIN only: CPU to pin to, -1 = off.
wired_srvrun_opt run
 PLAIN/XDP: busy_poll and app callbacks.
wired_srvworkers_opt workers
 WORKERS knobs.
wired_srvxdp_cfg xdp
 XDP knobs (also used by THREADS+ifindex).
wired_srvthreads_opt threads
 THREADS knobs.

Detailed Description

Resolved driver selection and its knobs, filled entirely by wired_srvdriver_parse from argv (or by hand for a caller that skips CLI parsing).


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