+typedef struct nsim_node_ctx
+{
+ vnet_feature_config_main_t *fcm;
+ f64 expires;
+ u32 *drop;
+ u32 *reord;
+ u16 *reord_nexts;
+ u8 *action;
+ u64 n_buffered;
+ u64 n_loss;
+} nsim_node_ctx_t;
+
+#define foreach_nsm_action \
+ _(DROP, "Packet loss") \
+ _(REORDER, "Packet reorder")
+
+enum nsm_action_bit
+{
+#define _(sym, str) NSIM_ACTION_##sym##_BIT,
+ foreach_nsm_action
+#undef _
+};
+
+typedef enum nsm_action
+{
+#define _(sym, str) NSIM_ACTION_##sym = 1 << NSIM_ACTION_##sym##_BIT,
+ foreach_nsm_action
+#undef _
+} nsm_action_e;
+