tcp

package
v0.0.0-...-320d922 Latest Latest
Warning

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

Go to latest
Published: May 10, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

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