Lines Matching refs:sin_addr
594 if (inet_aton(source, &sock_in.sin_addr) != 0) {
603 if ((unsigned)hp->h_length > sizeof(sock_in.sin_addr) ||
606 memcpy(&sock_in.sin_addr, hp->h_addr_list[0],
607 sizeof(sock_in.sin_addr));
622 if (inet_aton(target, &to->sin_addr) != 0) {
630 if ((unsigned)hp->h_length > sizeof(to->sin_addr))
632 memcpy(&to->sin_addr, hp->h_addr_list[0], sizeof to->sin_addr);
654 if (options & F_FLOOD && IN_MULTICAST(ntohl(to->sin_addr.s_addr)))
658 && !IN_MULTICAST(ntohl(to->sin_addr.s_addr)))
735 ip.ip_src.s_addr = source ? sock_in.sin_addr.s_addr : INADDR_ANY;
736 ip.ip_dst = to->sin_addr;
861 inet_ntoa(to->sin_addr));
1168 inet_ntoa(from->sin_addr));
1235 pr_addr(from->sin_addr), seq);
1313 (oip.ip_dst.s_addr == whereto.sin_addr.s_addr) &&
1318 pr_addr(from->sin_addr));