Documentation ¶
Index ¶
- Variables
- type PWMCW
- func (cw *PWMCW) CanDecode() gopacket.LayerClass
- func (cw *PWMCW) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error
- func (cw *PWMCW) LayerType() gopacket.LayerType
- func (cw *PWMCW) NextLayerType() gopacket.LayerType
- func (cw *PWMCW) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.SerializeOptions) error
- type PWMCWDecoder
- type VPLS
Constants ¶
This section is empty.
Variables ¶
View Source
var LayerTypePWMCW = gopacket.RegisterLayerType(2001, gopacket.LayerTypeMetadata{Name: "PWMCW", Decoder: gopacket.DecodeFunc(decodePWMCW)})
View Source
var LayerTypeVPLS = gopacket.RegisterLayerType(1024, gopacket.LayerTypeMetadata{Name: "VPLS", Decoder: gopacket.DecodeFunc(decodeVPLS)})
Functions ¶
This section is empty.
Types ¶
type PWMCW ¶
func (*PWMCW) CanDecode ¶
func (cw *PWMCW) CanDecode() gopacket.LayerClass
func (*PWMCW) DecodeFromBytes ¶
func (cw *PWMCW) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error
func (*PWMCW) NextLayerType ¶
func (*PWMCW) SerializeTo ¶
func (cw *PWMCW) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.SerializeOptions) error
type PWMCWDecoder ¶
type PWMCWDecoder struct {
ControlWord bool
}
func (*PWMCWDecoder) Decode ¶
func (c *PWMCWDecoder) Decode(data []byte, p gopacket.PacketBuilder) error
type VPLS ¶
func (*VPLS) CanDecode ¶
func (v *VPLS) CanDecode() gopacket.LayerClass
func (*VPLS) DecodeFromBytes ¶
func (v *VPLS) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error
func (*VPLS) NextLayerType ¶
Click to show internal directories.
Click to hide internal directories.