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

Public Attributes

pc_ip addr
 source address (family pc_ip_family::PC_IP_NONE marks an empty bucket).
 
uint32_t window_start
 millis() at the start of this bucket's current window.
 
uint16_t count
 connections counted from this address in the window.
 

Detailed Description

Definition at line 84 of file listener.cpp.

Member Data Documentation

◆ addr

pc_ip IpThrottleBucket::addr

source address (family pc_ip_family::PC_IP_NONE marks an empty bucket).

Definition at line 86 of file listener.cpp.

Referenced by listener_accept_allowed_ip(), and listener_per_ip_throttle_reset().

◆ window_start

uint32_t IpThrottleBucket::window_start

millis() at the start of this bucket's current window.

Definition at line 87 of file listener.cpp.

Referenced by listener_accept_allowed_ip(), and listener_per_ip_throttle_reset().

◆ count

uint16_t IpThrottleBucket::count

connections counted from this address in the window.

Definition at line 88 of file listener.cpp.

Referenced by listener_accept_allowed_ip(), and listener_per_ip_throttle_reset().


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