Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EthLayer2 ¶
type EthLayer2 struct { layers.Ethernet VLANIdentifier uint16 // contains filtered or unexported fields }
Ethernet Layer + VLAN extension.
func (*EthLayer2) DecodeFromBytes ¶
func (e *EthLayer2) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) (err error)
func (*EthLayer2) SerializeTo ¶
func (e *EthLayer2) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.SerializeOptions) (err error)
Click to show internal directories.
Click to hide internal directories.