Lines Matching refs:hints
576 struct addrinfo hints; in get_context() local
579 memset(&hints, 0, sizeof(struct addrinfo)); in get_context()
580 hints.ai_family = AF_UNSPEC; /* Allow IPv4 or IPv6 */ in get_context()
581 hints.ai_socktype = SOCK_DGRAM; /* Coap uses UDP */ in get_context()
582 hints.ai_flags = AI_PASSIVE | AI_NUMERICHOST; in get_context()
584 s = getaddrinfo(node, port, &hints, &result); in get_context()
617 struct addrinfo *reslocal = NULL, *resmulti = NULL, hints, *ainfo; in join() local
621 memset(&hints, 0, sizeof(hints)); in join()
622 hints.ai_family = AF_INET6; in join()
623 hints.ai_socktype = SOCK_DGRAM; in join()
625 result = getaddrinfo("::", NULL, &hints, &reslocal); in join()
640 memset(&hints, 0, sizeof(hints)); in join()
641 hints.ai_family = AF_INET6; in join()
642 hints.ai_socktype = SOCK_DGRAM; in join()
645 result = getaddrinfo(group_name, NULL, &hints, &resmulti); in join()