Documentation ¶
Overview ¶
Package virtio_types is a generated VPP binary API for 'virtio_types' module.
It consists of:
2 enums
Index ¶
Constants ¶
View Source
const ( // ModuleName is the name of this module. ModuleName = "virtio_types" // APIVersion is the API version of this module. APIVersion = "1.0.0" // VersionCrc is the CRC of this module. VersionCrc = 0x7a70a44e )
Variables ¶
View Source
var VirtioNetFeaturesFirst32_name = map[uint32]string{
1: "VIRTIO_NET_F_API_CSUM",
2: "VIRTIO_NET_F_API_GUEST_CSUM",
128: "VIRTIO_NET_F_API_GUEST_TSO4",
256: "VIRTIO_NET_F_API_GUEST_TSO6",
1024: "VIRTIO_NET_F_API_GUEST_UFO",
2048: "VIRTIO_NET_F_API_HOST_TSO4",
4096: "VIRTIO_NET_F_API_HOST_TSO6",
16384: "VIRTIO_NET_F_API_HOST_UFO",
32768: "VIRTIO_NET_F_API_MRG_RXBUF",
131072: "VIRTIO_NET_F_API_CTRL_VQ",
2.097152e+06: "VIRTIO_NET_F_API_GUEST_ANNOUNCE",
4.194304e+06: "VIRTIO_NET_F_API_MQ",
6.7108864e+07: "VHOST_F_API_LOG_ALL",
1.34217728e+08: "VIRTIO_F_API_ANY_LAYOUT",
2.68435456e+08: "VIRTIO_F_API_INDIRECT_DESC",
1.073741824e+09: "VHOST_USER_F_API_PROTOCOL_FEATURES",
}
View Source
var VirtioNetFeaturesFirst32_value = map[string]uint32{
"VIRTIO_NET_F_API_CSUM": 1,
"VIRTIO_NET_F_API_GUEST_CSUM": 2,
"VIRTIO_NET_F_API_GUEST_TSO4": 128,
"VIRTIO_NET_F_API_GUEST_TSO6": 256,
"VIRTIO_NET_F_API_GUEST_UFO": 1024,
"VIRTIO_NET_F_API_HOST_TSO4": 2048,
"VIRTIO_NET_F_API_HOST_TSO6": 4096,
"VIRTIO_NET_F_API_HOST_UFO": 16384,
"VIRTIO_NET_F_API_MRG_RXBUF": 32768,
"VIRTIO_NET_F_API_CTRL_VQ": 131072,
"VIRTIO_NET_F_API_GUEST_ANNOUNCE": 2.097152e+06,
"VIRTIO_NET_F_API_MQ": 4.194304e+06,
"VHOST_F_API_LOG_ALL": 6.7108864e+07,
"VIRTIO_F_API_ANY_LAYOUT": 1.34217728e+08,
"VIRTIO_F_API_INDIRECT_DESC": 2.68435456e+08,
"VHOST_USER_F_API_PROTOCOL_FEATURES": 1.073741824e+09,
}
View Source
var VirtioNetFeaturesLast32_name = map[uint32]string{
1: "VIRTIO_F_API_VERSION_1",
}
View Source
var VirtioNetFeaturesLast32_value = map[string]uint32{
"VIRTIO_F_API_VERSION_1": 1,
}
Functions ¶
This section is empty.
Types ¶
type VirtioNetFeaturesFirst32 ¶
type VirtioNetFeaturesFirst32 uint32
VirtioNetFeaturesFirst32 represents VPP binary API enum 'virtio_net_features_first_32'.
const ( VIRTIO_NET_F_API_CSUM VirtioNetFeaturesFirst32 = 1 VIRTIO_NET_F_API_GUEST_CSUM VirtioNetFeaturesFirst32 = 2 VIRTIO_NET_F_API_GUEST_TSO4 VirtioNetFeaturesFirst32 = 128 VIRTIO_NET_F_API_GUEST_TSO6 VirtioNetFeaturesFirst32 = 256 VIRTIO_NET_F_API_GUEST_UFO VirtioNetFeaturesFirst32 = 1024 VIRTIO_NET_F_API_HOST_TSO4 VirtioNetFeaturesFirst32 = 2048 VIRTIO_NET_F_API_HOST_TSO6 VirtioNetFeaturesFirst32 = 4096 VIRTIO_NET_F_API_HOST_UFO VirtioNetFeaturesFirst32 = 16384 VIRTIO_NET_F_API_MRG_RXBUF VirtioNetFeaturesFirst32 = 32768 VIRTIO_NET_F_API_CTRL_VQ VirtioNetFeaturesFirst32 = 131072 VIRTIO_NET_F_API_GUEST_ANNOUNCE VirtioNetFeaturesFirst32 = 2.097152e+06 VIRTIO_NET_F_API_MQ VirtioNetFeaturesFirst32 = 4.194304e+06 VHOST_F_API_LOG_ALL VirtioNetFeaturesFirst32 = 6.7108864e+07 VIRTIO_F_API_ANY_LAYOUT VirtioNetFeaturesFirst32 = 1.34217728e+08 VIRTIO_F_API_INDIRECT_DESC VirtioNetFeaturesFirst32 = 2.68435456e+08 VHOST_USER_F_API_PROTOCOL_FEATURES VirtioNetFeaturesFirst32 = 1.073741824e+09 )
func (VirtioNetFeaturesFirst32) String ¶
func (x VirtioNetFeaturesFirst32) String() string
type VirtioNetFeaturesLast32 ¶
type VirtioNetFeaturesLast32 uint32
VirtioNetFeaturesLast32 represents VPP binary API enum 'virtio_net_features_last_32'.
const (
VIRTIO_F_API_VERSION_1 VirtioNetFeaturesLast32 = 1
)
func (VirtioNetFeaturesLast32) String ¶
func (x VirtioNetFeaturesLast32) String() string
Click to show internal directories.
Click to hide internal directories.