|
wired
libc-free QUIC/HTTP3 SDK in C for x86_64-linux
|
A decoded Range Filter parameter value (SS10.2.10-10.2.14): SetID, the 0x28/0x29 Property Type, and the delta-resolved Ranges. More...
#include <moqctl.h>
Data Fields | |
| u64 | set_id |
| SetID: the filter set this Range Filter belongs to. | |
| int | has_prop |
| 1 for the Property filters (0x28/0x29), which carry prop_type. | |
| u64 | prop_type |
| Property Type the Ranges apply to; valid iff has_prop. | |
| int | remove |
| 1 for a zero-length value: delete this filter (REQUEST_UPDATE). | |
| int | invalid |
| 1 when the value is unusable (see above): answer INVALID_FILTER. | |
| usz | n |
| Ranges decoded into r, at most MOQCTL_MAX_RANGES. | |
| moqctl_range | r [MOQCTL_MAX_RANGES] |
| The Ranges in wire order (each start is a delta past the previous end, so they ascend). | |
A decoded Range Filter parameter value (SS10.2.10-10.2.14): SetID, the 0x28/0x29 Property Type, and the delta-resolved Ranges.
remove marks a zero-length value (the REQUEST_UPDATE delete); invalid marks a delta summing past 2^64-1 or more than MOQCTL_MAX_RANGES Ranges – both call for REQUEST_ERROR INVALID_FILTER at the message layer, not a session close, so they decode OK and flag instead.