Lines Matching refs:in6
89 IN6_ARE_ADDR_EQUAL(&tmp->addr.in6.sin6_addr, &addr->addr.addr6) && in iface_check()
91 (tmp->addr.in6.sin6_scope_id == (uint32_t) *indexp))) in iface_check()
159 int ifindex = (int) addr->in6.sin6_scope_id; in iface_allowed()
161 !iface_check(AF_INET6, (struct all_addr*) &addr->in6.sin6_addr, ifr.ifr_name, &ifindex)) in iface_allowed()
188 addr.in6.sin6_family = AF_INET6; in iface_allowed_v6()
189 addr.in6.sin6_addr = *local; in iface_allowed_v6()
190 addr.in6.sin6_port = htons(daemon->port); in iface_allowed_v6()
198 addr.in6.sin6_scope_id = scope; in iface_allowed_v6()
244 addr.in6.sin6_family = AF_INET6; in create_ipv6_listener()
245 addr.in6.sin6_addr = in6addr_any; in create_ipv6_listener()
246 addr.in6.sin6_port = htons(port); in create_ipv6_listener()
596 addr.in6.sin6_addr = in6addr_any; in random_sock()
597 addr.in6.sin6_port = port; in random_sock()
619 addr_copy.in6.sin6_port = 0; in local_bind()
651 memcmp(&addr->in6.sin6_addr, &in6addr_any, sizeof(in6addr_any)) == 0 && in allocate_sfd()
652 addr->in6.sin6_port == htons(0)) in allocate_sfd()
702 addr.in6.sin6_family = AF_INET6; in pre_allocate_sfds()
703 addr.in6.sin6_addr = in6addr_any; in pre_allocate_sfds()
704 addr.in6.sin6_port = htons(daemon->query_port); in pre_allocate_sfds()
966 addr.in6.sin6_port = htons(NAMESERVER_PORT); in set_servers()
967 source_addr.in6.sin6_family = AF_INET6; in set_servers()
968 source_addr.in6.sin6_addr = in6addr_any; in set_servers()
969 source_addr.in6.sin6_port = htons(daemon->query_port); in set_servers()
1059 addr.in6.sin6_port = htons(NAMESERVER_PORT); in reload_servers()
1060 source_addr.in6.sin6_family = AF_INET6; in reload_servers()
1061 source_addr.in6.sin6_addr = in6addr_any; in reload_servers()
1062 source_addr.in6.sin6_port = htons(daemon->query_port); in reload_servers()