Searched refs:s_addr (Results 1 – 6 of 6) sorted by relevance
67 auto gateway_s_addr = ntohl(sa->sin_addr.s_addr); in ParseInterfaceAttributes()73 auto broadcast_s_addr = ntohl(sa->sin_addr.s_addr); in ParseInterfaceAttributes()87 this->ril_prefixlen = number_of_ones(sa->sin_addr.s_addr); in ParseInterfaceAttributes()88 auto netmask_s_addr = ntohl(sa->sin_addr.s_addr); in ParseInterfaceAttributes()93 auto s_addr = network + 1; in ParseInterfaceAttributes() local95 while (s_addr & ~netmask_s_addr) { in ParseInterfaceAttributes()96 if (s_addr != gateway_s_addr && s_addr != broadcast_s_addr) { in ParseInterfaceAttributes()99 ++s_addr; in ParseInterfaceAttributes()101 if (s_addr == network) { in ParseInterfaceAttributes()106 addr.s_addr = htonl(s_addr); in ParseInterfaceAttributes()
26 if (sin->sin_addr.s_addr != 0) return real_bind(sockfd, addr, addrlen); in bind()28 new_sin.sin_addr.s_addr = 0x0100007f; in bind()
106 sockaddr.sin_addr.s_addr = address; in bindIp()134 addr.sin_addr.s_addr = destinationAddress; in sendOnInterface()
557 addr.sin_addr.s_addr = htonl(INADDR_ANY); in SocketLocalClient()573 addr.sin_addr.s_addr = inet_addr(host.c_str()); in SocketClient()628 addr.sin_addr.s_addr = htonl(INADDR_ANY); in SocketLocalServer()
82 servAddr.sin_addr.s_addr = INADDR_ANY; in listen()
575 sin->sin_addr.s_addr = inet_addr(myaddr); in set_Ip_Addr()579 sin->sin_addr.s_addr = htonl(0xFFFFFFFFu << (32 - (pfxlen ?: 32))); in set_Ip_Addr()