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

/freebsd-current/sbin/hastd/
H A Dcontrol.c59 proto_close(res->hr_ctrl);
60 res->hr_ctrl = NULL;
169 if (hast_proto_send(res, res->hr_ctrl, cnvout, NULL, 0) == -1) {
178 if (hast_proto_recv_hdr(res->hr_ctrl, &cnvin) == -1) {
438 if (hast_proto_recv_hdr(res->hr_ctrl, &nvin) == -1) {
513 if (hast_proto_send(NULL, res->hr_ctrl, nvout, NULL, 0) == -1) {
H A Dhast.h223 struct proto_conn *hr_ctrl; member in struct:hast_resource
H A Dhastd.c117 if (tres->hr_ctrl != NULL)
118 proto_close(tres->hr_ctrl);
225 } else if (fd == proto_descriptor(res->hr_ctrl)) {
460 if (hast_proto_send(res, res->hr_ctrl, nvout, NULL, 0) == -1) {
468 if (hast_proto_recv_hdr(res->hr_ctrl, &nvin) == -1) {
H A Dsecondary.c421 if (proto_client(NULL, "socketpair://", &res->hr_ctrl) == -1) {
450 proto_send(res->hr_ctrl, NULL, 0);
463 proto_recv(res->hr_ctrl, NULL, 0);
H A Dprimary.c973 if (proto_client(NULL, "socketpair://", &res->hr_ctrl) == -1) {
1012 proto_send(res->hr_ctrl, NULL, 0);
1026 proto_recv(res->hr_ctrl, NULL, 0);

Completed in 78 milliseconds