beholder

package
v0.0.0-...-e25d287 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetOutboundIP

func GetOutboundIP() net.IP

Get preferred outbound ip of this machine

Types

type Beholder

type Beholder struct {
	// contains filtered or unexported fields
}

func NewBeholder

func NewBeholder(iface string) (*Beholder, error)

func (*Beholder) GetRecent

func (b *Beholder) GetRecent(port uint32) (ConnState, bool)

type ConnState

type ConnState struct {
	Seq           uint32
	Ack           uint32
	MAC           net.HardwareAddr
	TimestampData []byte
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL