tcp

package
v1.0.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2015 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 * 1e6

Variables

This section is empty.

Functions

This section is empty.

Types

type Processor added in v1.0.0

type Processor interface {
	Process(tcphdr *layers.TCP, pkt *protos.Packet)
}

type Tcp added in v1.0.0

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

func NewTcp added in v1.0.0

func NewTcp(p protos.Protocols) (*Tcp, error)

Creates and returns a new Tcp.

func (*Tcp) Process added in v1.0.0

func (tcp *Tcp) Process(tcphdr *layers.TCP, pkt *protos.Packet)

type TcpStream

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

func (*TcpStream) String added in v1.0.0

func (stream *TcpStream) String() string

Jump to

Keyboard shortcuts

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