Searched refs:proto_recv (Results 1 – 10 of 10) sorted by relevance
/freebsd/contrib/openbsm/bin/auditdistd/ |
H A D | sender.c | 146 if (proto_recv(adhost->adh_conn, &val, sizeof(val)) < 0) { in sender_connect() 184 if (proto_recv(conn, welcome, sizeof(welcome)) < 0) { in sender_connect() 222 if (proto_recv(conn, rnd, sizeof(rnd)) == -1) { in sender_connect() 262 if (proto_recv(conn, resp, sizeof(resp)) == -1) { in sender_connect() 287 if (proto_recv(conn, &adhost->adh_trail_offset, in sender_connect() 296 if (proto_recv(conn, &adhost->adh_trail_name, in sender_connect() 607 if (proto_recv(adhost->adh_remote, &adrep, in recv_thread() 768 proto_recv(adh->adh_conn, NULL, 0); in adist_sender()
|
H A D | auditdistd.c | 271 if (proto_recv(conn, welcome, sizeof(welcome)) == -1) { in listen_accept() 294 if (proto_recv(conn, adname, sizeof(adhost->adh_name)) < 0) { in listen_accept() 337 if (proto_recv(conn, resp, sizeof(resp)) == -1) { in listen_accept() 359 if (proto_recv(conn, rnd, sizeof(rnd)) == -1) { in listen_accept() 430 if (proto_recv(adhost->adh_conn, &val, sizeof(val)) < 0) { in connection_migrate()
|
H A D | proto.h | 44 int proto_recv(const struct proto_conn *conn, void *data, size_t size);
|
H A D | receiver.c | 217 if (proto_recv(adhost->adh_remote, &adreq->adr_packet, in recv_thread() 247 if (proto_recv(adhost->adh_remote, adreq->adr_data, in recv_thread()
|
H A D | proto_tls.c | 451 proto_recv(sock, NULL, 0); in tls_call_exec_client() 835 proto_recv(sock, NULL, 0); in tls_accept() 905 if (proto_recv(tlsctx->tls_sock, data, size) == -1) in tls_recv()
|
H A D | proto.c | 252 proto_recv(const struct proto_conn *conn, void *data, size_t size) in proto_recv() function
|
/freebsd/sbin/hastd/ |
H A D | hast_proto.c | 140 if (proto_recv(conn, &hdr, sizeof(hdr)) == -1) in hast_proto_recv_hdr() 157 if (proto_recv(conn, hptr, hdr.size) == -1) in hast_proto_recv_hdr() 195 if (proto_recv(conn, data, dsize) == -1) in hast_proto_recv_data()
|
H A D | secondary.c | 405 if (proto_recv(res->hr_remotein, NULL, 0) == -1) in init_remote() 448 proto_recv(res->hr_event, NULL, 0); in hastd_secondary() 463 proto_recv(res->hr_ctrl, NULL, 0); in hastd_secondary()
|
H A D | primary.c | 579 if (proto_recv(res->hr_conn, &val, sizeof(val)) == -1) { in primary_connect() 853 if (proto_recv(in, NULL, 0) == -1) in init_remote() 1009 proto_recv(res->hr_event, NULL, 0); in hastd_primary() 1010 proto_recv(res->hr_conn, NULL, 0); in hastd_primary() 1026 proto_recv(res->hr_ctrl, NULL, 0); in hastd_primary()
|
H A D | hastd.c | 995 if (proto_recv(res->hr_conn, &val, sizeof(val)) == -1) { in connection_migrate()
|