Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EthernetHeader ¶
func EthernetHeader(proto layers.EthernetType) []byte
func IPv4Header ¶
func IPv4Header(proto layers.IPProtocol) []byte
func TCPv4ACK ¶
func TCPv4ACK() []byte
TCPv4ACK constructs an IPv4 TCP ACK packet, and returns the slice
func TCPv4SYN ¶
func TCPv4SYN() []byte
TCPv4SYN constructs an IPv4 TCP SYN packet, and returns the slice
func TCPv4SYNACK ¶
func TCPv4SYNACK() []byte
TCPv4SYNACK constructs an IPv4 TCP SYN/ACK packet, and returns the slice
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.