/titanic_44/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/ |
H A D | tables.c | 281 rt->rt_state = RTS_CHANGED; in rtadd() 283 rt->rt_state |= RTS_INTERFACE; in rtadd() 285 rt->rt_state |= RTS_PRIVATE; in rtadd() 298 if (install && (rt->rt_state & RTS_INTERFACE) == 0) { in rtadd() 352 if ((rt->rt_state & RTS_INTERFACE) && metric != 0) { in rtchange() 353 rt->rt_state &= ~RTS_INTERFACE; in rtchange() 372 if (!(rt->rt_state & RTS_INTERFACE)) in rtchange() 376 rt->rt_state |= RTS_CHANGED; in rtchange() 379 if (install && (rt->rt_state & RTS_INTERFACE) == 0) { in rtchange() 429 if (install && (rt->rt_state & RTS_INTERFACE) == 0) { in rtdown() [all …]
|
H A D | timer.c | 114 rt->rt_state &= ~RTS_CHANGED; in timer() 115 if ((rt->rt_state & RTS_INTERFACE) != 0) in timer()
|
H A D | output.c | 166 if (rt->rt_state & RTS_PRIVATE) in supply() 189 (rt->rt_state & rtstate) == 0) in supply()
|
H A D | table.h | 58 uint_t rt_state; /* see below */ member
|
H A D | trace.c | 188 if ((rt->rt_state & p->t_bits) == 0) in traceaction()
|
H A D | startup.c | 377 if (rt->rt_state & RTS_INTERFACE) in addrouteforif()
|
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | output.c | 504 if ((RT->rt_state & RS_IF) && RT->rt_ifp != NULL && in walk_supply() 506 !(RT->rt_state & RS_MHOME)) in walk_supply() 518 if (RT->rt_state & RS_NOPROPAGATE) in walk_supply() 527 !(RT->rt_state & RS_MHOME)) in walk_supply() 538 if (RT->rt_state & RS_NET_SYN) { in walk_supply() 539 if (RT->rt_state & RS_NET_INT) { in walk_supply() 574 if (!(RT->rt_state & RS_IF) && !(RT->rt_state & RS_MHOME) && in walk_supply() 597 if ((ws.state & WS_ST_AG) && ((RT->rt_state & RS_SUBNET) || in walk_supply() 600 } else if (!(RT->rt_state & RS_MHOME)) { in walk_supply() 609 if ((RT->rt_state & RS_LOCAL) || ridhosts || in walk_supply() [all …]
|
H A D | table.c | 1023 uint16_t rt_state = RS_STATIC; in kern_check_static() local 1036 rt_state |= RS_NOPROPAGATE; in kern_check_static() 1039 if ((rt->rt_state & RS_STATIC) == 0) { in kern_check_static() 1050 rt_state |= rt->rt_state; in kern_check_static() 1051 if (rt->rt_state != rt_state) in kern_check_static() 1052 rtchange(rt, rt_state, &new, 0); in kern_check_static() 1054 rtadd(k->k_dst, k->k_mask, rt_state, &new); in kern_check_static() 1283 rtchange(rt, rt->rt_state, &new, 0); in rtm_lose() 1985 if (RT->rt_state & RS_NET_SYN) in walk_kern() 1992 if ((RT->rt_state & RS_STATIC) && in walk_kern() [all …]
|
H A D | trace.c | 891 AGE_RT(rt->rt_state, rts->rts_origin, new->rts_ifp))); in trace_upslot() 901 AGE_RT(rt->rt_state, rts->rts_origin, rt->rt_ifp)); in trace_upslot() 913 AGE_RT(rt->rt_state, new->rts_origin, new->rts_ifp)))); in trace_upslot() 921 AGE_RT(rt->rt_state, new->rts_origin, new->rts_ifp))); in trace_upslot() 990 rt->rt_state == state && in trace_change() 1000 0, 0, 0, 0, AGE_RT(rt->rt_state, rt->rt_spares->rts_origin, in trace_change() 1003 trace_bits(rs_bits, rt->rt_state, rt->rt_state != state); in trace_change() 1015 AGE_RT(rt->rt_state, new->rts_origin, new->rts_ifp))); in trace_change() 1016 if (rt->rt_state != state) { in trace_change() 1034 print_rts(rt->rt_spares, 0, 0, 0, 0, AGE_RT(rt->rt_state, in trace_add_del() [all …]
|
H A D | input.c | 173 uint16_t rt_state = 0; /* Extra route state to pass to input_route() */ in input() local 759 rt_state = RS_NOPROPAGATE; in input() 904 !(rt->rt_state & RS_NET_SYN))) && in input() 948 input_route(dst, mask, &new, n, rt_state); in input() 1063 uint16_t rt_state) in input_route() argument 1100 rtadd(dst, mask, rt_state, new); in input_route() 1166 rtchange(rt, rt->rt_state | rt_state, new, 0); in input_route()
|
H A D | defs.h | 221 uint16_t rt_state; member 257 #define AGE_RT(rt_state, rts_origin, ifp) \ argument 258 ((!((rt_state) & (RS_MHOME | RS_STATIC | RS_NET_SYN)) && \ 261 (!((rt_state) & RS_IF) || \
|
H A D | if.c | 1657 rtchange(rt, rt->rt_state | RS_MHOME, in ifscan() 1722 if (!(rt->rt_state & RS_LOCAL) || in ifscan() 1732 rtchange(rt, ((rt->rt_state & ~RS_NET_SYN) | in ifscan() 1749 !(rt->rt_state & RS_NO_NET_SYN) && in ifscan() 1750 !(rt->rt_state & RS_NET_INT)) { in ifscan() 1782 0 == (rt->rt_state & RS_NO_NET_SYN) && in check_net_syn() 1783 (!(rt->rt_state & RS_NET_SYN) || in check_net_syn() 1804 (rt->rt_state & RS_NET_SYN) && in check_net_syn() 1885 rtchange(rt, ((rt->rt_state | rt_newstate) & in addrouteforif()
|