Home
last modified time | relevance | path

Searched refs:proto_port (Results 1 – 4 of 4) sorted by relevance

/unit/src/
H A Dnxt_external.c70 nxt_port_t *my_port, *proto_port, *router_port; in nxt_external_start() local
79 proto_port = rt->port_by_type[NXT_PROCESS_PROTOTYPE]; in nxt_external_start()
83 if (nxt_slow_path(proto_port == NULL || my_port == NULL in nxt_external_start()
89 rc = nxt_external_fd_no_cloexec(task, proto_port->pair[1]); in nxt_external_start()
129 proto_port->pid, proto_port->id, proto_port->pair[1], in nxt_external_start()
H A Dnxt_router.c410 dport = app->proto_port; in nxt_router_start_app_process_handler()
900 proto_port = app->proto_port; in nxt_router_app_restart_handler()
902 if (proto_port != NULL) { in nxt_router_app_restart_handler()
2821 dport = app->proto_port; in nxt_router_app_rpc_create()
2912 app->proto_port = port; in nxt_router_app_prefork_ready()
4931 app->proto_port = NULL; in nxt_router_app_port_close()
5164 proto_port = app->proto_port; in nxt_router_free_app()
5166 if (proto_port != NULL) { in nxt_router_free_app()
5170 app->proto_port = NULL; in nxt_router_free_app()
5171 proto_port->app = NULL; in nxt_router_free_app()
[all …]
H A Dnxt_application.c1016 nxt_port_t *my_port, *proto_port, *router_port; in nxt_unit_default_init() local
1023 proto_port = rt->port_by_type[NXT_PROCESS_PROTOTYPE]; in nxt_unit_default_init()
1024 if (nxt_slow_path(proto_port == NULL)) { in nxt_unit_default_init()
1038 init->ready_port.id.pid = proto_port->pid; in nxt_unit_default_init()
1039 init->ready_port.id.id = proto_port->id; in nxt_unit_default_init()
1041 init->ready_port.out_fd = proto_port->pair[1]; in nxt_unit_default_init()
H A Dnxt_router.h148 nxt_port_t *proto_port; member