Lines Matching refs:addr
154 in_addr_t addr = ntohl(localAddr.sin_addr.s_addr);
157 (addr >> 24),
158 (addr >> 16) & 0xff,
159 (addr >> 8) & 0xff,
160 addr & 0xff);
162 addr = ntohl(remoteAddr.sin_addr.s_addr);
165 (addr >> 24),
166 (addr >> 16) & 0xff,
167 (addr >> 8) & 0xff,
168 addr & 0xff);
619 NULL /* addr */,
628 const struct in_addr &addr, unsigned port,
632 &addr,
653 NULL /* addr */,
662 const struct in_addr &addr, unsigned port,
666 &addr,
682 NULL /* addr */,
781 struct sockaddr_in addr;
782 memset(addr.sin_zero, 0, sizeof(addr.sin_zero));
783 addr.sin_family = AF_INET;
793 addr.sin_addr.s_addr = *(in_addr_t *)ent->h_addr;
794 addr.sin_port = htons(remotePort);
796 addr.sin_addr = *localAddr;
797 addr.sin_port = htons(port);
799 addr.sin_addr.s_addr = htonl(INADDR_ANY);
800 addr.sin_port = htons(port);
805 in_addr_t x = ntohl(addr.sin_addr.s_addr);
812 ntohs(addr.sin_port));
814 res = connect(s, (const struct sockaddr *)&addr, sizeof(addr));
821 res = bind(s, (const struct sockaddr *)&addr, sizeof(addr));
1082 in_addr_t addr = ntohl(remoteAddr.sin_addr.s_addr);
1086 (addr >> 24),
1087 (addr >> 16) & 0xff,
1088 (addr >> 8) & 0xff,
1089 addr & 0xff,