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

/freebsd-11.0-release/contrib/openbsm/bin/auditdistd/
H A Dreceiver.c88 static struct adist_host *adhost; variable in typeref:struct:adist_host
217 if (proto_recv(adhost->adh_remote, &adreq->adr_packet,
236 adhost->adh_directory, adhost->adh_trail_name);
247 if (proto_recv(adhost->adh_remote, adreq->adr_data,
284 if (adhost->adh_trail_fd != -1) {
286 filename, adhost->adh_trail_name);
296 switch (trail_name_compare(filename, adhost->adh_trail_name)) {
298 if (!trail_is_not_terminated(adhost->adh_trail_name)) {
300 adhost
[all...]
H A Dauditdistd.c102 descriptors_cleanup(struct adist_host *adhost) argument
108 if (adh == adhost)
124 child_cleanup(struct adist_host *adhost) argument
127 if (adhost->adh_conn != NULL) {
128 PJDLOG_ASSERT(adhost->adh_role == ADIST_ROLE_SENDER);
129 proto_close(adhost->adh_conn);
130 adhost->adh_conn = NULL;
132 adhost->adh_worker_pid = 0;
154 struct adist_host *adhost; local
162 TAILQ_FOREACH(adhost,
206 struct adist_host *adhost; local
228 struct adist_host *adhost; local
420 connection_migrate(struct adist_host *adhost) argument
499 struct adist_host *adhost; local
582 struct adist_host *adhost; local
623 struct adist_host *adhost; local
[all...]
H A Dsender.c82 static struct adist_host *adhost; variable in typeref:struct:adist_host
142 if (proto_send(adhost->adh_conn, &val, sizeof(val)) < 0) {
146 if (proto_recv(adhost->adh_conn, &val, sizeof(val)) < 0) {
153 adhost->adh_remoteaddr);
156 if (proto_connection_recv(adhost->adh_conn, true, &conn) < 0) {
162 adhost->adh_remoteaddr);
166 pjdlog_debug(1, "Connected to %s.", adhost->adh_remoteaddr);
178 adhost->adh_remoteaddr);
187 adhost->adh_remoteaddr);
194 adhost
[all...]
H A Dauditdistd.h262 void descriptors_cleanup(struct adist_host *adhost);
263 void descriptors_assert(const struct adist_host *adhost, int pjdlogmode);
265 void adist_sender(struct adist_config *config, struct adist_host *adhost);
266 void adist_receiver(struct adist_config *config, struct adist_host *adhost);
H A Dparse.y841 struct adist_host *adhost;
848 while ((adhost = TAILQ_FIRST(&config->adc_hosts)) != NULL) {
849 TAILQ_REMOVE(&config->adc_hosts, adhost, adh_next);
850 bzero(adhost, sizeof(*adhost));
851 free(adhost);

Completed in 102 milliseconds