Lines Matching defs:rt_state
1023 uint16_t rt_state = RS_STATIC;
1036 rt_state |= RS_NOPROPAGATE;
1039 if ((rt->rt_state & RS_STATIC) == 0) {
1050 rt_state |= rt->rt_state;
1051 if (rt->rt_state != rt_state)
1052 rtchange(rt, rt_state, &new, 0);
1054 rtadd(k->k_dst, k->k_mask, rt_state, &new);
1283 rtchange(rt, rt->rt_state, &new, 0);
1985 if (RT->rt_state & RS_NET_SYN)
1992 if ((RT->rt_state & RS_STATIC) &&
1997 if (RT->rt_state & RS_BADIF)
2000 if (!(RT->rt_state & RS_IF)) {
2202 if (rt != NULL && (rt->rt_state & RS_STATIC))
2304 uint16_t state, /* rt_state for the entry */
2338 rt->rt_state = state;
2388 state |= (rt->rt_state & RS_SUBNET);
2398 rt->rt_state = state;
2403 if ((rt->rt_state & RS_BADIF) &&
2406 rt->rt_state &= ~(RS_BADIF);
2439 if (0 != (rt->rt_state & (RS_MHOME | RS_STATIC |
2454 rtchange(rt, rt->rt_state & ~(RS_NET_SYN), rts, label);
2533 uint16_t rt_state;
2540 rt_state = rt->rt_state & ~(RS_IF | RS_LOCAL | RS_STATIC);
2557 rt_state |= RS_BADIF;
2560 rtchange(rt, rt_state, &new, 0);
2580 if (rt->rt_state & RS_LOCAL) {
2602 if (rt->rt_state & RS_NET_SYN) {
2628 rtchange(rt, ((rt->rt_state & ~(RS_NET_SYN|RS_LOCAL)) | state),
2669 if (!(RT->rt_state & (RS_IF | RS_NET_SYN | RS_LOCAL))) {
2741 if (!AGE_RT(RT->rt_state, rts->rts_origin, ifp)) {
2791 rtchange(RT, RT->rt_state, &new, 0);