c74ecc2a7cb1aa780c35c4ac6a306dd0b78fd8da
[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.4.0-dev
4 //  VPP:              20.05-release
5
6 // Package pci_types contains generated bindings for API file pci_types.api.
7 //
8 // Contents:
9 //   1 struct
10 //
11 package pci_types
12
13 import (
14         api "git.fd.io/govpp.git/api"
15 )
16
17 // This is a compile-time assertion to ensure that this generated file
18 // is compatible with the GoVPP api package it is being compiled against.
19 // A compilation error at this line likely means your copy of the
20 // GoVPP api package needs to be updated.
21 const _ = api.GoVppAPIPackageIsVersion2
22
23 // PciAddress defines type 'pci_address'.
24 type PciAddress struct {
25         Domain   uint16 `binapi:"u16,name=domain" json:"domain,omitempty"`
26         Bus      uint8  `binapi:"u8,name=bus" json:"bus,omitempty"`
27         Slot     uint8  `binapi:"u8,name=slot" json:"slot,omitempty"`
28         Function uint8  `binapi:"u8,name=function" json:"function,omitempty"`
29 }