Expand description
Testing-related utilities for use by other crates.
Structs§
- NoOp
Socket OpsFilter - No-op implementation of
SocketOpsFilter
. - Noop
Impl - A no-op implementation of packet filtering that accepts any packet that
passes through it, useful for unit tests of other modules where trait bounds
require that a
FilterHandler
is available but no filtering logic is under test.
Functions§
- new_
filter_ egress_ ip_ packet - Creates a new
IpPacket
with the specified addresses and body.