-#define ODP_PORT_ADD _IOR('O', 7, struct odp_port)
-#define ODP_PORT_DEL _IOR('O', 8, int)
-#define ODP_PORT_QUERY _IOWR('O', 9, struct odp_port)
-#define ODP_PORT_LIST _IOWR('O', 10, struct odp_portvec)
+#define ODP_VPORT_NEW _IOR('O', 7, struct odp_vport)
+#define ODP_VPORT_DEL _IOR('O', 8, struct odp_vport)
+#define ODP_VPORT_GET _IOWR('O', 9, struct odp_vport)
+#define ODP_VPORT_SET _IOR('O', 22, struct odp_vport)
+#define ODP_VPORT_DUMP _IOWR('O', 10, struct odp_vport)
+
+#define ODP_FLOW_NEW _IOWR('O', 13, struct odp_flow)
+#define ODP_FLOW_DEL _IOWR('O', 14, struct odp_flow)
+#define ODP_FLOW_GET _IOWR('O', 15, struct odp_flow)
+#define ODP_FLOW_SET _IOWR('O', 16, struct odp_flow)
+#define ODP_FLOW_DUMP _IOWR('O', 17, struct odp_flow)
+#define ODP_FLOW_FLUSH _IO('O', 19)
+
+#define ODP_EXECUTE _IOR('O', 18, struct odp_packet)
+
+/**
+ * struct odp_datapath - header with basic information about a datapath.
+ * @dp_idx: Datapath index (-1 to make a request not specific to a datapath).
+ * @len: Length of this structure plus the Netlink attributes following it.
+ * @total_len: Total space available for kernel reply to request.
+ *
+ * Followed by &struct nlattr attributes, whose types are drawn from
+ * %ODP_DP_ATTR_*, up to a length of @len bytes including the &struct
+ * odp_datapath header.
+ */
+struct odp_datapath {
+ int32_t dp_idx;
+ uint32_t len;
+ uint32_t total_len;
+};