Home
last modified time | relevance | path

Searched refs:rh (Results 1 – 1 of 1) sorted by relevance

/busybox-1.35.0/sysklogd/
Dsyslogd.c988 static int try_to_resolve_remote(remoteHost_t *rh) in try_to_resolve_remote() argument
990 if (!rh->remoteAddr) { in try_to_resolve_remote()
994 if ((now - rh->last_dns_resolve) < DNS_WAIT_SEC) in try_to_resolve_remote()
996 rh->last_dns_resolve = now; in try_to_resolve_remote()
997 rh->remoteAddr = host2sockaddr(rh->remoteHostname, 514); in try_to_resolve_remote()
998 if (!rh->remoteAddr) in try_to_resolve_remote()
1001 return xsocket(rh->remoteAddr->u.sa.sa_family, SOCK_DGRAM, 0); in try_to_resolve_remote()
1086 remoteHost_t *rh = (remoteHost_t *)item->data; in do_syslogd() local
1088 if (rh->remoteFD == -1) { in do_syslogd()
1089 rh->remoteFD = try_to_resolve_remote(rh); in do_syslogd()
[all …]