Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶
type Connection struct { AF ipnet.AddressFamily SrcIP netip.Addr DstIP netip.Addr DstAddr netip.Addr Proto layers.IPProtocol SrcPort uint16 DstPort uint16 // contains filtered or unexported fields }
func ParseHeader ¶
func ParseHeader(pkt []byte) (*Connection, error)
func (*Connection) IsActive ¶ added in v0.10.1
func (conn *Connection) IsActive(pktlen int) bool
func (*Connection) IsValid ¶
func (conn *Connection) IsValid(localIPv6 string) bool
func (*Connection) ParseProtocol ¶
func (conn *Connection) ParseProtocol(pkt []byte) error
func (*Connection) ProtoFilter ¶ added in v0.10.1
func (conn *Connection) ProtoFilter() bool
Filter specific proto packet types
Click to show internal directories.
Click to hide internal directories.