github.com/edwarnicke/govpp@v0.0.0-20230130211138-14ef5d20b1d0/binapi/pci_types/pci_types.ba.go (about) 1 // Code generated by GoVPP's binapi-generator. DO NOT EDIT. 2 // versions: 3 // binapi-generator: v0.4.0-dev 4 // VPP: 23.02-rc0~189-g57127b32a 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 // PciAddress defines type 'pci_address'. 25 type PciAddress struct { 26 Domain uint16 `binapi:"u16,name=domain" json:"domain,omitempty"` 27 Bus uint8 `binapi:"u8,name=bus" json:"bus,omitempty"` 28 Slot uint8 `binapi:"u8,name=slot" json:"slot,omitempty"` 29 Function uint8 `binapi:"u8,name=function" json:"function,omitempty"` 30 }