i32 retval;
};
+/** \brief configure or disable use of PETR
+ @param client_index - opaque cookie to identify the sender
+ @param context - sender context, to match reply w/ request
+ @param is_ip4 - Address is IPv4 if set and IPv6 otherwise
+ @param address - PETR IP address
+ @param is_add - add locator set if non-zero, else disable pitr
+*/
+define lisp_use_petr
+{
+ u32 client_index;
+ u32 context;
+ u8 is_ip4;
+ u8 address[16];
+ u8 is_add;
+};
+
+/** \brief Reply for lisp_pitr_set_locator_set
+ @param context - returned sender context, to match reply w/ request
+ @param retval - return code
+*/
+define lisp_use_petr_reply
+{
+ u32 context;
+ i32 retval;
+};
+
+/** \brief Request for LISP PETR status
+ @param client_index - opaque cookie to identify the sender
+ @param context - sender context, to match reply w/ request
+*/
+define show_lisp_use_petr
+{
+ u32 client_index;
+ u32 context;
+};
+
+/** \brief LISP PETR status, enable or disable
+ @param context - sender context, to match reply w/ request
+ @param status - LISP PETR enable if non-zero, else disable
+ @param is_ip4 - Address is IPv4 if non-zero, else IPv6
+ @param address - PETR IP address
+*/
+define show_lisp_use_petr_reply
+{
+ u32 context;
+ i32 retval;
+ u8 status;
+ u8 is_ip4;
+ u8 address[16];
+};
+
/** \brief Get state of LISP RLOC probing
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request