-#define ODP_SET_SFLOW_PROBABILITY _IOR('O', 19, int)
-#define ODP_GET_SFLOW_PROBABILITY _IOW('O', 20, int)
+/**
+ * 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;
+};
+
+enum odp_datapath_type {
+ ODP_DP_ATTR_UNSPEC,
+ ODP_DP_ATTR_NAME, /* name of dp_ifidx netdev */
+ ODP_DP_ATTR_STATS, /* struct odp_stats */
+ ODP_DP_ATTR_IPV4_FRAGS, /* 32-bit enum odp_frag_handling */
+ ODP_DP_ATTR_SAMPLING, /* 32-bit fraction of packets to sample. */
+ __ODP_DP_ATTR_MAX
+};
+
+#define ODP_DP_ATTR_MAX (__ODP_DP_ATTR_MAX - 1)
+
+/* Values for ODP_DP_ATTR_IPV4_FRAGS. */
+enum odp_frag_handling {
+ ODP_DP_FRAG_UNSPEC,
+ ODP_DP_FRAG_ZERO, /* Treat IP fragments as transport port 0. */
+ ODP_DP_FRAG_DROP /* Drop IP fragments. */
+};