aboutsummaryrefslogtreecommitdiffstats
path: root/vnet/vnet/l2/l2_input.h
diff options
context:
space:
mode:
Diffstat (limited to 'vnet/vnet/l2/l2_input.h')
-rw-r--r--vnet/vnet/l2/l2_input.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/vnet/vnet/l2/l2_input.h b/vnet/vnet/l2/l2_input.h
index c1c9eb1daa2..b4e90af550c 100644
--- a/vnet/vnet/l2/l2_input.h
+++ b/vnet/vnet/l2/l2_input.h
@@ -86,6 +86,9 @@ l2input_bd_config_from_index (l2input_main_t * l2im, u32 bd_index)
return bd_is_valid (bd_config) ? bd_config : NULL;
}
+/* L2 input indication packet is from BVI, using -2 */
+#define L2INPUT_BVI ((u32) (~0-1))
+
/* L2 input features */
/* Mappings from feature ID to graph node name */