Add ability to save route table updates to disk
[ric-plt/lib/rmr.git] / src / rmr / si / include / rmr_si_private.h
index ff5b502..ee71409 100644 (file)
@@ -75,7 +75,7 @@ typedef struct {
        Callback context.
 typedef struct {
        uta_ctx_t*      ctx;
-       
+
 } cbctx_t;
 */
 
@@ -130,6 +130,7 @@ struct uta_ctx {
        int d2_len;                                     // extra header data 2 length   (future)
        int     nn_sock;                                // our general listen socket
        int rtable_ready;                       // set to true when rt is received or loaded
+       int snarf_rt_fd;                        // the file des where we save the last rt from RM
        int dcount;                                     // drop counter when app is slow
        route_table_t* rtable;          // the active route table
        route_table_t* old_rtable;      // the previously used rt, sits here to allow for draining