Expand description
Implements address policies, based on a series of accept/reject rules.
Structs§
- Addr
Policy - Sequence of
acceptandrejectrules - Addr
Policy 🔒Rule - A single rule in an address policy.
- Addr
Port Pattern - A pattern that may or may not match an address and port.
Enums§
- IpPattern
- A pattern that matches one or more IP addresses.
Functions§
- parse_
addr 🔒 - Helper: try to parse a plain ipv4 address, or an IPv6 address wrapped in brackets.