datapath: Convert ODP_VPORT_* to use AF_NETLINK socket layer.
[sliver-openvswitch.git] / lib / dpif-linux.h
index 30e927f..6ccd54a 100644 (file)
 #define DPIF_LINUX_H 1
 
 #include <stdbool.h>
+#include <stdint.h>
 #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;