Lines Matching refs:sin_addr
280 reply.sin_addr.s_addr = inet_addr(host);
281 if (reply.sin_addr.s_addr == INADDR_NONE) {
286 bcopy((char *)hp->h_addr, (char *)&reply.sin_addr,
287 sizeof reply.sin_addr);
382 if (!get_ether_addr(dst->sin_addr.s_addr, ea)) {
384 inet_ntoa(dst->sin_addr));
444 found = search(addr->sin_addr.s_addr, print_entry);
448 host, inet_ntoa(addr->sin_addr));
500 addr->sin_addr.s_addr = dst->sin_addr.s_addr;
517 printf("%s (%s) deleted\n", host, inet_ntoa(addr->sin_addr));
574 if (addr != sin2->sin_addr.s_addr)
603 hp = gethostbyaddr((caddr_t)&(addr->sin_addr),
604 sizeof addr->sin_addr, AF_INET);
615 inet_ntoa(addr->sin_addr));
697 snprintf(ip, sizeof(ip), "%s", inet_ntoa(addr->sin_addr));
851 &ifreq.ifr_addr)->sin_addr.s_addr;
853 &ifr->ifr_addr)->sin_addr.s_addr;