ProtoCore v1.0.16
Deterministic, zero-heap network stack for embedded targets
Loading...
Searching...
No Matches
TcpGateArgs Struct Reference

The accept-time gates: what a throttle or an allowlist judges. Nothing a bind reads. More...

#include <server.h>

Public Attributes

uint32_t now_ms
 the clock a throttle window measures against
 
const protocore_ip * addr
 the source address a gate judges
 
uint8_t prefix_len
 its CIDR prefix length (RFC 4632)
 
const char * cidr
 the same rule as text
 

Detailed Description

The accept-time gates: what a throttle or an allowlist judges. Nothing a bind reads.

Definition at line 62 of file server.h.

Member Data Documentation

◆ now_ms

uint32_t TcpGateArgs::now_ms

the clock a throttle window measures against

Definition at line 64 of file server.h.

◆ addr

const protocore_ip* TcpGateArgs::addr

the source address a gate judges

Definition at line 65 of file server.h.

◆ prefix_len

uint8_t TcpGateArgs::prefix_len

its CIDR prefix length (RFC 4632)

Definition at line 66 of file server.h.

◆ cidr

const char* TcpGateArgs::cidr

the same rule as text

Definition at line 67 of file server.h.


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