Add admin-up flag to L2TP tunnels and start tunnels set to down
[vpp.git] / vnet / vnet / l2tp / l2tp.h
index 3f77f70..6ca9d7b 100644 (file)
@@ -42,6 +42,8 @@ typedef struct {
     u8  l2tp_hdr_size;
     u8  l2_sublayer_present;
     u8  cookie_flags;           /* in host byte order */
+
+    u8 admin_up;
 } l2t_session_t;
 
 typedef enum {
@@ -87,6 +89,7 @@ typedef struct {
 l2t_main_t l2t_main;
 extern vlib_node_registration_t l2t_encap_node;
 extern vlib_node_registration_t l2t_decap_node;
+extern vlib_node_registration_t l2t_decap_local_node;
 
 enum {
     SESSION_COUNTER_USER_TO_NETWORK=0,