Lines Matching refs:sin_addr
235 listen_addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK); in evutil_ersatz_socketpair()
268 || listen_addr.sin_addr.s_addr != connect_addr.sin_addr.s_addr in evutil_ersatz_socketpair()
573 r = evutil_inet_pton(AF_INET, "18.244.0.188", &sin.sin_addr); in evutil_check_interfaces()
590 ev_uint32_t addr = ntohl(sin_out.sin_addr.s_addr); in evutil_check_interfaces()
594 evutil_inet_ntop(AF_INET, &sin_out.sin_addr, in evutil_check_interfaces()
866 sin.sin_addr.s_addr = htonl(0x7f000001); in evutil_getaddrinfo_common()
902 if (1==evutil_inet_pton(AF_INET, nodename, &sin.sin_addr)) { in evutil_getaddrinfo_common()
1003 addrp = &sin.sin_addr; in addrinfo_from_hostent()
1004 if (ent->h_length != sizeof(sin.sin_addr)) { in addrinfo_from_hostent()
1886 if (1 != evutil_inet_pton(AF_INET, addr_part, &sin.sin_addr)) in evutil_parse_sockaddr_port()
1905 res = evutil_inet_ntop(AF_INET, &sin->sin_addr,b,sizeof(b)); in evutil_format_sockaddr_port()
1938 if (sin1->sin_addr.s_addr < sin2->sin_addr.s_addr) in evutil_sockaddr_cmp()
1940 else if (sin1->sin_addr.s_addr > sin2->sin_addr.s_addr) in evutil_sockaddr_cmp()
2131 return (ntohl(sin->sin_addr.s_addr) & 0xff000000) == 0x7f000000; in evutil_sockaddr_is_loopback()