Searched refs:policy_default (Results 1 – 4 of 4) sorted by relevance
69 u8 policy_default[XFRM_POLICY_MAX]; member
2121 up->in = net->xfrm.policy_default[XFRM_POLICY_IN]; in xfrm_notify_userpolicy()2122 up->fwd = net->xfrm.policy_default[XFRM_POLICY_FWD]; in xfrm_notify_userpolicy()2123 up->out = net->xfrm.policy_default[XFRM_POLICY_OUT]; in xfrm_notify_userpolicy()2147 net->xfrm.policy_default[XFRM_POLICY_IN] = up->in; in xfrm_set_default()2150 net->xfrm.policy_default[XFRM_POLICY_FWD] = up->fwd; in xfrm_set_default()2153 net->xfrm.policy_default[XFRM_POLICY_OUT] = up->out; in xfrm_set_default()2183 r_up->in = net->xfrm.policy_default[XFRM_POLICY_IN]; in xfrm_get_default()2184 r_up->fwd = net->xfrm.policy_default[XFRM_POLICY_FWD]; in xfrm_get_default()2185 r_up->out = net->xfrm.policy_default[XFRM_POLICY_OUT]; in xfrm_get_default()
3165 net->xfrm.policy_default[dir] == XFRM_USERPOLICY_BLOCK) { in xfrm_lookup_with_ifid()3576 if (net->xfrm.policy_default[dir] == XFRM_USERPOLICY_BLOCK) { in __xfrm_policy_check()3637 if (net->xfrm.policy_default[dir] == XFRM_USERPOLICY_BLOCK && in __xfrm_policy_check()4127 net->xfrm.policy_default[XFRM_POLICY_IN] = XFRM_USERPOLICY_ACCEPT; in xfrm_net_init()4128 net->xfrm.policy_default[XFRM_POLICY_FWD] = XFRM_USERPOLICY_ACCEPT; in xfrm_net_init()4129 net->xfrm.policy_default[XFRM_POLICY_OUT] = XFRM_USERPOLICY_ACCEPT; in xfrm_net_init()
1103 return net->xfrm.policy_default[dir] == XFRM_USERPOLICY_ACCEPT; in __xfrm_check_nopolicy()1185 net->xfrm.policy_default[XFRM_POLICY_OUT] == XFRM_USERPOLICY_ACCEPT) in xfrm_route_forward()