Versions in this module Expand all Collapse all v1 v1.0.1 Apr 30, 2024 Changes in this version + const DirectionRecv + const DirectionSend + var LogPackets atomicbitops.Uint32 = atomicbitops.FromUint32(1) + var LogPacketsToPCAP atomicbitops.Uint32 = atomicbitops.FromUint32(1) + func LogPacket(prefix string, dir Direction, protocol tcpip.NetworkProtocolNumber, ...) + func New(lower stack.LinkEndpoint) stack.LinkEndpoint + func NewWithPrefix(lower stack.LinkEndpoint, logPrefix string) stack.LinkEndpoint + func NewWithWriter(lower stack.LinkEndpoint, writer io.Writer, snapLen uint32) (stack.LinkEndpoint, error) + type Direction int