Expand description
§ts_dataplane
The packet processing data plane.
The core of the data plane is synchronous and non-blocking, so that it can be wrapped in the user’s choice of sync/async runtimes.
Modules§
- async_
tokio - The packet processing dataplane, as a tokio task.
Structs§
- Data
Plane - Transforms packets to make tailscale happen.
- Event
Result - The result of processing an event.
- Inbound
Result - The result of processing inbound packets.
- Outbound
Result - The result of processing outbound packets.
Enums§
- Capture
Path - The direction/path of a captured packet, mirroring Go Tailscale’s
capture.Path. The numeric values are the on-wire path codes written into each pcap record’s Tailscale preamble. - Subsystem
- A data plane subsystem that can be the subject of timer events.
Type Aliases§
- Capture
Hook - A debug packet-capture hook. When installed on a
DataPlane, it is invoked with the path and the raw IP packet bytes for every plaintext packet crossing the datapath. It must be cheap and non-blocking — it runs inline on the single-threaded dataplane step, so a slow hook backs up the datapath. Wrapped inArcso it is cheap to clone andSend + Syncfor the actor that installs it.