Lines Matching refs:preference

80 	ulong_t preference;
143 static void record_router(struct in_addr router, long preference, int ttl);
163 static void force_preference(int preference);
186 static int initifs(int s, struct sockaddr_in *joinaddr, int preference);
204 " rdisc -r [-v] [-p <preference>] [-T <secs>] \n"
237 /* best preference in the kernel. Not set */
645 ap->preference = htonl(li->li_preference);
889 ap->preference = ntohl(ap->preference);
892 logtrace("\taddress %s, preference 0x%x\n",
894 ap->preference);
899 (long)ap->preference,
1056 * Send out a packet with a preference so that all
1282 force_preference(int preference)
1292 li->li_preference = preference;
1301 initifs(int s, struct sockaddr_in *joinaddr, int preference)
1453 li->li_preference = preference;
1959 int preference;
1976 pr_name(tp->router), tp->preference,
2005 if (tp->preference > max)
2006 max = tp->preference;
2034 tp->preference == max)
2047 if (tp->preference == max && !tp->in_kernel) {
2079 tp->preference == max)
2092 if (tp->preference == max && !tp->in_kernel) {
2103 record_router(struct in_addr router, long preference, int ttl)
2107 int changed_up = 0; /* max preference could have increased */
2108 int changed_down = 0; /* max preference could have decreased */
2111 logdebug("Recording %s, preference 0x%x\n",
2113 preference);
2116 if (tp->preference > preference &&
2117 tp->preference == old_max)
2119 else if (preference > tp->preference)
2121 tp->preference = preference;
2124 if (preference > old_max)
2132 tp->preference = preference;
2139 (!best_preference || tp->preference == max_preference()) &&
2140 tp->preference != IGNORE_PREFERENCE) {
2144 if (tp->preference == IGNORE_PREFERENCE && tp->in_kernel) {
2154 if (tp->preference == new_max &&
2168 if (tp->preference < new_max && tp->in_kernel) {