GoVPP release v0.5.0
[govpp.git] / binapi / pci_types / pci_types.ba.go
1 // Code generated by GoVPP's binapi-generator. DO NOT EDIT.
2 // versions:
3 //  binapi-generator: v0.5.0
4 //  VPP:              22.02-release
5 // source: /usr/share/vpp/api/core/pci_types.api.json
6
7 // Package pci_types contains generated bindings for API file pci_types.api.
8 //
9 // Contents:
10 //   1 struct
11 //
12 package pci_types
13
14 import (
15         api "git.fd.io/govpp.git/api"
16 )
17
18 // This is a compile-time assertion to ensure that this generated file
19 // is compatible with the GoVPP api package it is being compiled against.
20 // A compilation error at this line likely means your copy of the
21 // GoVPP api package needs to be updated.
22 const _ = api.GoVppAPIPackageIsVersion2
23
24 const (
25         APIFile    = "pci_types"
26         APIVersion = "1.0.0"
27         VersionCrc = 0x5d418665
28 )
29
30 // PciAddress defines type 'pci_address'.
31 type PciAddress struct {
32         Domain   uint16 `binapi:"u16,name=domain" json:"domain,omitempty"`
33         Bus      uint8  `binapi:"u8,name=bus" json:"bus,omitempty"`
34         Slot     uint8  `binapi:"u8,name=slot" json:"slot,omitempty"`
35         Function uint8  `binapi:"u8,name=function" json:"function,omitempty"`
36 }