Searched refs:policy_default (Results 1 – 4 of 4) sorted by relevance
70 u8 policy_default[XFRM_POLICY_MAX]; member
2220 up->in = net->xfrm.policy_default[XFRM_POLICY_IN]; in xfrm_notify_userpolicy()2221 up->fwd = net->xfrm.policy_default[XFRM_POLICY_FWD]; in xfrm_notify_userpolicy()2222 up->out = net->xfrm.policy_default[XFRM_POLICY_OUT]; in xfrm_notify_userpolicy()2246 net->xfrm.policy_default[XFRM_POLICY_IN] = up->in; in xfrm_set_default()2249 net->xfrm.policy_default[XFRM_POLICY_FWD] = up->fwd; in xfrm_set_default()2252 net->xfrm.policy_default[XFRM_POLICY_OUT] = up->out; in xfrm_set_default()2282 r_up->in = net->xfrm.policy_default[XFRM_POLICY_IN]; in xfrm_get_default()2283 r_up->fwd = net->xfrm.policy_default[XFRM_POLICY_FWD]; in xfrm_get_default()2284 r_up->out = net->xfrm.policy_default[XFRM_POLICY_OUT]; in xfrm_get_default()
3273 net->xfrm.policy_default[dir] == XFRM_USERPOLICY_BLOCK) { in xfrm_lookup_with_ifid()3692 if (net->xfrm.policy_default[dir] == XFRM_USERPOLICY_BLOCK) { in __xfrm_policy_check()4240 net->xfrm.policy_default[XFRM_POLICY_IN] = XFRM_USERPOLICY_ACCEPT; in xfrm_net_init()4241 net->xfrm.policy_default[XFRM_POLICY_FWD] = XFRM_USERPOLICY_ACCEPT; in xfrm_net_init()4242 net->xfrm.policy_default[XFRM_POLICY_OUT] = XFRM_USERPOLICY_ACCEPT; in xfrm_net_init()
1153 return net->xfrm.policy_default[dir] == XFRM_USERPOLICY_ACCEPT; in __xfrm_check_nopolicy()1244 net->xfrm.policy_default[XFRM_POLICY_OUT] == XFRM_USERPOLICY_ACCEPT) in xfrm_route_forward()