X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fdpif-linux.h;h=bd7b07caef8e4ace137e5630a5696b162ef6214e;hb=130f6e5faa6190ca00000ebcb627e2d4ca3d4b37;hp=30e927f796e6dd51e05575fb2f3373c8e046cb3b;hpb=c19e653509deb3f1002c4ed99714e16549ec74e9;p=openvswitch diff --git a/lib/dpif-linux.h b/lib/dpif-linux.h index 30e927f7..bd7b07ca 100644 --- a/lib/dpif-linux.h +++ b/lib/dpif-linux.h @@ -18,16 +18,17 @@ #define DPIF_LINUX_H 1 #include +#include #include "openvswitch/datapath-protocol.h" struct ofpbuf; struct dpif_linux_vport { - /* ioctl command argument. */ - int cmd; + /* Generic Netlink header. */ + uint8_t cmd; /* odp_vport header. */ - uint32_t dp_idx; + int dp_ifindex; uint32_t port_no; /* UINT32_MAX if unknown. */ enum odp_vport_type type;