Searched refs:HOPCNT_INFINITY (Results 1 - 19 of 19) sorted by relevance
/freebsd-9.3-release/usr.sbin/IPXrouted/ |
H A D | protocol.h | 71 #define HOPCNT_INFINITY 16 /* per IPX */ macro
|
H A D | input.c | 118 ntohs(n->rip_metric) == HOPCNT_INFINITY && 147 if (rt->rt_metric == (HOPCNT_INFINITY-1)) 149 n->rip_metric = htons( rt == 0 ? HOPCNT_INFINITY : 150 min(rt->rt_metric+1, HOPCNT_INFINITY)); 222 if ((unsigned) ntohs(n->rip_metric) > HOPCNT_INFINITY) 226 if (ntohs(n->rip_metric) == HOPCNT_INFINITY) 250 ntohs(n->rip_metric) != HOPCNT_INFINITY) { 275 ntohs(n->rip_metric) != HOPCNT_INFINITY)) { 278 if (ntohs(n->rip_metric) == HOPCNT_INFINITY) 286 (ntohs(n->rip_metric) != HOPCNT_INFINITY)) { [all...] |
H A D | timer.c | 114 rt->rt_metric = HOPCNT_INFINITY; 128 if ((rt->rt_metric + 1) == HOPCNT_INFINITY) 134 htons(min(rt->rt_metric+1, HOPCNT_INFINITY)); 173 sap->sap.hops = htons(HOPCNT_INFINITY); 191 if ((ntohs(sap->sap.hops) + 1) == HOPCNT_INFINITY) 196 htons(min(sap->sap.hops+1, HOPCNT_INFINITY)); 223 rt->rt_metric = HOPCNT_INFINITY; 233 sap->sap.hops = htons(HOPCNT_INFINITY);
|
H A D | sap_input.c | 90 if (ntohs(n->hops) >= HOPCNT_INFINITY) 145 if (ntohs(n->hops) > HOPCNT_INFINITY) 149 if (ntohs(n->hops) == HOPCNT_INFINITY) 171 (ntohs(n->hops) != HOPCNT_INFINITY)) { 197 ntohs(n->hops) != HOPCNT_INFINITY)) {
|
H A D | sap_tables.c | 129 register int besthops = HOPCNT_INFINITY; 157 if (ntohs(si->hops) == HOPCNT_INFINITY) 194 * If the hopcount (metric) is HOPCNT_INFINITY (16) it means that 199 if (sap->clone && (ntohs(si->hops) != HOPCNT_INFINITY)) { 249 if (ntohs(si->hops) == HOPCNT_INFINITY) 276 if (ntohs(clone->hops) == HOPCNT_INFINITY)
|
H A D | output.c | 188 if (rt->rt_metric == HOPCNT_INFINITY) 189 metric = HOPCNT_INFINITY; 195 if (metric >= HOPCNT_INFINITY)
|
H A D | sap_output.c | 182 if (ntohs(sap->sap.hops) == (HOPCNT_INFINITY - 1)) 184 metric = min(ntohs(sap->sap.hops) + 1, HOPCNT_INFINITY);
|
H A D | main.c | 214 msg->rip_nets[0].rip_metric = htons(HOPCNT_INFINITY);
|
/freebsd-9.3-release/sbin/routed/ |
H A D | input.c | 287 * metric HOPCNT_INFINITY means "all routes". 293 && n->n_metric == HOPCNT_INFINITY) { 405 v12buf.n->n_metric = HOPCNT_INFINITY; 418 if (j < HOPCNT_INFINITY) 421 v12buf.n->n_metric = HOPCNT_INFINITY; 623 || n->n_metric > HOPCNT_INFINITY) { 676 if (n->n_metric > HOPCNT_INFINITY) 677 n->n_metric = HOPCNT_INFINITY; 804 if (new->rts_metric == HOPCNT_INFINITY) 867 if (rts->rts_metric == HOPCNT_INFINITY [all...] |
H A D | table.c | 44 static struct rt_spare rts_empty = {0,0,0,HOPCNT_INFINITY,0,0,0}; 907 k->k_metric = HOPCNT_INFINITY; 912 k->k_metric = HOPCNT_INFINITY; 918 else if (k->k_metric > HOPCNT_INFINITY-1) 919 k->k_metric = HOPCNT_INFINITY-1; 1339 if (ag->ag_metric == HOPCNT_INFINITY) { 1364 if (k->k_metric == HOPCNT_INFINITY) 1395 if (k->k_metric == HOPCNT_INFINITY 1467 if (metric == HOPCNT_INFINITY) { 1469 pref = HOPCNT_INFINITY; [all...] |
H A D | output.c | 410 ? HOPCNT_INFINITY 620 metric = HOPCNT_INFINITY; 646 if (metric >= HOPCNT_INFINITY) { 648 && (pref >= HOPCNT_INFINITY 652 metric = HOPCNT_INFINITY; 930 buf.rip_nets[0].n_metric = htonl(HOPCNT_INFINITY);
|
H A D | parms.c | 228 if (metric >= HOPCNT_INFINITY) { 591 || intnetp->intnet_metric >= HOPCNT_INFINITY) 775 || i > HOPCNT_INFINITY-1) 782 || i > HOPCNT_INFINITY-1) 789 || i > HOPCNT_INFINITY-1)
|
H A D | defs.h | 144 #define FAKE_METRIC (HOPCNT_INFINITY-2) 249 #define BETTER_LINK(rt,A,B) ((A)->rts_metric < HOPCNT_INFINITY \
|
H A D | rdisc.c | 519 new.rts_metric = HOPCNT_INFINITY; 547 new.rts_metric = HOPCNT_INFINITY-1;
|
H A D | main.c | 194 && n <= HOPCNT_INFINITY-1
|
H A D | if.c | 891 if (ifs.int_metric > HOPCNT_INFINITY) {
|
H A D | trace.c | 919 && ntohl(n->n_metric) == HOPCNT_INFINITY
|
/freebsd-9.3-release/include/protocols/ |
H A D | routed.h | 140 #define HOPCNT_INFINITY 16 macro
|
/freebsd-9.3-release/sbin/routed/rtquery/ |
H A D | rtquery.c | 145 OMSG.rip_nets[0].n_metric = htonl(HOPCNT_INFINITY);
|
Completed in 96 milliseconds