Lines Matching defs:hostname
82 ether_ntohost(char *hostname, const struct ether_addr *e)
88 _DIAGASSERT(hostname != NULL);
119 ypbuflen = ether_line(ypbuf, &try, hostname);
126 if (ether_line(p, &try, hostname) == 0 &&
141 ether_hostton(const char *hostname, struct ether_addr *e)
147 int hostlen = (int)strlen(hostname);
150 _DIAGASSERT(hostname != NULL);
170 if (yp_match(ypdom, "ethers.byname", hostname, hostlen,
180 if (ether_line(p, e, try) == 0 && strcmp(hostname, try) == 0)
194 ether_line(const char *l, struct ether_addr *e, char *hostname)
207 _DIAGASSERT(hostname != NULL);
210 &i[0], &i[1], &i[2], &i[3], &i[4], &i[5], hostname) == 7) {