/* Enable / disable the feature */
u8 is_add;
- u8 which; /* 0 = ipv4, 1 = l2, 2 = ipv6 (not yet implemented) */
+ u8 which; /* 0 = ipv4, 1 = l2, 2 = ipv6 */
/* Interface handle */
u32 sw_if_index;
/* Return value, zero means all OK */
i32 retval;
};
+
+define flowperpkt_params
+{
+ u32 client_index;
+ u32 context;
+ u8 record_l2;
+ u8 record_l3;
+ u8 record_l4;
+ u32 active_timer; /* ~0 is off, 0 is default */
+ u32 passive_timer; /* ~0 is off, 0 is default */
+};
+
+define flowperpkt_params_reply
+{
+ u32 context;
+ i32 retval;
+};