Home
last modified time | relevance | path

Searched refs:HOPCNT_INFINITY (Results 1 – 17 of 17) sorted by relevance

/titanic_50/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/
H A Dinput.c206 n->rip6_metric == HOPCNT_INFINITY) { in rip_input()
246 HOPCNT_INFINITY : in rip_input()
247 min(rt->rt_metric, HOPCNT_INFINITY)); in rip_input()
388 if (n->rip6_metric > HOPCNT_INFINITY || in rip_input()
432 if (n->rip6_metric < HOPCNT_INFINITY) { in rip_input()
447 if (n->rip6_metric >= HOPCNT_INFINITY && in rip_input()
448 rt->rt_metric == HOPCNT_INFINITY) in rip_input()
470 } else if (n->rip6_metric < HOPCNT_INFINITY) { in rip_input()
H A Doutput.c82 msg->rip6_nets[0].rip6_metric = HOPCNT_INFINITY; in solicit()
177 rtmetric = HOPCNT_INFINITY; in supply()
206 n->rip6_metric = min(rtmetric, HOPCNT_INFINITY); in supply()
H A Dtables.c243 if (metric >= HOPCNT_INFINITY) in rtadd()
335 if (metric >= HOPCNT_INFINITY) { in rtchange()
343 if (oldmetric >= HOPCNT_INFINITY) in rtchange()
407 } else if (dokern || oldmetric >= HOPCNT_INFINITY) { in rtchange()
427 if (rt->rt_metric != HOPCNT_INFINITY) { in rtdown()
440 rt->rt_metric = HOPCNT_INFINITY; in rtdown()
H A Ddefs.h117 #define HOPCNT_INFINITY 16 /* RFC 2080, section 2.1 */ macro
H A Dtimer.c174 rt->rt_metric = HOPCNT_INFINITY; in term()
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dinput.c346 n->n_metric == HOPCNT_INFINITY) { in input()
438 v12buf.n->n_metric = HOPCNT_INFINITY; in input()
461 v12buf.n->n_metric = HOPCNT_INFINITY; in input()
470 if (v12buf.n->n_metric > HOPCNT_INFINITY) in input()
471 v12buf.n->n_metric = HOPCNT_INFINITY; in input()
739 new.rts_metric = HOPCNT_INFINITY-1; in input()
785 if (n->n_metric == 0 || n->n_metric > HOPCNT_INFINITY) { in input()
851 if (n->n_metric > HOPCNT_INFINITY) in input()
852 n->n_metric = HOPCNT_INFINITY; in input()
1003 v12buf.n->n_metric = HOPCNT_INFINITY; in input()
[all …]
H A Dtable.c1158 k->k_metric = HOPCNT_INFINITY; in rtm_add()
1163 k->k_metric = HOPCNT_INFINITY; in rtm_add()
1169 else if (k->k_metric > HOPCNT_INFINITY-1) in rtm_add()
1170 k->k_metric = HOPCNT_INFINITY-1; in rtm_add()
1282 new.rts_metric = HOPCNT_INFINITY - 1; in rtm_lose()
1892 if (ag->ag_metric == HOPCNT_INFINITY) { in kern_out()
1931 if (k->k_metric == HOPCNT_INFINITY) in kern_out()
1962 if (k->k_metric == HOPCNT_INFINITY && (k->k_state & KS_DEL_ADD)) in kern_out()
2055 if (metric == HOPCNT_INFINITY) { in walk_kern()
2057 pref = HOPCNT_INFINITY; in walk_kern()
[all …]
H A Doutput.c458 (IS_BROKE|IS_SICK)))) ? HOPCNT_INFINITY : ag->ag_metric); in supply_out()
678 metric = HOPCNT_INFINITY; in walk_supply()
708 pref = (HOPCNT_INFINITY+1); in walk_supply()
717 if (metric >= HOPCNT_INFINITY) { in walk_supply()
718 if (!(ws.state & WS_ST_QUERY) && (pref >= HOPCNT_INFINITY || in walk_supply()
722 metric = HOPCNT_INFINITY; in walk_supply()
1030 buf.rip_nets[0].n_metric = htonl(HOPCNT_INFINITY); in rip_query()
H A Drdisc.c408 new.rts_metric = HOPCNT_INFINITY-1; in rdisc_age()
427 new.rts_metric = HOPCNT_INFINITY-1; in rdisc_age()
623 tmprts->rts_metric = HOPCNT_INFINITY; in rdisc_sort()
719 new.rts_metric = HOPCNT_INFINITY-1; in rdisc_sort()
844 HOPCNT_INFINITY; in rdisc_sort()
853 new.rts_metric = HOPCNT_INFINITY-1; in rdisc_sort()
H A Ddefs.h130 #define FAKE_METRIC (HOPCNT_INFINITY-2)
213 #define EMPTY_RT_SPARE { NULL, 0, 0, HOPCNT_INFINITY, RO_NONE, 0, 0, 0, 0 }
277 #define BETTER_LINK(rt, A, B) ((A)->rts_metric < HOPCNT_INFINITY && \
H A Dparms.c292 if (metric >= HOPCNT_INFINITY) { in gwkludge()
628 intnetp->intnet_metric >= HOPCNT_INFINITY) { in parse_parms()
854 parm.parm_d_metric > HOPCNT_INFINITY-1) in parse_parms()
H A Dif.c233 dummy_ifp.int_metric = HOPCNT_INFINITY; in dummy_ifp_init()
1286 if (ifs.int_metric > HOPCNT_INFINITY) { in ifscan()
1295 HOPCNT_INFINITY); in ifscan()
1298 ifs.int_metric = HOPCNT_INFINITY; in ifscan()
H A Drtquery.c135 OMSG.rip_nets[0].n_metric = htonl(HOPCNT_INFINITY); in main()
H A Dmain.c177 n <= HOPCNT_INFINITY-1 && n >= 1) in main()
H A Dtrace.c1149 ntohl(n->n_metric) == HOPCNT_INFINITY && in trace_rip()
/titanic_50/usr/src/head/protocols/
H A Drouted.h202 #define HOPCNT_INFINITY 16 /* per Xerox NS */ macro
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_rip.c264 (mval == HOPCNT_INFINITY ? in interpret_rip()