Lines Matching refs:subnet_source_mask
111 ecs->subnet_source_mask <= INET_SIZE*8);
113 ecs->subnet_source_mask <= INET6_SIZE*8);
115 sn_octs = ecs->subnet_source_mask / 8;
117 (size_t)((ecs->subnet_source_mask % 8)>0?1:0);
123 sldns_buffer_write_u8(buf, ecs->subnet_source_mask);
128 ~(0xFF >> (ecs->subnet_source_mask % 8)));
271 target->subnet_source_mask = source->subnet_source_mask;
389 edns->subnet_source_mask, sq->max_scope, rep,
426 ecs->subnet_source_mask, *env->now);
445 sq->ecs_client_out.subnet_source_mask = ecs->subnet_source_mask;
519 s_out->subnet_source_mask != s_in->subnet_source_mask ||
521 s_out->subnet_source_mask))
543 c_out->subnet_source_mask = c_in->subnet_source_mask;
573 ecs->subnet_source_mask = ecs_option->opt_data[2];
579 if (ecs_option->opt_len != (size_t)((ecs->subnet_source_mask+7)/8 + 4))
584 if (ecs->subnet_source_mask > 32 || ecs->subnet_scope_mask > 32)
587 if (ecs->subnet_source_mask > 128 ||
595 ecs_option->opt_len - 4, ecs->subnet_source_mask))
609 ecs->subnet_source_mask = cfg->max_client_subnet_ipv4;
614 ecs->subnet_source_mask)) {
620 ecs->subnet_source_mask = cfg->max_client_subnet_ipv6;
625 ecs->subnet_source_mask)) {
747 if(sq->ecs_client_in.subnet_source_mask != 0 && (
749 sq->ecs_client_in.subnet_source_mask < qstate->env->cfg->min_client_subnet_ipv4) ||
751 sq->ecs_client_in.subnet_source_mask < qstate->env->cfg->min_client_subnet_ipv6))) {
772 sq->ecs_server_out.subnet_source_mask =
773 sq->ecs_client_in.subnet_source_mask;
776 && sq->ecs_server_out.subnet_source_mask >
778 sq->ecs_server_out.subnet_source_mask =
781 && sq->ecs_server_out.subnet_source_mask >
783 sq->ecs_server_out.subnet_source_mask =
792 if(sq->ecs_server_out.subnet_source_mask != 0 &&