Documentation ¶
Index ¶
Constants ¶
View Source
const (
BUFFER_SIZE = 1024
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Decoder ¶
func NewDecoder ¶
func NewDecoder( index int, inQueue queue.QueueReader, pcapWriter *dbwriter.PcapWriter, config *config.Config, ) *Decoder
func (*Decoder) GetCounter ¶
func (d *Decoder) GetCounter() interface{}
type PcapHeader ¶
type PcapHeader struct { Magic uint32 Major uint16 Minor uint16 ThisZone uint32 SigFigs uint32 SnapLen uint32 LinkType uint32 EncoderMagic uint32 }
func (*PcapHeader) Encode ¶
func (p *PcapHeader) Encode(encoder *codec.SimpleEncoder)
Click to show internal directories.
Click to hide internal directories.