Module filter

Source
Expand description

Framework for packet filtering.

Structs§

AddressMatcher
A matcher for IP addresses.
FilterApi
The filtering API.
Hook
A particular entry point for packet processing in which filtering routines are installed.
IpRoutines
Routines that perform ordinary IP filtering.
NatRoutines
Routines that can perform NAT.
PacketMatcher
Top-level matcher for IP packets.
PortMatcher
A matcher for transport-layer port numbers.
ProofOfEgressCheck
A witness type to indicate that the egress filtering hook has been run.
Routine
A sequence of Rules.
Routines
IP version-specific filtering routine state.
Rule
A set of criteria (matchers) and a resultant action to take if a given packet matches.
TransportProtocolMatcher
A matcher for transport-layer protocol or port numbers.
Tuple
A tuple for a flow in a single direction.
UninstalledRoutine
A handle to a Routine that is not installed in a particular hook, and therefore is only run if jumped to from another routine.

Enums§

Action
The action to take on a packet.
AddressMatcherType
A matcher for IP addresses.
InterfaceMatcher
A matcher for network interfaces.
MarkAction
An action that can be applied to a mark.
TransparentProxy
Transparently intercept the packet and deliver it to a local socket without changing the packet header.
ValidationError
Provided filtering state was invalid.

Traits§

FilterBindingsContext
Trait aggregating functionality required from bindings.
FilterBindingsTypes
Trait defining required types for filtering provided by bindings.
InterfaceProperties
Allows filtering code to match on properties of an interface (ID, name, and device class) without Netstack3 Core (or Bindings, in the case of the device class) having to specifically expose that state.