aboutsummaryrefslogtreecommitdiffstats
path: root/binapi/interface_types/interface_types.ba.go
diff options
context:
space:
mode:
Diffstat (limited to 'binapi/interface_types/interface_types.ba.go')
-rw-r--r--binapi/interface_types/interface_types.ba.go42
1 files changed, 38 insertions, 4 deletions
diff --git a/binapi/interface_types/interface_types.ba.go b/binapi/interface_types/interface_types.ba.go
index 607dc9b..a00d5cf 100644
--- a/binapi/interface_types/interface_types.ba.go
+++ b/binapi/interface_types/interface_types.ba.go
@@ -1,20 +1,21 @@
// Code generated by GoVPP's binapi-generator. DO NOT EDIT.
// versions:
-// binapi-generator: v0.4.0-dev
-// VPP: 20.05-release
+// binapi-generator: v0.6.0-dev
+// VPP: 22.02-release
// source: /usr/share/vpp/api/core/interface_types.api.json
// Package interface_types contains generated bindings for API file interface_types.api.
//
// Contents:
// 1 alias
-// 6 enums
+// 7 enums
//
package interface_types
import (
- api "git.fd.io/govpp.git/api"
"strconv"
+
+ api "go.fd.io/govpp/api"
)
// This is a compile-time assertion to ensure that this generated file
@@ -23,6 +24,39 @@ import (
// GoVPP api package needs to be updated.
const _ = api.GoVppAPIPackageIsVersion2
+const (
+ APIFile = "interface_types"
+ APIVersion = "1.0.0"
+ VersionCrc = 0x7f2ba79a
+)
+
+// Direction defines enum 'direction'.
+type Direction uint8
+
+const (
+ RX Direction = 0
+ TX Direction = 1
+)
+
+var (
+ Direction_name = map[uint8]string{
+ 0: "RX",
+ 1: "TX",
+ }
+ Direction_value = map[string]uint8{
+ "RX": 0,
+ "TX": 1,
+ }
+)
+
+func (x Direction) String() string {
+ s, ok := Direction_name[uint8(x)]
+ if ok {
+ return s
+ }
+ return "Direction(" + strconv.Itoa(int(x)) + ")"
+}
+
// IfStatusFlags defines enum 'if_status_flags'.
type IfStatusFlags uint32