20#define MOQRAW_CLOSE_INVALID_PATH 0x8
22#define MOQRAW_CLOSE_MALFORMED_PATH 0x9
25#define MOQRAW_CLOSE_INVALID_AUTHORITY 0x19
28#define MOQRAW_CLOSE_MALFORMED_AUTHORITY 0x1A
draft-ietf-moq-transport-19 SS10 Control Messages: common envelope (Type + 16-bit Length + Body),...
int moqraw_authority_ok(wired_span authority)
RFC 3986 3.2 subset for the AUTHORITY option: [userinfo "@"] host [":" port], where host is a non-emp...
u32 moqraw_setup_verdict(int raw, const moqctl_setup *m, const moqraw_policy *pol)
The close code a decoded client SETUP calls for, 0 to accept.
int moqraw_path_ok(wired_span path)
RFC 3986 3.3/3.4 subset for the PATH option: 1 when path is empty, or starts with "/" and continues w...
Value-type views that fold the SDK's recurring argument shapes into single parameters,...
draft-ietf-moq-transport-19 SS10.4 SETUP: Setup Options are a KVP list (unknown options ignored on de...
Definition moqctl.h:751
The application's optional say over well-formed PATH/AUTHORITY values on raw QUIC.
Definition moqraw.h:34
int(* accept_path)(void *ctx, wired_span path)
1 to accept path, 0 to close with MOQRAW_CLOSE_INVALID_PATH; 0 hook = accept.
Definition moqraw.h:37
int(* accept_authority)(void *ctx, wired_span authority)
1 to accept authority, 0 to close with MOQRAW_CLOSE_INVALID_AUTHORITY; 0 hook = accept.
Definition moqraw.h:40
void * ctx
opaque context passed to both hooks
Definition moqraw.h:42
Read-only view of a byte range.
Definition span.h:30
unsigned int u32
unsigned 32-bit integer
Definition types.h:15