Searched refs:hr_ctrl (Results 1 – 5 of 5) sorted by relevance
| /freebsd-13.1/sbin/hastd/ |
| H A D | control.c | 62 proto_close(res->hr_ctrl); in child_cleanup() 63 res->hr_ctrl = NULL; in child_cleanup() 172 if (hast_proto_send(res, res->hr_ctrl, cnvout, NULL, 0) == -1) { in control_status_worker() 181 if (hast_proto_recv_hdr(res->hr_ctrl, &cnvin) == -1) { in control_status_worker() 441 if (hast_proto_recv_hdr(res->hr_ctrl, &nvin) == -1) { in ctrl_thread() 516 if (hast_proto_send(NULL, res->hr_ctrl, nvout, NULL, 0) == -1) { in ctrl_thread()
|
| H A D | hast.h | 225 struct proto_conn *hr_ctrl; member
|
| H A D | hastd.c | 120 if (tres->hr_ctrl != NULL) in descriptors_cleanup() 121 proto_close(tres->hr_ctrl); in descriptors_cleanup() 228 } else if (fd == proto_descriptor(res->hr_ctrl)) { in descriptors_assert() 463 if (hast_proto_send(res, res->hr_ctrl, nvout, NULL, 0) == -1) { in resource_reload() 471 if (hast_proto_recv_hdr(res->hr_ctrl, &nvin) == -1) { in resource_reload()
|
| H A D | secondary.c | 424 if (proto_client(NULL, "socketpair://", &res->hr_ctrl) == -1) { in hastd_secondary() 453 proto_send(res->hr_ctrl, NULL, 0); in hastd_secondary() 466 proto_recv(res->hr_ctrl, NULL, 0); in hastd_secondary()
|
| H A D | primary.c | 976 if (proto_client(NULL, "socketpair://", &res->hr_ctrl) == -1) { in hastd_primary() 1015 proto_send(res->hr_ctrl, NULL, 0); in hastd_primary() 1029 proto_recv(res->hr_ctrl, NULL, 0); in hastd_primary()
|