Structsยง
- Represents a DNS rule
- Represents an Ipv4 rule
- Represents an Ipv6 rule
- Rule
Expr ๐ - Represents a ruleset that can be used to specify a whitelist and a blacklist in order to control the inbound and outbound traffic of a network.
- Ruleset
Segment ๐
Enumsยง
- Represents the direction of the network traffic
- Specification of a domain
- Specification of an Ipv4
- Specification of an Ipv6 address
- Specification of a port rule
- Represents all supported rules
- Rule
Action ๐ - Represents the errors that could happen during parsing the ruleset
- Rule
Type ๐
Functionsยง
- parse_
as_ ๐list - parse_
dns_ ๐rule - parse_
enclosed ๐ - parse_
ipv4_ ๐rule - parse_
ipv6_ ๐rule