protocol

package
v0.0.0-...-0cb42f5 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2023 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(s string, a ...interface{})

func Error

func Error(t string, s string, a ...interface{})

Too bad for perf that a... is evaluated

func Info

func Info(s string, a ...interface{})

Types

type Context

type Context struct {
	CaptureInfo gopacket.CaptureInfo
}

* The assembler context

func (*Context) GetCaptureInfo

func (c *Context) GetCaptureInfo() gopacket.CaptureInfo

type TcpHandler

type TcpHandler interface {
	HandlePacket(tcpLayer *layers.TCP, packet gopacket.Packet) error
	HandleTicket() error
}

func NewTcpHandler

func NewTcpHandler() TcpHandler

Jump to

Keyboard shortcuts

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