data

package
v1.0.0-alpha Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2017 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Conn

type Conn struct {
	ID       bson.ObjectId `bson:"_id,omitempty"`
	Ts       int64         `bson:"ts,omitempty"`
	UID      string        `bson:"uid"`
	Src      string        `bson:"id_orig_h,omitempty"`
	Spt      int           `bson:"id_orig_p,omitempty"`
	Dst      string        `bson:"id_resp_h,omitempty"`
	Dpt      int           `bson:"id_resp_p,omitempty"`
	Dur      float64       `bson:"duration,omitempty"`
	Proto    string        `bson:"proto,omitempty"`
	LocalSrc bool          `bson:"local_orig,omitempty"`
	LocalDst bool          `bson:"local_resp,omitempty"`
}

Conn provides structure for a subset of the fields in the parser.Conn data structure. If fields are needed that are not in this Conn structure use parser.Conn instead.

Jump to

Keyboard shortcuts

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