Lines Matching refs:hints

1329 		struct evutil_addrinfo hints, *ai = NULL;  in test_bufferevent_connect_hostname()  local
1330 memset(&hints, 0, sizeof(hints)); in test_bufferevent_connect_hostname()
1331 hints.ai_family = AF_INET; in test_bufferevent_connect_hostname()
1332 hints.ai_socktype = SOCK_STREAM; in test_bufferevent_connect_hostname()
1333 hints.ai_protocol = IPPROTO_TCP; in test_bufferevent_connect_hostname()
1335 "nonesuch.nowhere.example.com", "80", &hints, &ai); in test_bufferevent_connect_hostname()
1429 struct evutil_addrinfo hints, *a; in test_getaddrinfo_async() local
1456 memset(&hints, 0, sizeof(hints)); in test_getaddrinfo_async()
1457 hints.ai_family = PF_UNSPEC; in test_getaddrinfo_async()
1458 hints.ai_socktype = SOCK_STREAM; in test_getaddrinfo_async()
1461 &hints, gai_cb, &local_outcome); in test_getaddrinfo_async()
1473 memset(&hints, 0, sizeof(hints)); in test_getaddrinfo_async()
1474 hints.ai_family = PF_UNSPEC; in test_getaddrinfo_async()
1475 hints.ai_flags = EVUTIL_AI_NUMERICHOST; in test_getaddrinfo_async()
1478 &hints, gai_cb, &local_outcome); in test_getaddrinfo_async()
1484 memset(&hints, 0, sizeof(hints)); in test_getaddrinfo_async()
1486 hints.ai_family = PF_UNSPEC; in test_getaddrinfo_async()
1487 hints.ai_protocol = IPPROTO_TCP; in test_getaddrinfo_async()
1489 &hints, gai_cb, &local_outcome); in test_getaddrinfo_async()
1499 memset(&hints, 0, sizeof(hints)); in test_getaddrinfo_async()
1501 hints.ai_family = PF_UNSPEC; in test_getaddrinfo_async()
1503 &hints, gai_cb, &local_outcome); in test_getaddrinfo_async()
1517 memset(&hints, 0, sizeof(hints)); in test_getaddrinfo_async()
1519 hints.ai_family = PF_UNSPEC; in test_getaddrinfo_async()
1520 hints.ai_socktype = SOCK_DGRAM; in test_getaddrinfo_async()
1521 hints.ai_flags = EVUTIL_AI_PASSIVE; in test_getaddrinfo_async()
1523 &hints, gai_cb, &local_outcome); in test_getaddrinfo_async()
1539 memset(&hints, 0, sizeof(hints)); in test_getaddrinfo_async()
1541 hints.ai_family = PF_UNSPEC; in test_getaddrinfo_async()
1542 hints.ai_socktype = SOCK_STREAM; in test_getaddrinfo_async()
1544 &hints, gai_cb, &local_outcome); in test_getaddrinfo_async()
1560 memset(&hints, 0, sizeof(hints)); in test_getaddrinfo_async()
1562 hints.ai_family = PF_UNSPEC; in test_getaddrinfo_async()
1563 hints.ai_socktype = SOCK_STREAM; in test_getaddrinfo_async()
1565 &hints, gai_cb, &local_outcome); in test_getaddrinfo_async()
1581 memset(&hints, 0, sizeof(hints)); in test_getaddrinfo_async()
1583 hints.ai_family = PF_INET6; in test_getaddrinfo_async()
1584 hints.ai_socktype = SOCK_STREAM; in test_getaddrinfo_async()
1586 &hints, gai_cb, &local_outcome); in test_getaddrinfo_async()
1606 memset(&hints, 0, sizeof(hints)); in test_getaddrinfo_async()
1607 hints.ai_family = PF_UNSPEC; in test_getaddrinfo_async()
1608 hints.ai_socktype = SOCK_STREAM; in test_getaddrinfo_async()
1609 hints.ai_flags = EVUTIL_AI_CANONNAME; in test_getaddrinfo_async()
1612 &hints, gai_cb, &a_out[0]); in test_getaddrinfo_async()
1617 &hints, gai_cb, &a_out[1]); in test_getaddrinfo_async()
1621 hints.ai_flags = 0; in test_getaddrinfo_async()
1623 &hints, gai_cb, &a_out[2]); in test_getaddrinfo_async()
1628 hints.ai_family = PF_INET; in test_getaddrinfo_async()
1630 &hints, gai_cb, &a_out[3]); in test_getaddrinfo_async()
1635 hints.ai_family = PF_INET6; in test_getaddrinfo_async()
1637 &hints, gai_cb, &a_out[4]); in test_getaddrinfo_async()
1641 hints.ai_family = PF_INET; in test_getaddrinfo_async()
1643 &hints, gai_cb, &a_out[5]); in test_getaddrinfo_async()
1648 hints.ai_family = PF_UNSPEC; in test_getaddrinfo_async()
1650 &hints, gai_cb, &a_out[6]); in test_getaddrinfo_async()
1655 hints.ai_family = PF_UNSPEC; in test_getaddrinfo_async()
1657 &hints, gai_cb, &a_out[7]); in test_getaddrinfo_async()
1662 hints.ai_family = PF_UNSPEC; in test_getaddrinfo_async()
1664 "8008", &hints, gai_cb, &a_out[8]); in test_getaddrinfo_async()
1669 hints.ai_flags |= EVUTIL_AI_ADDRCONFIG; in test_getaddrinfo_async()
1671 "8009", &hints, gai_cb, &a_out[9]); in test_getaddrinfo_async()
1676 hints.ai_family = PF_UNSPEC; in test_getaddrinfo_async()
1677 hints.ai_flags = 0; in test_getaddrinfo_async()
1679 &hints, gai_cb, &a_out[10]); in test_getaddrinfo_async()
1684 &hints, gai_cb, &a_out[11]); in test_getaddrinfo_async()