eth

package
v0.0.0-...-94a1d89 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2017 License: MIT Imports: 3 Imported by: 0

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)

func (*EthLayer2) String

func (e *EthLayer2) String() string

Jump to

Keyboard shortcuts

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