db

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Overview

Package db implements a set of flows enrichment functions

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GobiDb

type GobiDb struct {
	NoPortName  bool
	NoProtoName bool
	NoEtypeName bool
	// contains filtered or unexported fields
}

func (*GobiDb) CloseDbs

func (g *GobiDb) CloseDbs()

func (*GobiDb) FindASN

func (g *GobiDb) FindASN(ipAddr []byte, asn uint32) string

func (*GobiDb) FindCountry

func (g *GobiDb) FindCountry(ipAddr []byte) string

func (*GobiDb) FindDirection

func (g *GobiDb) FindDirection(dir uint32) string

func (*GobiDb) FindEtype

func (g *GobiDb) FindEtype(eType uint32) string

func (*GobiDb) FindIpAddr

func (g *GobiDb) FindIpAddr(ipAddr []byte) string

func (*GobiDb) FindNetwork

func (g *GobiDb) FindNetwork(ipAddr []byte, mask uint32) string

func (*GobiDb) FindProto

func (g *GobiDb) FindProto(pNumber uint32) string

func (*GobiDb) FindSvc

func (g *GobiDb) FindSvc(pNumber, port uint32) string

func (*GobiDb) OpenDbs

func (g *GobiDb) OpenDbs(asn, country string)

Jump to

Keyboard shortcuts

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