Searched refs:proto_send (Results 1 - 12 of 12) sorted by relevance

/freebsd-11-stable/sbin/hastd/
H A Dproto.h48 int proto_send(const struct proto_conn *conn, const void *data, size_t size);
H A Dhast_proto.c123 if (proto_send(conn, hptr, hsize) == -1)
125 if (data != NULL && proto_send(conn, dptr, size) == -1)
H A Dsecondary.c229 if (proto_send(res->hr_remoteout, NULL, 0) == -1)
453 proto_send(res->hr_ctrl, NULL, 0);
464 proto_send(res->hr_event, NULL, 0);
H A Dproto.c250 proto_send(const struct proto_conn *conn, const void *data, size_t size) function
H A Dprimary.c578 if (proto_send(res->hr_conn, &val, sizeof(val)) == -1) {
854 if (proto_send(out, NULL, 0) == -1)
1015 proto_send(res->hr_ctrl, NULL, 0);
1026 proto_send(res->hr_event, NULL, 0);
1027 proto_send(res->hr_conn, NULL, 0);
H A Dhastd.c1020 if (proto_send(res->hr_conn, &val, sizeof(val)) == -1) {
/freebsd-11-stable/contrib/openbsm/bin/auditdistd/
H A Dproto.h43 int proto_send(const struct proto_conn *conn, const void *data, size_t size);
H A Dsender.c142 if (proto_send(adhost->adh_conn, &val, sizeof(val)) < 0) {
175 if (proto_send(conn, welcome, sizeof(welcome)) < 0) {
214 if (proto_send(conn, adcfg->adc_name, sizeof(adcfg->adc_name)) == -1) {
239 if (proto_send(conn, hash, sizeof(hash)) == -1) {
254 if (proto_send(conn, rnd, sizeof(rnd)) == -1) {
561 proto_send(adhost->adh_remote, &adreq->adr_packet,
789 proto_send(adhost->adh_conn, NULL, 0);
H A Dauditdistd.c287 if (proto_send(conn, welcome, sizeof(welcome)) == -1) {
330 if (proto_send(conn, rnd, sizeof(rnd)) == -1) {
374 if (proto_send(conn, hash, sizeof(hash)) == -1) {
450 if (proto_send(adhost->adh_conn, &val, sizeof(val)) < 0) {
H A Dreceiver.c514 if (proto_send(adhost->adh_remote, &adrep,
634 if (proto_send(adhost->adh_remote, &trail_size,
639 if (proto_send(adhost->adh_remote, adhost->adh_trail_name,
H A Dproto_tls.c546 proto_send(sock, NULL, 0);
719 proto_send(sock, NULL, 0);
882 if (proto_send(tlsctx->tls_sock, data, size) == -1)
H A Dproto.c234 proto_send(const struct proto_conn *conn, const void *data, size_t size) function

Completed in 85 milliseconds