Versions in this module Expand all Collapse all v0 v0.0.2 Jul 10, 2023 v0.0.1 Jul 8, 2023 Changes in this version + var LayerTypeVRT = gopacket.RegisterLayerType(4900, gopacket.LayerTypeMetadata{ ... }) + func ValidateVrtPacketSize(header Header, size uint32) (outputHeaderSize uint16, ouputMinimumWords uint32, err error) + type ClassID struct + InformationClassCode uint16 + OUI uint32 + PacketClassCode uint16 + type Header struct + C bool + PacketCount PacketCount + PacketSize uint16 + T bool + TSF TSF + TSI TSI + Type VitaPacketType + type PacketCount uint8 + type TSF uint8 + const TSFFreeRunning + const TSFNone + const TSFRealTime + const TSFSampleCount + type TSI uint8 + const TSIGPS + const TSINone + const TSIOther + const TSIUTC + type Trailer struct + AGCMGCEnable bool + AGCMGCIndicator bool + AssociatedContextPacketCount byte + AssociatedContextPacketCountEnable bool + CalibratedTimeEnable bool + CalibratedTimeIndicator bool + DetectedSignalEnable bool + DetectedSignalIndicator bool + OverrangeEnable bool + OverrangeIndicator bool + ReferenceLockEnable bool + ReferenceLockIndicator bool + SampleLossEnable bool + SampleLossIndicator bool + SpectralInversionEnable bool + SpectralInversionIndicator bool + ValidDataEnable bool + ValidDataIndicator bool + type VRT struct + ClassID ClassID + Header Header + Payload []byte + StreamID uint32 + TimestampFrac uint64 + TimestampInt uint32 + func (v *VRT) DecodeFromBytes(data []byte, df gopacket.DecodeFeedback) error + func (v *VRT) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.SerializeOptions) error + func (v VRT) CanDecode() gopacket.LayerClass + func (v VRT) LayerContents() (data []byte) + func (v VRT) LayerPayload() []byte + func (v VRT) LayerType() gopacket.LayerType + func (v VRT) NextLayerType() gopacket.LayerType + type VitaPacketType uint8 + const ExtContext + const ExtData + const ExtDataWithStream + const IFContext + const IFData + const IFDataWithStream