Searched refs:hr_conn (Results 1 – 3 of 3) sorted by relevance
/freebsd/sbin/hastd/ |
H A D | hastd.c | 121 if (tres->hr_conn != NULL) in descriptors_cleanup() 122 proto_close(tres->hr_conn); in descriptors_cleanup() 239 fd == proto_descriptor(res->hr_conn)) { in descriptors_assert() 253 res->hr_conn != NULL && in descriptors_assert() 254 fd == proto_descriptor(res->hr_conn)) { in descriptors_assert() 995 if (proto_recv(res->hr_conn, &val, sizeof(val)) == -1) { in connection_migrate() 1017 if (proto_send(res->hr_conn, &val, sizeof(val)) == -1) { in connection_migrate() 1021 if (val == 0 && proto_connection_send(res->hr_conn, conn) == -1) in connection_migrate() 1103 PJDLOG_ASSERT(res->hr_conn != NULL); in main_loop() 1104 fd = proto_descriptor(res->hr_conn); in main_loop() [all …]
|
H A D | hast.h | 227 struct proto_conn *hr_conn; member
|
H A D | primary.c | 575 if (proto_send(res->hr_conn, &val, sizeof(val)) == -1) { in primary_connect() 579 if (proto_recv(res->hr_conn, &val, sizeof(val)) == -1) { in primary_connect() 589 if (proto_connection_recv(res->hr_conn, true, &conn) == -1) { in primary_connect() 992 if (proto_client(NULL, "socketpair://", &res->hr_conn) == -1) { in hastd_primary() 1010 proto_recv(res->hr_conn, NULL, 0); in hastd_primary() 1024 proto_send(res->hr_conn, NULL, 0); in hastd_primary()
|