Home
last modified time | relevance | path

Searched refs:port_by_type (Results 1 – 9 of 9) sorted by relevance

/unit/src/
H A Dnxt_external.c79 proto_port = rt->port_by_type[NXT_PROCESS_PROTOTYPE]; in nxt_external_start()
80 router_port = rt->port_by_type[NXT_PROCESS_ROUTER]; in nxt_external_start()
H A Dnxt_process.c146 process->parent_port = rt->port_by_type[rt->type]; in nxt_process_init_start()
416 || process->parent_port != rt->port_by_type[NXT_PROCESS_MAIN]) in nxt_process_setup()
491 main_port = rt->port_by_type[NXT_PROCESS_MAIN]; in nxt_process_whoami()
561 if (process->parent_port != rt->port_by_type[NXT_PROCESS_MAIN]) { in nxt_process_whoami_ok()
598 main_port = rt->port_by_type[NXT_PROCESS_MAIN]; in nxt_process_send_created()
H A Dnxt_runtime.h43 nxt_port_t *port_by_type[NXT_PROCESS_MAX]; member
H A Dnxt_application.c174 main_port = rt->port_by_type[NXT_PROCESS_MAIN]; in nxt_discovery_start()
175 discovery_port = rt->port_by_type[NXT_PROCESS_DISCOVERY]; in nxt_discovery_start()
610 process->parent_port = rt->port_by_type[NXT_PROCESS_PROTOTYPE]; in nxt_proto_start_process_handler()
1023 proto_port = rt->port_by_type[NXT_PROCESS_PROTOTYPE]; in nxt_unit_default_init()
1028 router_port = rt->port_by_type[NXT_PROCESS_ROUTER]; in nxt_unit_default_init()
H A Dnxt_controller.c277 main_pid = rt->port_by_type[NXT_PROCESS_MAIN]->pid; in nxt_controller_cert_cleanup()
443 router_port = rt->port_by_type[NXT_PROCESS_ROUTER]; in nxt_controller_router_ready_handler()
570 router_port = rt->port_by_type[NXT_PROCESS_ROUTER]; in nxt_controller_conf_send()
575 controller_port = rt->port_by_type[NXT_PROCESS_CONTROLLER]; in nxt_controller_conf_send()
1448 router_port = rt->port_by_type[NXT_PROCESS_ROUTER]; in nxt_controller_check_postpone_request()
1811 controller_port = rt->port_by_type[NXT_PROCESS_CONTROLLER]; in nxt_controller_process_control()
1812 router_port = rt->port_by_type[NXT_PROCESS_ROUTER]; in nxt_controller_process_control()
1915 main_port = rt->port_by_type[NXT_PROCESS_MAIN]; in nxt_controller_conf_store()
H A Dnxt_cert.c1083 main_port = rt->port_by_type[NXT_PROCESS_MAIN]; in nxt_cert_store_get()
1084 recv_port = rt->port_by_type[rt->type]; in nxt_cert_store_get()
1205 main_port = rt->port_by_type[NXT_PROCESS_MAIN]; in nxt_cert_store_delete()
1223 ctl_port = rt->port_by_type[NXT_PROCESS_CONTROLLER]; in nxt_cert_store_delete_handler()
H A Dnxt_runtime.c601 if (rt->port_by_type[rt->type] != NULL) { in nxt_runtime_exit()
602 nxt_port_use(task, rt->port_by_type[rt->type], -1); in nxt_runtime_exit()
1682 rt->port_by_type[port->type] = port; in nxt_runtime_port_add()
1702 if (rt->port_by_type[port->type] == port) { in nxt_runtime_port_remove()
1703 rt->port_by_type[port->type] = NULL; in nxt_runtime_port_remove()
H A Dnxt_main_process.c382 port = rt->port_by_type[NXT_PROCESS_ROUTER]; in nxt_main_start_process_handler()
406 process->parent_port = rt->port_by_type[NXT_PROCESS_MAIN]; in nxt_main_start_process_handler()
799 port = rt->port_by_type[NXT_PROCESS_ROUTER]; in nxt_main_process_sigusr1_handler()
1292 if (msg->port_msg.pid != rt->port_by_type[NXT_PROCESS_DISCOVERY]->pid) { in nxt_main_port_modules_handler()
1462 ctl_port = rt->port_by_type[NXT_PROCESS_CONTROLLER]; in nxt_main_port_conf_store_handler()
H A Dnxt_router.c375 controller_port = rt->port_by_type[NXT_PROCESS_CONTROLLER]; in nxt_router_start()
434 dport = rt->port_by_type[NXT_PROCESS_MAIN]; in nxt_router_start_app_process_handler()
516 router_port = rt->port_by_type[NXT_PROCESS_ROUTER]; in nxt_router_start_app_process()
2609 main_port = rt->port_by_type[NXT_PROCESS_MAIN]; in nxt_router_listen_socket_rpc_create()
2610 router_port = rt->port_by_type[NXT_PROCESS_ROUTER]; in nxt_router_listen_socket_rpc_create()
2839 dport = rt->port_by_type[NXT_PROCESS_MAIN]; in nxt_router_app_rpc_create()
2852 router_port = rt->port_by_type[NXT_PROCESS_ROUTER]; in nxt_router_app_rpc_create()
3909 main_port = rt->port_by_type[NXT_PROCESS_MAIN]; in nxt_router_access_log_open()
3910 router_port = rt->port_by_type[NXT_PROCESS_ROUTER]; in nxt_router_access_log_open()
4057 main_port = rt->port_by_type[NXT_PROCESS_MAIN]; in nxt_router_access_log_reopen_handler()
[all …]