Function test_help_flow::dummy_flow
[−]
[src]
pub fn dummy_flow(local: IpAddr, remote: IpAddr) -> Flow
Builds a dummy test flow.
It is mostly empty, with 1 packet in the local→remote direction and set addresses. It is a TCP flow, with ports set to 1 and 2.
Parameters
- id: Id of the new flow.
- local: Local endpoint IP address for the new flow.
- remote: Remote endpoint IP address for the new flow.