FD.io VPP  v20.01-48-g3e0dafb74
Vector Packet Processing
virtio_types_api.c File Reference
+ Include dependency graph for virtio_types_api.c:

Go to the source code of this file.

Functions

u64 virtio_features_decode (u32 first, u32 last)
 Conversion functions to/from (decode/encode) API types to VPP internal types. More...
 
void virtio_features_encode (u64 features, u32 *first, u32 *last)
 

Function Documentation

◆ virtio_features_decode()

u64 virtio_features_decode ( u32  first,
u32  last 
)

Conversion functions to/from (decode/encode) API types to VPP internal types.

These enum decode/encodes use 'u32' as the type for the enum because one cannot forward declare an enum

Definition at line 23 of file virtio_types_api.c.

◆ virtio_features_encode()

void virtio_features_encode ( u64  features,
u32 first,
u32 last 
)

Definition at line 29 of file virtio_types_api.c.

+ Here is the caller graph for this function: