Home
last modified time | relevance | path

Searched refs:hr_ctrl (Results 1 – 5 of 5) sorted by relevance

/freebsd-14.2/sbin/hastd/
H A Dcontrol.c59 proto_close(res->hr_ctrl); in child_cleanup()
60 res->hr_ctrl = NULL; in child_cleanup()
169 if (hast_proto_send(res, res->hr_ctrl, cnvout, NULL, 0) == -1) { in control_status_worker()
178 if (hast_proto_recv_hdr(res->hr_ctrl, &cnvin) == -1) { in control_status_worker()
438 if (hast_proto_recv_hdr(res->hr_ctrl, &nvin) == -1) { in ctrl_thread()
513 if (hast_proto_send(NULL, res->hr_ctrl, nvout, NULL, 0) == -1) { in ctrl_thread()
H A Dhast.h223 struct proto_conn *hr_ctrl; member
H A Dhastd.c118 if (tres->hr_ctrl != NULL) in descriptors_cleanup()
119 proto_close(tres->hr_ctrl); in descriptors_cleanup()
226 } else if (fd == proto_descriptor(res->hr_ctrl)) { in descriptors_assert()
461 if (hast_proto_send(res, res->hr_ctrl, nvout, NULL, 0) == -1) { in resource_reload()
469 if (hast_proto_recv_hdr(res->hr_ctrl, &nvin) == -1) { in resource_reload()
H A Dsecondary.c422 if (proto_client(NULL, "socketpair://", &res->hr_ctrl) == -1) { in hastd_secondary()
451 proto_send(res->hr_ctrl, NULL, 0); in hastd_secondary()
464 proto_recv(res->hr_ctrl, NULL, 0); in hastd_secondary()
H A Dprimary.c974 if (proto_client(NULL, "socketpair://", &res->hr_ctrl) == -1) { in hastd_primary()
1013 proto_send(res->hr_ctrl, NULL, 0); in hastd_primary()
1027 proto_recv(res->hr_ctrl, NULL, 0); in hastd_primary()