ipsec: IPSec protection for multi-point tunnel interfaces
[vpp.git] / src / vnet / lisp-cp / control.h
index ac18768..d3d320a 100644 (file)
@@ -119,7 +119,7 @@ typedef enum
 #define foreach_lisp_flag_bit       \
   _(USE_PETR, "Use Proxy-ETR")                    \
   _(XTR_MODE, "ITR/ETR mode")                     \
-  _(PETR_MODE, "Use Proxy-ETR")                   \
+  _(PETR_MODE, "Proxy-ETR mode")                   \
   _(PITR_MODE, "Proxy-ITR mode")                  \
   _(STATS_ENABLED, "Statistics enabled")
 
@@ -265,7 +265,7 @@ typedef struct
   /* enable/disable rloc-probing */
   u8 rloc_probing;
 
-  /* timing wheel for mappping timeouts */
+  /* timing wheel for mapping timeouts */
   timing_wheel_t wheel;
 
   /** Per thread pool of records shared with thread0 */
@@ -281,6 +281,9 @@ typedef struct
   /** either UDP based or binary API. Default is UDP */
   lisp_transport_protocol_t transport_protocol;
 
+  /** Retry service node index */
+  u32 retry_service_index;
+
   /* commodity */
   ip4_main_t *im4;
   ip6_main_t *im6;
@@ -378,6 +381,7 @@ int vnet_lisp_add_del_map_server (ip_address_t * addr, u8 is_add);
 
 clib_error_t *vnet_lisp_enable_disable (u8 is_enabled);
 u8 vnet_lisp_enable_disable_status (void);
+void vnet_lisp_create_retry_process (lisp_cp_main_t * lcm);
 
 int vnet_lisp_pitr_set_locator_set (u8 * locator_set_name, u8 is_add);
 int vnet_lisp_use_petr (ip_address_t * ip, u8 is_add);