Check retval value and convert to error in generated RPC client code
[govpp.git] / binapi / punt / punt.ba.go
index 18ff678..158672a 100644 (file)
@@ -1,7 +1,7 @@
 // Code generated by GoVPP's binapi-generator. DO NOT EDIT.
 // versions:
-//  binapi-generator: v0.4.0-dev
-//  VPP:              20.05-release
+//  binapi-generator: v0.4.0
+//  VPP:              20.05.1-release
 // source: /usr/share/vpp/api/core/punt.api.json
 
 // Package punt contains generated bindings for API file punt.api.
 package punt
 
 import (
+       "strconv"
+
        api "git.fd.io/govpp.git/api"
        ip_types "git.fd.io/govpp.git/binapi/ip_types"
        codec "git.fd.io/govpp.git/codec"
-       "strconv"
 )
 
 // This is a compile-time assertion to ensure that this generated file
@@ -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
 }