Documentation
¶
Overview ¶
Code generated by ndn tlv codegen DO NOT EDIT.
Index ¶
- type PassiveState
- type PassiveStateEncoder
- type PassiveStateParsingContext
- type SeqNoEntry
- type SeqNoEntryEncoder
- type SeqNoEntryParsingContext
- type StateVector
- type StateVectorEncoder
- type StateVectorEntry
- type StateVectorEntryEncoder
- type StateVectorEntryParsingContext
- type StateVectorParsingContext
- type SvsData
- type SvsDataEncoder
- type SvsDataParsingContext
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PassiveState ¶ added in v1.5.1
type PassiveState struct {
//+field:sequence:[]byte:binary:[]byte
Data [][]byte `tlv:"0xfa0"`
}
+tlv-model:nocopy
func ParsePassiveState ¶ added in v1.5.1
func ParsePassiveState(reader enc.WireView, ignoreCritical bool) (*PassiveState, error)
func (*PassiveState) Bytes ¶ added in v1.5.1
func (value *PassiveState) Bytes() []byte
func (*PassiveState) Encode ¶ added in v1.5.1
func (value *PassiveState) Encode() enc.Wire
type PassiveStateEncoder ¶ added in v1.5.1
type PassiveStateEncoder struct {
Length uint
Data_subencoder []struct {
}
// contains filtered or unexported fields
}
func (*PassiveStateEncoder) Encode ¶ added in v1.5.1
func (encoder *PassiveStateEncoder) Encode(value *PassiveState) enc.Wire
func (*PassiveStateEncoder) EncodeInto ¶ added in v1.5.1
func (encoder *PassiveStateEncoder) EncodeInto(value *PassiveState, wire enc.Wire)
func (*PassiveStateEncoder) Init ¶ added in v1.5.1
func (encoder *PassiveStateEncoder) Init(value *PassiveState)
type PassiveStateParsingContext ¶ added in v1.5.1
type PassiveStateParsingContext struct {
}
func (*PassiveStateParsingContext) Init ¶ added in v1.5.1
func (context *PassiveStateParsingContext) Init()
func (*PassiveStateParsingContext) Parse ¶ added in v1.5.1
func (context *PassiveStateParsingContext) Parse(reader enc.WireView, ignoreCritical bool) (*PassiveState, error)
type SeqNoEntry ¶
type SeqNoEntry struct {
//+field:natural
BootstrapTime uint64 `tlv:"0xd4"`
//+field:natural
SeqNo uint64 `tlv:"0xd6"`
}
func ParseSeqNoEntry ¶
func ParseSeqNoEntry(reader enc.WireView, ignoreCritical bool) (*SeqNoEntry, error)
func (*SeqNoEntry) Bytes ¶
func (value *SeqNoEntry) Bytes() []byte
func (*SeqNoEntry) Encode ¶
func (value *SeqNoEntry) Encode() enc.Wire
type SeqNoEntryEncoder ¶
type SeqNoEntryEncoder struct {
Length uint
}
func (*SeqNoEntryEncoder) Encode ¶
func (encoder *SeqNoEntryEncoder) Encode(value *SeqNoEntry) enc.Wire
func (*SeqNoEntryEncoder) EncodeInto ¶
func (encoder *SeqNoEntryEncoder) EncodeInto(value *SeqNoEntry, buf []byte)
func (*SeqNoEntryEncoder) Init ¶
func (encoder *SeqNoEntryEncoder) Init(value *SeqNoEntry)
type SeqNoEntryParsingContext ¶
type SeqNoEntryParsingContext struct {
}
func (*SeqNoEntryParsingContext) Init ¶
func (context *SeqNoEntryParsingContext) Init()
func (*SeqNoEntryParsingContext) Parse ¶
func (context *SeqNoEntryParsingContext) Parse(reader enc.WireView, ignoreCritical bool) (*SeqNoEntry, error)
type StateVector ¶
type StateVector struct {
//+field:sequence:*StateVectorEntry:struct:StateVectorEntry
Entries []*StateVectorEntry `tlv:"0xca"`
}
func ParseStateVector ¶
func ParseStateVector(reader enc.WireView, ignoreCritical bool) (*StateVector, error)
func (*StateVector) Bytes ¶
func (value *StateVector) Bytes() []byte
func (*StateVector) Encode ¶
func (value *StateVector) Encode() enc.Wire
type StateVectorEncoder ¶
type StateVectorEncoder struct {
Length uint
Entries_subencoder []struct {
Entries_encoder StateVectorEntryEncoder
}
}
func (*StateVectorEncoder) Encode ¶
func (encoder *StateVectorEncoder) Encode(value *StateVector) enc.Wire
func (*StateVectorEncoder) EncodeInto ¶
func (encoder *StateVectorEncoder) EncodeInto(value *StateVector, buf []byte)
func (*StateVectorEncoder) Init ¶
func (encoder *StateVectorEncoder) Init(value *StateVector)
type StateVectorEntry ¶
type StateVectorEntry struct {
//+field:name
Name enc.Name `tlv:"0x07"`
//+field:sequence:*SeqNoEntry:struct:SeqNoEntry
SeqNoEntries []*SeqNoEntry `tlv:"0xd2"`
}
func ParseStateVectorEntry ¶
func ParseStateVectorEntry(reader enc.WireView, ignoreCritical bool) (*StateVectorEntry, error)
func (*StateVectorEntry) Bytes ¶
func (value *StateVectorEntry) Bytes() []byte
func (*StateVectorEntry) Encode ¶
func (value *StateVectorEntry) Encode() enc.Wire
type StateVectorEntryEncoder ¶
type StateVectorEntryEncoder struct {
Length uint
Name_length uint
SeqNoEntries_subencoder []struct {
SeqNoEntries_encoder SeqNoEntryEncoder
}
}
func (*StateVectorEntryEncoder) Encode ¶
func (encoder *StateVectorEntryEncoder) Encode(value *StateVectorEntry) enc.Wire
func (*StateVectorEntryEncoder) EncodeInto ¶
func (encoder *StateVectorEntryEncoder) EncodeInto(value *StateVectorEntry, buf []byte)
func (*StateVectorEntryEncoder) Init ¶
func (encoder *StateVectorEntryEncoder) Init(value *StateVectorEntry)
type StateVectorEntryParsingContext ¶
type StateVectorEntryParsingContext struct {
SeqNoEntries_context SeqNoEntryParsingContext
}
func (*StateVectorEntryParsingContext) Init ¶
func (context *StateVectorEntryParsingContext) Init()
func (*StateVectorEntryParsingContext) Parse ¶
func (context *StateVectorEntryParsingContext) Parse(reader enc.WireView, ignoreCritical bool) (*StateVectorEntry, error)
type StateVectorParsingContext ¶
type StateVectorParsingContext struct {
Entries_context StateVectorEntryParsingContext
}
func (*StateVectorParsingContext) Init ¶
func (context *StateVectorParsingContext) Init()
func (*StateVectorParsingContext) Parse ¶
func (context *StateVectorParsingContext) Parse(reader enc.WireView, ignoreCritical bool) (*StateVector, error)
type SvsData ¶
type SvsData struct {
//+field:struct:StateVector
StateVector *StateVector `tlv:"0xc9"`
}
type SvsDataEncoder ¶
type SvsDataEncoder struct {
Length uint
StateVector_encoder StateVectorEncoder
}
func (*SvsDataEncoder) EncodeInto ¶
func (encoder *SvsDataEncoder) EncodeInto(value *SvsData, buf []byte)
func (*SvsDataEncoder) Init ¶
func (encoder *SvsDataEncoder) Init(value *SvsData)
type SvsDataParsingContext ¶
type SvsDataParsingContext struct {
StateVector_context StateVectorParsingContext
}
func (*SvsDataParsingContext) Init ¶
func (context *SvsDataParsingContext) Init()
Click to show internal directories.
Click to hide internal directories.