Lines Matching refs:ro
2789 if (!state->ro)
2790 panic("state->ro == NULL in ipsec4_output");
2933 state->ro = &sav->sah->sa_route;
2934 state->dst = (struct sockaddr *)&state->ro->ro_dst;
2936 if (state->ro->ro_rt
2937 && ((state->ro->ro_rt->rt_flags & RTF_UP) == 0
2939 rtfree(state->ro->ro_rt);
2940 state->ro->ro_rt = NULL;
2942 if (state->ro->ro_rt == 0) {
2946 rtalloc(state->ro);
2948 if (state->ro->ro_rt == 0) {
2955 if (state->ro->ro_rt->rt_flags & RTF_GATEWAY) {
2956 state->dst = (struct sockaddr *)state->ro->ro_rt->rt_gateway;
3448 state->ro = &sav->sah->sa_route;
3449 state->dst = (struct sockaddr *)&state->ro->ro_dst;
3451 if (state->ro->ro_rt
3452 && ((state->ro->ro_rt->rt_flags & RTF_UP) == 0
3454 rtfree(state->ro->ro_rt);
3455 state->ro->ro_rt = NULL;
3457 if (state->ro->ro_rt == 0) {
3462 rtalloc(state->ro);
3464 if (state->ro->ro_rt == 0) {
3472 if (state->ro->ro_rt->rt_flags & RTF_GATEWAY) {
3473 state->dst = (struct sockaddr *)state->ro->ro_rt->rt_gateway;