diff options
author | Ondrej Fabry <ofabry@cisco.com> | 2019-05-27 07:13:32 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@fd.io> | 2019-05-27 07:13:32 +0000 |
commit | df781c9bcf64ba93d0ab7ce62573d93c2bf93d4e (patch) | |
tree | 8faf4d306c708f205953bf26cd39fdafe9bb3fc9 /cmd/binapi-generator/objects.go | |
parent | 0b57de255730e7277bd5fbd96d78f64b2961c553 (diff) | |
parent | b8743f90b835a18871405fd318ba8a5e1a72eafb (diff) |
Merge "Add support for field meta data to binapi-generator"
Diffstat (limited to 'cmd/binapi-generator/objects.go')
-rw-r--r-- | cmd/binapi-generator/objects.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cmd/binapi-generator/objects.go b/cmd/binapi-generator/objects.go index 75c7581..8f5e8ef 100644 --- a/cmd/binapi-generator/objects.go +++ b/cmd/binapi-generator/objects.go @@ -54,6 +54,12 @@ type Field struct { Type string Length int SizeFrom string + Meta FieldMeta +} + +// FieldMeta represents VPP binary API meta info for field +type FieldMeta struct { + Limit int } // Union represents VPP binary API union |