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.c388 dport = app->proto_port; in nxt_router_start_app_process_handler()
878 proto_port = app->proto_port; in nxt_router_app_restart_handler()
880 if (proto_port != NULL) { in nxt_router_app_restart_handler()
2859 dport = app->proto_port; in nxt_router_app_rpc_create()
2950 app->proto_port = port; in nxt_router_app_prefork_ready()
4591 app->proto_port = NULL; in nxt_router_app_port_close()
4824 proto_port = app->proto_port; in nxt_router_free_app()
4826 if (proto_port != NULL) { in nxt_router_free_app()
4830 app->proto_port = NULL; in nxt_router_free_app()
4831 proto_port->app = NULL; in nxt_router_free_app()
[all …]
H A Dnxt_application.c1059 nxt_port_t *my_port, *proto_port, *router_port; in nxt_unit_default_init() local
1066 proto_port = rt->port_by_type[NXT_PROCESS_PROTOTYPE]; in nxt_unit_default_init()
1067 if (nxt_slow_path(proto_port == NULL)) { in nxt_unit_default_init()
1081 init->ready_port.id.pid = proto_port->pid; in nxt_unit_default_init()
1082 init->ready_port.id.id = proto_port->id; in nxt_unit_default_init()
1084 init->ready_port.out_fd = proto_port->pair[1]; in nxt_unit_default_init()
H A Dnxt_router.h150 nxt_port_t *proto_port; member