#define RF_NOTIFIED 0x01 // notification made about river issue
#define RF_DROP 0x02 // this message is large and being dropped
#define RF_NOTIFIED 0x01 // notification made about river issue
#define RF_DROP 0x02 // this message is large and being dropped
int d1_len; // extra header data 1 length
int d2_len; // extra header data 2 length (future)
int nn_sock; // our general listen socket
int d1_len; // extra header data 1 length
int d2_len; // extra header data 2 length (future)
int nn_sock; // our general listen socket
route_table_t* rtable; // the active route table
route_table_t* old_rtable; // the previously used rt, sits here to allow for draining
route_table_t* new_rtable; // route table under construction
route_table_t* rtable; // the active route table
route_table_t* old_rtable; // the previously used rt, sits here to allow for draining
route_table_t* new_rtable; // route table under construction
si_ctx_t* si_ctx; // the socket context
int nrivers; // allocated rivers
river_t* rivers; // inbound flows (index is the socket fd)
si_ctx_t* si_ctx; // the socket context
int nrivers; // allocated rivers
river_t* rivers; // inbound flows (index is the socket fd)
int max_ibm; // max size of an inbound message (river accum alloc size)
void* zcb_mring; // zero copy buffer mbuf ring
void* fd2ep; // the symtab mapping file des to endpoints for cleanup on disconnect
int max_ibm; // max size of an inbound message (river accum alloc size)
void* zcb_mring; // zero copy buffer mbuf ring
void* fd2ep; // the symtab mapping file des to endpoints for cleanup on disconnect