Lines Matching refs:hostname
176 const char * hostname,
189 if (p->hostname != NULL
194 && !strcasecmp(p->hostname, hostname))
264 const char * hostname,
271 if (hostname != NULL)
272 return findexistingpeer_name(hostname, AF(addr),
522 if (p->hostname != NULL)
523 free(p->hostname);
572 const char * hostname,
601 if (hostname != NULL && SOCK_UNSPEC(srcadr))
625 return newpeer(srcadr, hostname, dstadr, ippeerlimit, hmode, version,
792 const char * hostname,
830 * For now only pool associations have a hostname.
832 INSIST(NULL == hostname || (MDF_POOL & cast_flags));
843 peer = findexistingpeer(srcadr, hostname, NULL, hmode,
855 peer = findexistingpeer(srcadr, hostname, peer,
860 peer = findexistingpeer(srcadr, hostname, NULL, hmode,
893 (hostname)
894 ? hostname
901 (hostname)
902 ? hostname
911 (hostname)
912 ? hostname
919 (hostname)
920 ? hostname
949 if (hostname != NULL) {
950 peer->hostname = estrdup(hostname);