Change module name to go.fd.io/govpp
[govpp.git] / binapi / interface_types / interface_types.ba.go
index 191647a..a00d5cf 100644 (file)
@@ -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 (
        "strconv"
 
-       api "git.fd.io/govpp.git/api"
+       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