Skip to main content

Module state

Module state 

Source
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§

ClogState
Simple clog state - just tracks when it expires
ConnectionFlags
Bit-packed boolean flags for a ConnectionState.
ConnectionState
Internal connection state for simulation
DiskDegradationState
Active disk-degradation episode (stall or throttle) on a process’s disk, with expiry.
FileId
Unique identifier for a simulated file within the simulation.
NetworkState
Network-related state management
PartitionState
Network partition state between two IP addresses
PendingStorageOp
A pending storage operation awaiting completion.
StorageFileState
State of an individual simulated file.
StorageState
Storage-related state management for the simulation.

Enums§

CloseReason
Reason for connection closure - distinguishes FIN vs RST semantics.
DiskEpisodeKind
Kind of dynamic disk-degradation episode currently affecting a process’s disk.
PendingOpType
Type of pending storage operation.