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
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.