class

KemalWAF::RadixTreeNode

Inherits Reference / Object

============================================================================= Radix Tree Node for IP CIDR Matching

Binary tree where each level represents one bit of the IP address Supports both IPv4 (32 bits) and IPv6 (128 bits)

Constructors

Instance methods

is_terminal
Source
is_terminal=(is_terminal : Bool)
Source
left
Source
left=(left : RadixTreeNode | Nil)
Source
mark_terminal(prefix : Int32, network : String)
Source
network
Source
network=(network : String)
Source
prefix
Source
prefix=(prefix : Int32)
Source
right
Source
right=(right : RadixTreeNode | Nil)
Source