aboutsummaryrefslogtreecommitdiffstats
path: root/binapi/pci_types/pci_types.ba.go
blob: c74ecc2a7cb1aa780c35c4ac6a306dd0b78fd8da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Code generated by GoVPP's binapi-generator. DO NOT EDIT.
// versions:
//  binapi-generator: v0.4.0-dev
//  VPP:              20.05-release

// Package pci_types contains generated bindings for API file pci_types.api.
//
// Contents:
//   1 struct
//
package pci_types

import (
	api "git.fd.io/govpp.git/api"
)

// This is a compile-time assertion to ensure that this generated file
// is compatible with the GoVPP api package it is being compiled against.
// A compilation error at this line likely means your copy of the
// GoVPP api package needs to be updated.
const _ = api.GoVppAPIPackageIsVersion2

// PciAddress defines type 'pci_address'.
type PciAddress struct {
	Domain   uint16 `binapi:"u16,name=domain" json:"domain,omitempty"`
	Bus      uint8  `binapi:"u8,name=bus" json:"bus,omitempty"`
	Slot     uint8  `binapi:"u8,name=slot" json:"slot,omitempty"`
	Function uint8  `binapi:"u8,name=function" json:"function,omitempty"`
}