Searched refs:hr_remotein (Results 1 – 4 of 4) sorted by relevance
/freebsd/sbin/hastd/ |
H A D | secondary.c | 313 if (hast_proto_send(res, res->hr_remotein, nvout, in init_remote() 360 if (hast_proto_send(res, res->hr_remotein, nvout, in init_remote() 396 if (hast_proto_send(res, res->hr_remotein, nvout, map, mapsize) == -1) { in init_remote() 405 if (proto_recv(res->hr_remotein, NULL, 0) == -1) in init_remote() 443 proto_close(res->hr_remotein); in hastd_secondary() 444 res->hr_remotein = NULL; in hastd_secondary() 477 if (proto_timeout(res->hr_remotein, 2 * HAST_KEEPALIVE) == -1) in hastd_secondary() 662 if (hast_proto_recv_hdr(res->hr_remotein, &nv) == -1) { in recv_thread() 704 if (hast_proto_recv_data(res, res->hr_remotein, nv, in recv_thread()
|
H A D | hastd.c | 109 (res->hr_remotein == NULL && in descriptors_cleanup() 113 if (tres->hr_remotein != NULL) in descriptors_cleanup() 114 proto_close(tres->hr_remotein); in descriptors_cleanup() 262 fd == proto_descriptor(res->hr_remotein)) { in descriptors_assert() 878 PJDLOG_ASSERT(res->hr_remotein == NULL); in listen_accept() 903 } else if (res->hr_remotein != NULL) { in listen_accept() 906 proto_remote_address(res->hr_remotein, oaddr, in listen_accept() 911 proto_close(res->hr_remotein); in listen_accept() 912 res->hr_remotein = NULL; in listen_accept() 951 res->hr_remotein = conn; in listen_accept()
|
H A D | primary.c | 179 ((res)->hr_remotein != NULL && (res)->hr_remoteout != NULL) 871 res->hr_remotein = in; in init_remote() 1144 PJDLOG_ASSERT(res->hr_remotein == NULL); in remote_close() 1150 PJDLOG_ASSERT(res->hr_remotein != NULL); in remote_close() 1155 proto_close(res->hr_remotein); in remote_close() 1156 res->hr_remotein = NULL; in remote_close() 1513 PJDLOG_ASSERT(res->hr_remotein != NULL); in keepalive_send() 1743 if (hast_proto_recv_hdr(res->hr_remotein, &nv) == -1) { in remote_recv_thread() 1792 if (hast_proto_recv_data(res, res->hr_remotein, nv, in remote_recv_thread() 2304 if (proto_timeout(gres->hr_remotein, in primary_config_reload() [all …]
|
H A D | hast.h | 194 struct proto_conn *hr_remotein; member
|