net_recon

package
v2.24.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2019 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AliveTimeInterval      = time.Duration(10) * time.Second
	PresentTimeInterval    = time.Duration(1) * time.Minute
	JustJoinedTimeInterval = time.Duration(10) * time.Second
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ByAddressSorter

type ByAddressSorter []*network.Endpoint

func (ByAddressSorter) Len

func (a ByAddressSorter) Len() int

func (ByAddressSorter) Less

func (a ByAddressSorter) Less(i, j int) bool

func (ByAddressSorter) Swap

func (a ByAddressSorter) Swap(i, j int)

type ByIpSorter

type ByIpSorter []*network.Endpoint

func (ByIpSorter) Len

func (a ByIpSorter) Len() int

func (ByIpSorter) Less

func (a ByIpSorter) Less(i, j int) bool

func (ByIpSorter) Swap

func (a ByIpSorter) Swap(i, j int)

type ByMacSorter

type ByMacSorter []*network.Endpoint

func (ByMacSorter) Len

func (a ByMacSorter) Len() int

func (ByMacSorter) Less

func (a ByMacSorter) Less(i, j int) bool

func (ByMacSorter) Swap

func (a ByMacSorter) Swap(i, j int)

type ByRcvdSorter

type ByRcvdSorter []*network.Endpoint

func (ByRcvdSorter) Len

func (a ByRcvdSorter) Len() int

func (ByRcvdSorter) Less

func (a ByRcvdSorter) Less(i, j int) bool

func (ByRcvdSorter) Swap

func (a ByRcvdSorter) Swap(i, j int)

type BySeenSorter

type BySeenSorter []*network.Endpoint

func (BySeenSorter) Len

func (a BySeenSorter) Len() int

func (BySeenSorter) Less

func (a BySeenSorter) Less(i, j int) bool

func (BySeenSorter) Swap

func (a BySeenSorter) Swap(i, j int)

type BySentSorter

type BySentSorter []*network.Endpoint

func (BySentSorter) Len

func (a BySentSorter) Len() int

func (BySentSorter) Less

func (a BySentSorter) Less(i, j int) bool

func (BySentSorter) Swap

func (a BySentSorter) Swap(i, j int)

type Discovery

type Discovery struct {
	session.SessionModule
	// contains filtered or unexported fields
}

func NewDiscovery

func NewDiscovery(s *session.Session) *Discovery

func (Discovery) Author

func (mod Discovery) Author() string

func (*Discovery) Configure

func (mod *Discovery) Configure() error

func (Discovery) Description

func (mod Discovery) Description() string

func (Discovery) Name

func (mod Discovery) Name() string

func (*Discovery) Show

func (mod *Discovery) Show(arg string) (err error)

func (*Discovery) Start

func (mod *Discovery) Start() error

func (*Discovery) Stop

func (mod *Discovery) Stop() error

type ProtoPair

type ProtoPair struct {
	Protocol string
	Hits     uint64
}

type ProtoPairList

type ProtoPairList []ProtoPair

func (ProtoPairList) Len

func (p ProtoPairList) Len() int

func (ProtoPairList) Less

func (p ProtoPairList) Less(i, j int) bool

func (ProtoPairList) Swap

func (p ProtoPairList) Swap(i, j int)

Jump to

Keyboard shortcuts

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