Lines Matching refs:sin_addr
224 return (sin->sin_addr.s_addr == INADDR_BROADCAST); in isbroadcast()
229 return IN_CLASSD(ntohl(sin->sin_addr.s_addr)); in ismulticast()
423 to->sin_addr.s_addr = inet_addr(sendaddress); in main()
427 joinaddr.sin_addr.s_addr = inet_addr(recvaddress); in main()
548 pr_name(sin->sin_addr)); in solicitor()
593 pr_name(sin->sin_addr)); in advertise()
631 if ((sin->sin_addr.s_addr & ifp->netmask.s_addr) == in advertise()
635 pr_name(sin->sin_addr)); in advertise()
732 pr_name(from->sin_addr)); in pr_pack()
755 pr_name(from->sin_addr)); in pr_pack()
762 pr_name(from->sin_addr), in pr_pack()
770 pr_name(from->sin_addr)); in pr_pack()
777 pr_name(from->sin_addr), in pr_pack()
786 pr_name(from->sin_addr), in pr_pack()
795 pr_name(from->sin_addr), in pr_pack()
844 pr_name(from->sin_addr)); in pr_pack()
851 pr_name(from->sin_addr), in pr_pack()
860 pr_name(from->sin_addr), in pr_pack()
869 pr_name(from->sin_addr)); in pr_pack()
880 sin.sin_addr.s_addr = htonl(0xe0000001); in pr_pack()
882 sin.sin_addr.s_addr = INADDR_BROADCAST; in pr_pack()
888 sin.sin_addr.s_addr = ip->saddr; in pr_pack()
889 if (!is_directly_connected(sin.sin_addr)) { in pr_pack()
893 pr_name(from->sin_addr)); in pr_pack()
1020 baddr.sin_addr = ifp->bcastaddr; in sendbcastif()
1023 pr_name(baddr.sin_addr)); in sendbcastif()
1031 pr_name(baddr.sin_addr)); in sendbcastif()
1171 interfaces[i].localaddr = sin->sin_addr; in initifs()
1186 interfaces[i].address = sin->sin_addr; in initifs()
1187 interfaces[i].remoteaddr = sin->sin_addr; in initifs()
1189 interfaces[i].bcastaddr = sin->sin_addr; in initifs()
1200 interfaces[i].netmask = sin->sin_addr; in initifs()
1207 interfaces[i].bcastaddr = sin->sin_addr; in initifs()
1239 mreq.imr_multiaddr = sin->sin_addr; in join()
1501 sin->sin_addr = addr; in rtioctl()