tcp

package
v6.0.0-alpha2+incompat... Latest Latest
Warning

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

Go to latest
Published: May 31, 2017 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TCPDirectionReverse  = 0
	TCPDirectionOriginal = 1
)
View Source
const TCPMaxDataInStream = 10 * (1 << 20)

Variables

This section is empty.

Functions

This section is empty.

Types

type Processor

type Processor interface {
	Process(flow *flows.FlowID, hdr *layers.TCP, pkt *protos.Packet)
}

type TCP

type TCP struct {
	// contains filtered or unexported fields
}

func NewTCP

func NewTCP(p protos.Protocols) (*TCP, error)

Creates and returns a new Tcp.

func (*TCP) Process

func (tcp *TCP) Process(id *flows.FlowID, tcphdr *layers.TCP, pkt *protos.Packet)

type TCPConnection

type TCPConnection struct {
	// contains filtered or unexported fields
}

func (*TCPConnection) String

func (conn *TCPConnection) String() string

type TCPStream

type TCPStream struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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