Expand description
RadixIP - High-performance IP subnet caching engine
This library provides three trees, a binary trie, a radix tree and Adaptive Radix Tree (ART),for longest-prefix matching of IP addresses against CIDR blocks.
Re-exports§
pub use engine::EngineWrapper;pub use engine::ShardedEngine;pub use engine::StandardEngine;pub use engine_art::ARTEngineAdapter;pub use errors::RadixError;pub use errors::Result;pub use hybrid::HybridEngine;pub use lpm::LPM;pub use node::AtomicTrieNode;pub use node::LockFreeTrieNode;pub use node::NodeWrapper;pub use node::NormalTrieNode;pub use node::PaddedTrieNode;pub use node::NodeBuilder;pub use node::AtomicRadixNode;pub use node::LockFreeRadixNode;pub use node::NormalRadixNode;pub use node::PaddedRadixNode;pub use types::Metadata;pub use types::SubnetRule;pub use cache::CachedEngine;pub use config::RadixConfig;pub use radixip_cache as redis;pub use traits::*;
Modules§
- art
- atomic
- cache
- config
- optional Runtime configuration for RadixIP
- engine
- Radix tree engine implementations with different concurrency models
- engine_
art - errors
- hybrid
- lpm
- node
- Node module for RadixIP.
- traits
- tree
- Route tree implementations.
- types
Structs§
Constants§
- VERSION
- Library version
Functions§
- new
- Create a new RadixIP engine with the given configuration
- new_
balanced - Create a balanced RadixIP engine
- new_
high_ performance - Create a high-performance RadixIP engine
- new_
memory_ efficient - Create a memory-efficient RadixIP engine