nat: deal with flows instead of sessions
[vpp.git] / src / plugins / nat / nat44_handoff.c
index 69cdc42..8c1b967 100644 (file)
@@ -33,14 +33,14 @@ typedef struct
   u8 output;
 } nat44_handoff_trace_t;
 
-#define foreach_nat44_handoff_error                       \
-_(CONGESTION_DROP, "congestion drop")                     \
-_(SAME_WORKER, "same worker")                             \
-_(DO_HANDOFF, "do handoff")
+#define foreach_nat44_handoff_error                                           \
+  _ (CONGESTION_DROP, "congestion drop")                                      \
+  _ (SAME_WORKER, "same worker")                                              \
+  _ (DO_HANDOFF, "do handoff")
 
 typedef enum
 {
-#define _(sym,str) NAT44_HANDOFF_ERROR_##sym,
+#define _(sym, str) NAT44_HANDOFF_ERROR_##sym,
   foreach_nat44_handoff_error
 #undef _
     NAT44_HANDOFF_N_ERROR,
@@ -52,7 +52,6 @@ static char *nat44_handoff_error_strings[] = {
 #undef _
 };
 
-
 static u8 *
 format_nat44_handoff_trace (u8 * s, va_list * args)
 {