Documentation ¶
Index ¶
- Variables
- func DecodeGUE(data []byte, p gopacket.PacketBuilder) error
- type GUE
- func (l GUE) CanDecode() gopacket.LayerClass
- func (l *GUE) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error
- func (l GUE) LayerContents() []byte
- func (l GUE) LayerPayload() []byte
- func (l GUE) LayerType() gopacket.LayerType
- func (l GUE) NextLayerType() gopacket.LayerType
- func (l GUE) SerializeTo(buf gopacket.SerializeBuffer, opts gopacket.SerializeOptions) error
Constants ¶
This section is empty.
Variables ¶
View Source
var GUELayerType gopacket.LayerType
GUELayerType should be populated when GUE has been registered with gopacket
Functions ¶
Types ¶
type GUE ¶
type GUE struct { Version uint8 C bool Protocol gplayers.IPProtocol Flags uint16 Extensions []byte PrivateData []byte Data []byte }
GUE represents a packet encoded with Generic UDP Encapsulation It should sit "under" a UDP layer
For more information about the meaning of the fields, see https://tools.ietf.org/html/draft-ietf-intarea-gue-04#section-3.1
func (GUE) CanDecode ¶
func (l GUE) CanDecode() gopacket.LayerClass
func (*GUE) DecodeFromBytes ¶
func (l *GUE) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error
func (GUE) LayerContents ¶
func (GUE) LayerPayload ¶
func (GUE) NextLayerType ¶
func (GUE) SerializeTo ¶
func (l GUE) SerializeTo(buf gopacket.SerializeBuffer, opts gopacket.SerializeOptions) error
Click to show internal directories.
Click to hide internal directories.