// Field represents VPP binary API object field
type Field struct {
- Name string
- Type string
- Length int
- SizeFrom string
- Meta FieldMeta
+ Name string
+ Type string
+ Length int
+ SpecifiedLen bool
+ SizeFrom string
+ Meta FieldMeta
}
// FieldMeta represents VPP binary API meta info for field
type FieldMeta struct {
- Limit int
+ Limit int
+ Default float64
}
// Union represents VPP binary API union