Expand description
Implements address policies, based on a series of accept/reject rules.
Structsยง
- Addr
Policy - A sequence of rules that are applied to an address:port until one matches.
- 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.