Home
last modified time | relevance | path

Searched refs:controller_port (Results 1 – 2 of 2) sorted by relevance

/unit/src/
H A Dnxt_controller.c565 nxt_port_t *router_port, *controller_port; in nxt_controller_conf_send() local
575 controller_port = rt->port_by_type[NXT_PROCESS_CONTROLLER]; in nxt_controller_conf_send()
602 stream = nxt_port_rpc_register_handler(task, controller_port, in nxt_controller_conf_send()
611 fd, stream, controller_port->id, b); in nxt_controller_conf_send()
614 nxt_port_rpc_cancel(task, controller_port, stream); in nxt_controller_conf_send()
1760 nxt_port_t *router_port, *controller_port; in nxt_controller_process_control() local
1811 controller_port = rt->port_by_type[NXT_PROCESS_CONTROLLER]; in nxt_controller_process_control()
1814 stream = nxt_port_rpc_register_handler(task, controller_port, in nxt_controller_process_control()
1825 nxt_port_rpc_cancel(task, controller_port, stream); in nxt_controller_process_control()
H A Dnxt_router.c83 nxt_port_t *controller_port);
339 nxt_port_t *controller_port; in nxt_router_start() local
375 controller_port = rt->port_by_type[NXT_PROCESS_CONTROLLER]; in nxt_router_start()
376 if (controller_port != NULL) { in nxt_router_start()
377 nxt_router_greet_controller(task, controller_port); in nxt_router_start()
385 nxt_router_greet_controller(nxt_task_t *task, nxt_port_t *controller_port) in nxt_router_greet_controller() argument
387 nxt_port_socket_write(task, controller_port, NXT_PORT_MSG_PROCESS_READY, in nxt_router_greet_controller()