packets

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EthernetHeader

func EthernetHeader(proto layers.EthernetType) []byte

EthernetHeader creates an arbitrary Ethernet header

func IPv4Header

func IPv4Header(proto layers.IPProtocol) []byte

IPv4Header creates an arbitrary IPv4 header

func TCPv4ACK

func TCPv4ACK() []byte

TCPv4ACK creates an arbitrary TCP ACK header

func TCPv4SYN

func TCPv4SYN() []byte

TCPv4SYN creates an arbitrary TCP SYN header

func TCPv4SYNACK

func TCPv4SYNACK() []byte

TCPv4SYNACK creates an arbitrary TCP SYN/ACK header

Types

This section is empty.

Jump to

Keyboard shortcuts

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