Versions in this module Expand all Collapse all v0 v0.5.0 Apr 18, 2026 Changes in this version + type Connection struct + Done chan struct{} + FakePayload []byte + Monitor bool + Mu sync.Mutex + Result Result + Stage HandshakeStage + SynAckSeq uint32 + SynSeq uint32 + Tuple Tuple + func New(t Tuple, fakePayload []byte) *Connection + func (c *Connection) Finish(ok bool, reason string) + type HandshakeStage uint8 + const StageAckSent + const StageFailed + const StageFakeAcked + const StageFakeScheduled + const StageFakeSent + const StageInit + const StageSynAckSeen + const StageSynSent + type Result struct + OK bool + Reason string + type Table struct + func NewTable() *Table + func (t *Table) Add(c *Connection) bool + func (t *Table) Get(k Tuple) (*Connection, bool) + func (t *Table) Len() int + func (t *Table) Remove(k Tuple) + type Tuple struct + DstIP netip.Addr + DstPort uint16 + SrcIP netip.Addr + SrcPort uint16