Home | History | Annotate | Download | only in iputils

Lines Matching full:preference

70 	int 		preference;
95 static void record_router(struct in_addr router, int preference, int ttl);
167 " rdisc -r [-b] [-d] [-s] [-v] [-f] [-a] [-V] [-p <preference>] [-T <secs>]\n"
195 int preference = 0; /* Setable with -p option */
202 best preference in the kernel. Not set
355 preference = val;
612 ap->ira_preference = htonl(interfaces[i].preference);
808 logtrace("\taddress %s, preference 0x%x\n",
966 /* Send out a packet with a preference so that all
1095 interfaces[i].preference = preference;
1302 int preference;
1331 if (tp->preference > max)
1332 max = tp->preference;
1356 tp->preference == max)
1369 if (tp->preference == max && !tp->in_kernel) {
1395 record_router(struct in_addr router, int preference, int ttl)
1399 int changed_up = 0; /* max preference could have increased */
1400 int changed_down = 0; /* max preference could have decreased */
1403 preference = INELIGIBLE_PREF;
1406 logdebug("Recording %s, ttl %d, preference 0x%x\n",
1409 preference);
1412 if (tp->preference > preference &&
1413 tp->preference == old_max)
1415 else if (preference > tp->preference)
1417 tp->preference = preference;
1420 if (preference > old_max)
1428 tp->preference = preference;
1435 (!best_preference || tp->preference == max_preference()) &&
1436 tp->preference != INELIGIBLE_PREF) {
1440 if (tp->preference == INELIGIBLE_PREF && tp->in_kernel) {
1450 if (tp->preference == new_max &&
1464 if (tp->preference < new_max && tp->in_kernel) {