Lines Matching refs:s_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()
611 ap->ira_addr = interfaces[i].localaddr.s_addr; in advertise()
631 if ((sin->sin_addr.s_addr & ifp->netmask.s_addr) == in advertise()
632 (ifp->address.s_addr & ifp->netmask.s_addr)) { in advertise()
704 phe = gethostbyaddr((char *)&addr.s_addr, 4, AF_INET); in pr_name()
806 ina.s_addr = ap->ira_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()
1173 interfaces[i].netmask.s_addr = (__u32)0xffffffff; in initifs()
1249 mreq.imr_address.s_addr = 0; in join()
1290 if ((in.s_addr & interfaces[i].netmask.s_addr ) == in is_directly_connected()
1291 (interfaces[i].remoteaddr.s_addr & interfaces[i].netmask.s_addr)) in is_directly_connected()
1317 if (tp->router.s_addr == addr.s_addr) in find_router()