Searched refs:XFRM_POLICY_OUT (Results 1 – 6 of 6) sorted by relevance
545 si->outcnt = net->xfrm.policy_count[XFRM_POLICY_OUT]; in xfrm_spd_getinfo()548 si->outscnt = net->xfrm.policy_count[XFRM_POLICY_OUT+XFRM_POLICY_MAX]; in xfrm_spd_getinfo()611 if ((dir & XFRM_POLICY_MASK) == XFRM_POLICY_OUT) { in xfrm_hash_rebuild()1160 XFRM_POLICY_OUT == FLOW_DIR_OUT && in flow_to_policy_dir()1169 return XFRM_POLICY_OUT; in flow_to_policy_dir()1198 XFRM_POLICY_OUT == FLOW_DIR_OUT && in policy_to_flow_dir()1205 case XFRM_POLICY_OUT: in policy_to_flow_dir()1819 XFRM_POLICY_OUT); in xfrm_expand_policies()2196 u8 dir = policy_to_flow_dir(XFRM_POLICY_OUT); in xfrm_lookup()2203 if (sk && sk->sk_policy[XFRM_POLICY_OUT]) { in xfrm_lookup()[all …]
1235 case XFRM_POLICY_OUT: in verify_policy_dir()2707 copy_to_user_policy(xp, &ua->policy, XFRM_POLICY_OUT); in build_acquire()2787 if (p->dir > XFRM_POLICY_OUT) in xfrm_compile_policy()
271 if (dir == XFRM_POLICY_OUT) in ipv6_clear_mutable_options()406 XFRM_POLICY_OUT); in ah6_output()
136 XFRM_POLICY_OUT = 1, enumerator
1127 return !net->xfrm.policy_count[XFRM_POLICY_OUT] || in xfrm_route_forward()
3159 pol->sadb_x_policy_dir = XFRM_POLICY_OUT + 1; in pfkey_send_acquire()