Module testutil

Module testutil 

Source
Expand description

Testing-related utilities for use by other crates.

Structs§

NoOpSocketOpsFilter
No-op implementation of SocketOpsFilter.
NoopImpl
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.