Skip to main content

Module network_trace

Module network_trace 

Source
Expand description

Versioned data model for schedule-independent external network input.

This module deliberately contains no recorder, replayer, or scheduler hook. It defines the fail-closed v1 envelope and its framing so a future runtime integration cannot accidentally reuse the schedule-coupled syscall event stream. Merely constructing a NetworkTraceConfig does not enable any behavior today.

Structs§

NetworkChannelV1
The only channel supported by v1: one outbound TCP client connection.
NetworkInputEventV1
One globally ordered external observation.
NetworkOutputV1
One contiguous recorded fragment of the expected outbound TCP byte stream.
NetworkReleaseV1
Conditions that must both hold before an input becomes observable.
NetworkTraceConfig
Configuration reserved for the future network recorder/replayer seam.
NetworkTraceV1
Version-one schedule-independent network input trace.

Enums§

NetworkAddressV1
Internet address recorded without host-layout sockaddr padding.
NetworkEndpointRoleV1
Connection role admitted by v1. Server-side accept needs a different identity and arrival model and is intentionally not representable.
NetworkInputKindV1
Supported external observations for the initial TCP byte-stream model.
NetworkTraceCodecError
Failure to decode or encode the framed v1 representation.
NetworkTraceConfigError
Invalid combinations in NetworkTraceConfig.
NetworkTraceMode
Whether the future runtime integration records or replays external input.
NetworkTraceValidationError
Semantically invalid v1 trace.
NetworkTransportV1
Transport admitted by the v1 trace envelope.

Constants§

MAX_NETWORK_TRACE_PAYLOAD_BYTES
Refuse hostile or corrupt length headers before allocating memory.
NETWORK_TRACE_MAGIC
The on-disk format magic. The version is stored in the following four bytes.
NETWORK_TRACE_VERSION_V1
The only network trace format this build accepts.