Lines Matching refs:preference
70 int preference; member
95 static void record_router(struct in_addr router, int preference, int ttl);
195 int preference = 0; /* Setable with -p option */ variable
355 preference = val; in main()
612 ap->ira_preference = htonl(interfaces[i].preference); in advertise()
1095 interfaces[i].preference = preference; in init()
1302 int preference; member
1331 if (tp->preference > max) in max_preference()
1332 max = tp->preference; in max_preference()
1356 tp->preference == max) in age_table()
1369 if (tp->preference == max && !tp->in_kernel) { in age_table()
1395 record_router(struct in_addr router, int preference, int ttl) in record_router() argument
1403 preference = INELIGIBLE_PREF; in record_router()
1409 preference); in record_router()
1412 if (tp->preference > preference && in record_router()
1413 tp->preference == old_max) in record_router()
1415 else if (preference > tp->preference) in record_router()
1417 tp->preference = preference; in record_router()
1420 if (preference > old_max) in record_router()
1428 tp->preference = preference; in record_router()
1435 (!best_preference || tp->preference == max_preference()) && in record_router()
1436 tp->preference != INELIGIBLE_PREF) { in record_router()
1440 if (tp->preference == INELIGIBLE_PREF && tp->in_kernel) { in record_router()
1450 if (tp->preference == new_max && in record_router()
1464 if (tp->preference < new_max && tp->in_kernel) { in record_router()