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