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

/freebsd-10.3-release/sbin/hastd/
H A Dcontrol.c60 proto_close(res->hr_ctrl);
61 res->hr_ctrl = NULL;
170 if (hast_proto_send(res, res->hr_ctrl, cnvout, NULL, 0) == -1) {
179 if (hast_proto_recv_hdr(res->hr_ctrl, &cnvin) == -1) {
439 if (hast_proto_recv_hdr(res->hr_ctrl, &nvin) == -1) {
514 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.c118 if (tres->hr_ctrl != NULL)
119 proto_close(tres->hr_ctrl);
226 } else if (fd == proto_descriptor(res->hr_ctrl)) {
461 if (hast_proto_send(res, res->hr_ctrl, nvout, NULL, 0) == -1) {
469 if (hast_proto_recv_hdr(res->hr_ctrl, &nvin) == -1) {
H A Dsecondary.c422 if (proto_client(NULL, "socketpair://", &res->hr_ctrl) == -1) {
451 proto_send(res->hr_ctrl, NULL, 0);
464 proto_recv(res->hr_ctrl, NULL, 0);
H A Dprimary.c975 if (proto_client(NULL, "socketpair://", &res->hr_ctrl) == -1) {
1014 proto_send(res->hr_ctrl, NULL, 0);
1028 proto_recv(res->hr_ctrl, NULL, 0);

Completed in 59 milliseconds