tcp

package
v5.0.0-alpha5+incompat... Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2016 License: Apache-2.0 Imports: 8 Imported by: 2,742

Documentation

Index

Constants

View Source
const (
	TcpDirectionReverse  = 0
	TcpDirectionOriginal = 1
)
View Source
const TCP_MAX_DATA_IN_STREAM = 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