Searched refs:XFRM_POLICY_OUT (Results 1 – 11 of 11) sorted by relevance
| /Linux-v6.6/net/netfilter/ |
| D | nft_xfrm.c | 75 case XFRM_POLICY_OUT: in nft_xfrm_get_init() 204 case XFRM_POLICY_OUT: in nft_xfrm_get_eval() 244 case XFRM_POLICY_OUT: in nft_xfrm_validate()
|
| /Linux-v6.6/net/ipv6/ |
| D | ah6.c | 257 if (dir == XFRM_POLICY_OUT) in ipv6_clear_mutable_options() 393 XFRM_POLICY_OUT); in ah6_output()
|
| /Linux-v6.6/include/uapi/linux/ |
| D | xfrm.h | 137 XFRM_POLICY_OUT = 1, enumerator
|
| /Linux-v6.6/net/xfrm/ |
| D | xfrm_policy.c | 663 si->outcnt = net->xfrm.policy_count[XFRM_POLICY_OUT]; in xfrm_spd_getinfo() 666 si->outscnt = net->xfrm.policy_count[XFRM_POLICY_OUT+XFRM_POLICY_MAX]; in xfrm_spd_getinfo() 1266 if ((dir & XFRM_POLICY_MASK) == XFRM_POLICY_OUT) { in xfrm_hash_rebuild() 1313 if ((dir & XFRM_POLICY_MASK) == XFRM_POLICY_OUT) { in xfrm_hash_rebuild() 2775 XFRM_POLICY_OUT, in xfrm_expand_policies() 3123 u8 dir = XFRM_POLICY_OUT; in xfrm_lookup_with_ifid() 3131 if (sk && sk->sk_policy[XFRM_POLICY_OUT]) { in xfrm_lookup_with_ifid() 3133 pols[0] = xfrm_sk_policy_lookup(sk, XFRM_POLICY_OUT, fl, family, in xfrm_lookup_with_ifid() 3175 !net->xfrm.policy_count[XFRM_POLICY_OUT])) in xfrm_lookup_with_ifid() 4221 net->xfrm.policy_default[XFRM_POLICY_OUT] = XFRM_USERPOLICY_ACCEPT; in xfrm_net_init()
|
| D | xfrm_user.c | 1650 case XFRM_POLICY_OUT: in verify_policy_dir() 1808 if (ut[i].optional && dir == XFRM_POLICY_OUT) { in validate_tmpl() 2213 up->out = net->xfrm.policy_default[XFRM_POLICY_OUT]; in xfrm_notify_userpolicy() 2243 net->xfrm.policy_default[XFRM_POLICY_OUT] = up->out; in xfrm_set_default() 2275 r_up->out = net->xfrm.policy_default[XFRM_POLICY_OUT]; in xfrm_get_default() 3436 copy_to_user_policy(xp, &ua->policy, XFRM_POLICY_OUT); in build_acquire() 3521 if (p->dir > XFRM_POLICY_OUT) in xfrm_compile_policy()
|
| D | xfrm_device.c | 375 case XFRM_POLICY_OUT: in xfrm_dev_policy_add()
|
| D | xfrm_state.c | 2596 xfrm_sk_policy_insert(sk, XFRM_POLICY_OUT, NULL); in xfrm_user_policy()
|
| /Linux-v6.6/tools/testing/selftests/net/ |
| D | ipsec.c | 1157 XFRM_POLICY_OUT, tunsrc, tundst, proto)) { in xfrm_prepare() 1208 XFRM_POLICY_OUT, tunsrc, tundst)) { in xfrm_cleanup() 1526 XFRM_POLICY_OUT, tunsrc, tundst, desc->proto)) { in xfrm_expire_policy() 1546 req.expire.pol.dir = XFRM_POLICY_OUT; in xfrm_expire_policy()
|
| D | nettest.c | 1471 policy.dir = XFRM_POLICY_OUT; in config_xfrm_policy()
|
| /Linux-v6.6/include/net/ |
| D | xfrm.h | 1150 if (dir != XFRM_POLICY_OUT && family == AF_INET) { in __xfrm_check_dev_nopolicy() 1232 if (!net->xfrm.policy_count[XFRM_POLICY_OUT] && in xfrm_route_forward() 1233 net->xfrm.policy_default[XFRM_POLICY_OUT] == XFRM_USERPOLICY_ACCEPT) in xfrm_route_forward()
|
| /Linux-v6.6/net/key/ |
| D | af_key.c | 3233 pol->sadb_x_policy_dir = XFRM_POLICY_OUT + 1; in pfkey_send_acquire()
|