diff options
author | 2020-09-16 13:44:31 +0200 | |
---|---|---|
committer | 2020-09-18 10:41:12 +0200 | |
commit | 43cd23926d5eec359d4b554a4330e1aa596c76de (patch) | |
tree | 344b7d9a19e2ec84b6f7aaa7c7667a8b94d06ab4 /binapi/punt/punt.ba.go | |
parent | e517439567ad843033257664fdfe90a9173b0aa6 (diff) |
binapigen: fix union size
This change fixes calculated byte size of the union
composed from another union(s).
Change-Id: I596a3c2a585cc42570b1d00dab3a5ad4993dabfa
Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
Diffstat (limited to 'binapi/punt/punt.ba.go')
-rw-r--r-- | binapi/punt/punt.ba.go | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/binapi/punt/punt.ba.go b/binapi/punt/punt.ba.go index f8483fc..1a84dbf 100644 --- a/binapi/punt/punt.ba.go +++ b/binapi/punt/punt.ba.go @@ -2,6 +2,7 @@ // versions: // binapi-generator: v0.4.0-dev // VPP: 20.05-release +// source: /usr/share/vpp/api/core/punt.api.json // Package punt contains generated bindings for API file punt.api. // @@ -95,9 +96,10 @@ type PuntReason struct { // PuntUnion defines union 'punt_union'. type PuntUnion struct { - // Exception *PuntException - // L4 *PuntL4 - // IPProto *PuntIPProto + // PuntUnion can be one of: + // - Exception *PuntException + // - L4 *PuntL4 + // - IPProto *PuntIPProto XXX_UnionData [4]byte } |