Searched refs:HOPCNT_INFINITY (Results 1 – 19 of 19) sorted by relevance
| /freebsd-10-stable/usr.sbin/IPXrouted/ |
| 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)) {
|
| D | timer.c | 114 rt->rt_metric = HOPCNT_INFINITY; in timer() 128 if ((rt->rt_metric + 1) == HOPCNT_INFINITY) in timer() 134 htons(min(rt->rt_metric+1, HOPCNT_INFINITY)); in timer() 173 sap->sap.hops = htons(HOPCNT_INFINITY); in timer() 191 if ((ntohs(sap->sap.hops) + 1) == HOPCNT_INFINITY) in timer() 196 htons(min(sap->sap.hops+1, HOPCNT_INFINITY)); in timer() 223 rt->rt_metric = HOPCNT_INFINITY; in hup() 233 sap->sap.hops = htons(HOPCNT_INFINITY); in hup()
|
| 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)) {
|
| D | sap_tables.c | 129 register int besthops = HOPCNT_INFINITY; in sap_nearestserver() 157 if (ntohs(si->hops) == HOPCNT_INFINITY) in sap_add() 199 if (sap->clone && (ntohs(si->hops) != HOPCNT_INFINITY)) { in sap_change() 249 if (ntohs(si->hops) == HOPCNT_INFINITY) in sap_change() 276 if (ntohs(clone->hops) == HOPCNT_INFINITY) in sap_add_clone()
|
| D | output.c | 188 if (rt->rt_metric == HOPCNT_INFINITY) 189 metric = HOPCNT_INFINITY; 195 if (metric >= HOPCNT_INFINITY)
|
| D | sap_output.c | 182 if (ntohs(sap->sap.hops) == (HOPCNT_INFINITY - 1)) 184 metric = min(ntohs(sap->sap.hops) + 1, HOPCNT_INFINITY);
|
| D | protocol.h | 71 #define HOPCNT_INFINITY 16 /* per IPX */ macro
|
| D | main.c | 214 msg->rip_nets[0].rip_metric = htons(HOPCNT_INFINITY);
|
| /freebsd-10-stable/sbin/routed/ |
| D | input.c | 293 && n->n_metric == HOPCNT_INFINITY) { in input() 412 v12buf.n->n_metric = HOPCNT_INFINITY; in input() 425 if (j < HOPCNT_INFINITY) in input() 428 v12buf.n->n_metric = HOPCNT_INFINITY; in input() 630 || n->n_metric > HOPCNT_INFINITY) { in input() 683 if (n->n_metric > HOPCNT_INFINITY) in input() 684 n->n_metric = HOPCNT_INFINITY; in input() 811 if (new->rts_metric == HOPCNT_INFINITY) in input_route() 874 if (rts->rts_metric == HOPCNT_INFINITY in input_route() 875 && new->rts_metric == HOPCNT_INFINITY) in input_route() [all …]
|
| D | table.c | 44 static struct rt_spare rts_empty = {0,0,0,HOPCNT_INFINITY,0,0,0}; 907 k->k_metric = HOPCNT_INFINITY; in rtm_add() 912 k->k_metric = HOPCNT_INFINITY; in rtm_add() 918 else if (k->k_metric > HOPCNT_INFINITY-1) in rtm_add() 919 k->k_metric = HOPCNT_INFINITY-1; in rtm_add() 1339 if (ag->ag_metric == HOPCNT_INFINITY) { in kern_out() 1364 if (k->k_metric == HOPCNT_INFINITY) in kern_out() 1395 if (k->k_metric == HOPCNT_INFINITY in kern_out() 1467 if (metric == HOPCNT_INFINITY) { in walk_kern() 1469 pref = HOPCNT_INFINITY; in walk_kern() [all …]
|
| D | output.c | 410 ? HOPCNT_INFINITY in supply_out() 620 metric = HOPCNT_INFINITY; in walk_supply() 646 if (metric >= HOPCNT_INFINITY) { in walk_supply() 648 && (pref >= HOPCNT_INFINITY in walk_supply() 652 metric = HOPCNT_INFINITY; in walk_supply() 928 buf.rip_nets[0].n_metric = htonl(HOPCNT_INFINITY); in rip_query()
|
| D | parms.c | 228 if (metric >= HOPCNT_INFINITY) { in gwkludge() 591 || intnetp->intnet_metric >= HOPCNT_INFINITY) in parse_parms() 775 || i > HOPCNT_INFINITY-1) in parse_parms() 782 || i > HOPCNT_INFINITY-1) in parse_parms() 789 || i > HOPCNT_INFINITY-1) in parse_parms()
|
| D | defs.h | 144 #define FAKE_METRIC (HOPCNT_INFINITY-2) 249 #define BETTER_LINK(rt,A,B) ((A)->rts_metric < HOPCNT_INFINITY \
|
| D | rdisc.c | 519 new.rts_metric = HOPCNT_INFINITY; in rdisc_sort() 547 new.rts_metric = HOPCNT_INFINITY-1; in rdisc_sort()
|
| D | main.c | 198 && n <= HOPCNT_INFINITY-1 in main()
|
| D | trace.c | 919 && ntohl(n->n_metric) == HOPCNT_INFINITY in trace_rip()
|
| D | if.c | 891 if (ifs.int_metric > HOPCNT_INFINITY) { in ifinit()
|
| /freebsd-10-stable/include/protocols/ |
| D | routed.h | 140 #define HOPCNT_INFINITY 16 macro
|
| /freebsd-10-stable/sbin/routed/rtquery/ |
| D | rtquery.c | 145 OMSG.rip_nets[0].n_metric = htonl(HOPCNT_INFINITY); in main()
|