Home | History | Annotate | Download | only in dns

Lines Matching refs:dst_b

186 // Returns true iff |dst_a| should precede |dst_b| in the address list.
189 const DestinationInfo* dst_b) {
193 DCHECK(dst_b->src);
197 bool scope_match2 = (dst_b->src->scope == dst_b->scope);
202 if (dst_a->src->deprecated != dst_b->src->deprecated)
206 if (dst_a->src->home != dst_b->src->home)
211 bool label_match2 = (dst_b->src->label == dst_b->label);
216 if (dst_a->precedence != dst_b->precedence)
217 return dst_a->precedence > dst_b->precedence;
220 if (dst_a->src->native != dst_b->src->native)
224 if (dst_a->scope != dst_b->scope)
225 return dst_a->scope < dst_b->scope;
228 if (dst_a->address.size() == dst_b->address.size()) {
229 if (dst_a->common_prefix_length != dst_b->common_prefix_length)
230 return dst_a->common_prefix_length > dst_b->common_prefix_length;