conman

package
v0.0.0-...-2b49871 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2019 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Connection

type Connection struct {
	Protocol string
	SrcIP    net.IP
	SrcPort  uint
	DstIP    net.IP
	DstPort  uint
	DstHost  string
	Entry    *netstat.Entry
	Process  *procmon.Process
	// contains filtered or unexported fields
}

func NewConnection

func NewConnection(nfp *netfilter.Packet, ip *layers.IPv4) (c *Connection, err error)

func NewConnection6

func NewConnection6(nfp *netfilter.Packet, ip *layers.IPv6) (c *Connection, err error)

func Parse

func Parse(nfp netfilter.Packet) *Connection

func (*Connection) Serialize

func (c *Connection) Serialize() *protocol.Connection

func (*Connection) String

func (c *Connection) String() string

func (*Connection) To

func (c *Connection) To() string

Jump to

Keyboard shortcuts

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