tcp

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2016 License: Apache-2.0 Imports: 6 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(tcphdr *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(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