@ -1152,13 +1152,13 @@ no_kernel:
rtpe_config . redis_num_threads = num_cpu_cores ( REDIS_RESTORE_NUM_THREADS ) ;
if ( rtpe_config . tcp_listen_ep [ 0 ] . port ) {
rtpe_tcp [ 0 ] = control_tcp_new ( rtpe_poller , & rtpe_config . tcp_listen_ep [ 0 ] ) ;
rtpe_tcp [ 0 ] = control_tcp_new ( & rtpe_config . tcp_listen_ep [ 0 ] ) ;
if ( ! rtpe_tcp [ 0 ] )
die ( " Failed to open TCP control connection port (%s): %s " ,
endpoint_print_buf ( & rtpe_config . tcp_listen_ep [ 0 ] ) ,
strerror ( errno ) ) ;
if ( rtpe_config . tcp_listen_ep [ 1 ] . port ) {
rtpe_tcp [ 1 ] = control_tcp_new ( rtpe_poller , & rtpe_config . tcp_listen_ep [ 1 ] ) ;
rtpe_tcp [ 1 ] = control_tcp_new ( & rtpe_config . tcp_listen_ep [ 1 ] ) ;
if ( ! rtpe_tcp [ 1 ] )
die ( " Failed to open TCP control connection port (%s): %s " ,
endpoint_print_buf ( & rtpe_config . tcp_listen_ep [ 1 ] ) ,
@ -1168,13 +1168,13 @@ no_kernel:
if ( rtpe_config . udp_listen_ep [ 0 ] . port ) {
interfaces_exclude_port ( rtpe_config . udp_listen_ep [ 0 ] . port ) ;
rtpe_udp [ 0 ] = control_udp_new ( rtpe_poller , & rtpe_config . udp_listen_ep [ 0 ] ) ;
rtpe_udp [ 0 ] = control_udp_new ( & rtpe_config . udp_listen_ep [ 0 ] ) ;
if ( ! rtpe_udp [ 0 ] )
die ( " Failed to open UDP control connection port (%s): %s " ,
endpoint_print_buf ( & rtpe_config . udp_listen_ep [ 0 ] ) ,
strerror ( errno ) ) ;
if ( rtpe_config . udp_listen_ep [ 1 ] . port ) {
rtpe_udp [ 1 ] = control_udp_new ( rtpe_poller , & rtpe_config . udp_listen_ep [ 1 ] ) ;
rtpe_udp [ 1 ] = control_udp_new ( & rtpe_config . udp_listen_ep [ 1 ] ) ;
if ( ! rtpe_udp [ 1 ] )
die ( " Failed to open UDP control connection port (%s): %s " ,
endpoint_print_buf ( & rtpe_config . udp_listen_ep [ 1 ] ) ,
@ -1184,14 +1184,14 @@ no_kernel:
if ( rtpe_config . ng_listen_ep [ 0 ] . port ) {
interfaces_exclude_port ( rtpe_config . ng_listen_ep [ 0 ] . port ) ;
rtpe_control_ng [ 0 ] = control_ng_new ( rtpe_poller , & rtpe_config . ng_listen_ep [ 0 ] ,
rtpe_control_ng [ 0 ] = control_ng_new ( & rtpe_config . ng_listen_ep [ 0 ] ,
rtpe_config . control_tos ) ;
if ( ! rtpe_control_ng [ 0 ] )
die ( " Failed to open UDP NG control connection port (%s): %s " ,
endpoint_print_buf ( & rtpe_config . ng_listen_ep [ 0 ] ) ,
strerror ( errno ) ) ;
if ( rtpe_config . ng_listen_ep [ 1 ] . port ) {
rtpe_control_ng [ 1 ] = control_ng_new ( rtpe_poller , & rtpe_config . ng_listen_ep [ 1 ] ,
rtpe_control_ng [ 1 ] = control_ng_new ( & rtpe_config . ng_listen_ep [ 1 ] ,
rtpe_config . control_tos ) ;
if ( ! rtpe_control_ng [ 1 ] )
die ( " Failed to open UDP NG control connection port (%s): %s " ,
@ -1201,13 +1201,13 @@ no_kernel:
}
if ( rtpe_config . ng_tcp_listen_ep [ 0 ] . port ) {
rtpe_control_ng_tcp [ 0 ] = control_ng_tcp_new ( rtpe_poller , & rtpe_config . ng_tcp_listen_ep [ 0 ] ) ;
rtpe_control_ng_tcp [ 0 ] = control_ng_tcp_new ( & rtpe_config . ng_tcp_listen_ep [ 0 ] ) ;
if ( ! rtpe_control_ng_tcp [ 0 ] )
die ( " Failed to open TCP NG control connection port (%s): %s " ,
endpoint_print_buf ( & rtpe_config . ng_tcp_listen_ep [ 0 ] ) ,
strerror ( errno ) ) ;
if ( rtpe_config . ng_tcp_listen_ep [ 1 ] . port ) {
rtpe_control_ng_tcp [ 1 ] = control_ng_tcp_new ( rtpe_poller , & rtpe_config . ng_tcp_listen_ep [ 1 ] ) ;
rtpe_control_ng_tcp [ 1 ] = control_ng_tcp_new ( & rtpe_config . ng_tcp_listen_ep [ 1 ] ) ;
if ( ! rtpe_control_ng_tcp [ 1 ] )
die ( " Failed to open TCP NG control connection port (%s): %s " ,
endpoint_print_buf ( & rtpe_config . ng_tcp_listen_ep [ 1 ] ) ,
@ -1217,13 +1217,13 @@ no_kernel:
if ( rtpe_config . cli_listen_ep [ 0 ] . port ) {
interfaces_exclude_port ( rtpe_config . cli_listen_ep [ 0 ] . port ) ;
rtpe_cli [ 0 ] = cli_new ( rtpe_poller , & rtpe_config . cli_listen_ep [ 0 ] ) ;
rtpe_cli [ 0 ] = cli_new ( & rtpe_config . cli_listen_ep [ 0 ] ) ;
if ( ! rtpe_cli [ 0 ] )
die ( " Failed to open CLI connection port (%s): %s " ,
endpoint_print_buf ( & rtpe_config . cli_listen_ep [ 0 ] ) ,
strerror ( errno ) ) ;
if ( rtpe_config . cli_listen_ep [ 1 ] . port ) {
rtpe_cli [ 1 ] = cli_new ( rtpe_poller , & rtpe_config . cli_listen_ep [ 1 ] ) ;
rtpe_cli [ 1 ] = cli_new ( & rtpe_config . cli_listen_ep [ 1 ] ) ;
if ( ! rtpe_cli [ 1 ] )
die ( " Failed to open CLI connection port (%s): %s " ,
endpoint_print_buf ( & rtpe_config . cli_listen_ep [ 1 ] ) ,