Searched refs:policy_default (Results 1 – 4 of 4) sorted by relevance
69 u8 policy_default[XFRM_POLICY_MAX]; member
2338 up->in = net->xfrm.policy_default[XFRM_POLICY_IN]; in xfrm_notify_userpolicy()2339 up->fwd = net->xfrm.policy_default[XFRM_POLICY_FWD]; in xfrm_notify_userpolicy()2340 up->out = net->xfrm.policy_default[XFRM_POLICY_OUT]; in xfrm_notify_userpolicy()2364 net->xfrm.policy_default[XFRM_POLICY_IN] = up->in; in xfrm_set_default()2367 net->xfrm.policy_default[XFRM_POLICY_FWD] = up->fwd; in xfrm_set_default()2370 net->xfrm.policy_default[XFRM_POLICY_OUT] = up->out; in xfrm_set_default()2400 r_up->in = net->xfrm.policy_default[XFRM_POLICY_IN]; in xfrm_get_default()2401 r_up->fwd = net->xfrm.policy_default[XFRM_POLICY_FWD]; in xfrm_get_default()2402 r_up->out = net->xfrm.policy_default[XFRM_POLICY_OUT]; in xfrm_get_default()
3287 net->xfrm.policy_default[dir] == XFRM_USERPOLICY_BLOCK) { in xfrm_lookup_with_ifid()3741 if (net->xfrm.policy_default[dir] == XFRM_USERPOLICY_BLOCK) { in __xfrm_policy_check()4287 net->xfrm.policy_default[XFRM_POLICY_IN] = XFRM_USERPOLICY_ACCEPT; in xfrm_net_init()4288 net->xfrm.policy_default[XFRM_POLICY_FWD] = XFRM_USERPOLICY_ACCEPT; in xfrm_net_init()4289 net->xfrm.policy_default[XFRM_POLICY_OUT] = XFRM_USERPOLICY_ACCEPT; in xfrm_net_init()
1189 return net->xfrm.policy_default[dir] == XFRM_USERPOLICY_ACCEPT; in __xfrm_check_nopolicy()1280 net->xfrm.policy_default[XFRM_POLICY_OUT] == XFRM_USERPOLICY_ACCEPT) in xfrm_route_forward()