Expand description
Network state management for simulation.
This module provides internal state types for managing connections, listeners, partitions, and clogs in the simulation environment.
Structs§
- Clog
State - Simple clog state - just tracks when it expires
- Connection
Flags - Bit-packed boolean flags for a
ConnectionState. - Connection
State - Internal connection state for simulation
- Disk
Degradation State - Active disk-degradation episode (stall or throttle) on a process’s disk, with expiry.
- FileId
- Unique identifier for a simulated file within the simulation.
- Network
State - Network-related state management
- Partition
State - Network partition state between two IP addresses
- Pending
Storage Op - A pending storage operation awaiting completion.
- Storage
File State - State of an individual simulated file.
- Storage
State - Storage-related state management for the simulation.
Enums§
- Close
Reason - Reason for connection closure - distinguishes FIN vs RST semantics.
- Disk
Episode Kind - Kind of dynamic disk-degradation episode currently affecting a process’s disk.
- Pending
OpType - Type of pending storage operation.