ProtoCore v0.0.1
Deterministic, zero-heap network stack for embedded targets
Loading...
Searching...
No Matches
IpAllowRule Struct Reference

Public Attributes

pc_ip network
 network address (family pc_ip_family::PC_IP_V4 / V6; pc_ip_family::PC_IP_NONE marks unused).
 
uint8_t prefix_len
 CIDR prefix length: 0..32 for v4, 0..128 for v6.
 

Detailed Description

Definition at line 174 of file listener.cpp.

Member Data Documentation

◆ network

pc_ip IpAllowRule::network

network address (family pc_ip_family::PC_IP_V4 / V6; pc_ip_family::PC_IP_NONE marks unused).

Definition at line 176 of file listener.cpp.

Referenced by listener_ip_allow_add(), listener_ip_allowed(), and listener_ip_allowlist_reset().

◆ prefix_len

uint8_t IpAllowRule::prefix_len

CIDR prefix length: 0..32 for v4, 0..128 for v6.

Definition at line 177 of file listener.cpp.

Referenced by listener_ip_allow_add(), and listener_ip_allowed().


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