Home | History | Annotate | Download | only in dns

Lines Matching refs:dst_b

211 // Returns true iff |dst_a| should precede |dst_b| in the address list.
214 const DestinationInfo* dst_b) {
218 DCHECK(dst_b->src);
222 bool scope_match2 = (dst_b->src->scope == dst_b->scope);
227 if (dst_a->src->deprecated != dst_b->src->deprecated)
231 if (dst_a->src->home != dst_b->src->home)
236 bool label_match2 = (dst_b->src->label == dst_b->label);
241 if (dst_a->precedence != dst_b->precedence)
242 return dst_a->precedence > dst_b->precedence;
245 if (dst_a->src->native != dst_b->src->native)
249 if (dst_a->scope != dst_b->scope)
250 return dst_a->scope < dst_b->scope;
253 if (dst_a->address.size() == dst_b->address.size()) {
254 if (dst_a->common_prefix_length != dst_b->common_prefix_length)
255 return dst_a->common_prefix_length > dst_b->common_prefix_length;