DeterministicESPAsyncWebServer v6.27.1
Zero-allocation, bounded-execution async HTTP server for ESP32
Loading...
Searching...
No Matches
IpThrottleBucket Struct Reference

Public Attributes

DetIp addr
 source address (family DetIpFamily::DET_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 81 of file listener.cpp.

Member Data Documentation

◆ addr

DetIp IpThrottleBucket::addr

source address (family DetIpFamily::DET_IP_NONE marks an empty bucket).

Definition at line 83 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 84 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 85 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: