ns

package module
v0.0.0-...-dd46c4d Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2020 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entries

type Entries []Entry

func Parse

func Parse(r io.Reader) (Entries, error)

func (Entries) Filter

func (es Entries) Filter(f func(e Entry) bool) Entries

func (Entries) FindByLocalPort

func (es Entries) FindByLocalPort(port int) int

func (Entries) FindByRemotePort

func (es Entries) FindByRemotePort(port int) int

type Entry

type Entry struct {
	Number     int
	LocalAddr  net.IP
	LocalPort  int
	RemoteAddr net.IP
	RemotePort int
	State      int
	UID        int
	INode      int
}

Jump to

Keyboard shortcuts

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