+
+ /*
+ * Followed by:
+ *
+ * ODPL_MISS, ODPL_ACTION: packet data.
+ *
+ * ODPL_SFLOW: "struct odp_sflow_sample_header", followed by
+ * an array of "union odp_action"s, followed by packet data.
+ */
+};
+
+/* Header added to sFlow sampled packet. */
+struct odp_sflow_sample_header {
+ __u64 sample_pool; /* Number of potentially sampled packets. */
+ __u32 n_actions; /* Number of following "union odp_action"s. */
+ __u32 reserved; /* Pad up to 64-bit boundary. */
+ /* Followed by n_action "union odp_action"s. */