Home
last modified time | relevance | path

Searched refs:XFRM_POLICY_OUT (Results 1 – 11 of 11) sorted by relevance

/linux/net/netfilter/
H A Dnft_xfrm.c75 case XFRM_POLICY_OUT: in nft_xfrm_get_init()
205 case XFRM_POLICY_OUT: in nft_xfrm_get_eval()
249 case XFRM_POLICY_OUT: in nft_xfrm_validate()
/linux/net/ipv6/
H A Dah6.c282 if (dir == XFRM_POLICY_OUT) in ipv6_clear_mutable_options()
408 XFRM_POLICY_OUT); in ah6_output()
/linux/net/xfrm/
H A Dxfrm_policy.c715 si->outcnt = net->xfrm.policy_count[XFRM_POLICY_OUT]; in xfrm_spd_getinfo()
718 si->outscnt = net->xfrm.policy_count[XFRM_POLICY_OUT+XFRM_POLICY_MAX]; in xfrm_spd_getinfo()
1320 if ((dir & XFRM_POLICY_MASK) == XFRM_POLICY_OUT) { in xfrm_hash_rebuild()
1351 if ((dir & XFRM_POLICY_MASK) == XFRM_POLICY_OUT) { in xfrm_hash_rebuild()
2324 case XFRM_POLICY_OUT: in __xfrm_policy_link()
2834 XFRM_POLICY_OUT, in xfrm_expand_policies()
3182 u8 dir = XFRM_POLICY_OUT; in xfrm_lookup_with_ifid()
3190 if (sk && sk->sk_policy[XFRM_POLICY_OUT]) { in xfrm_lookup_with_ifid()
3192 pols[0] = xfrm_sk_policy_lookup(sk, XFRM_POLICY_OUT, fl, family, in xfrm_lookup_with_ifid()
3234 !net->xfrm.policy_count[XFRM_POLICY_OUT])) in xfrm_lookup_with_ifid()
[all …]
H A Dxfrm_device.c384 case XFRM_POLICY_OUT: in xfrm_dev_policy_add()
H A Dxfrm_user.c1922 case XFRM_POLICY_OUT: in verify_policy_dir()
2080 if (ut[i].optional && dir == XFRM_POLICY_OUT) { in validate_tmpl()
2490 up->out = net->xfrm.policy_default[XFRM_POLICY_OUT]; in xfrm_notify_userpolicy()
2520 net->xfrm.policy_default[XFRM_POLICY_OUT] = up->out; in xfrm_set_default()
2552 r_up->out = net->xfrm.policy_default[XFRM_POLICY_OUT]; in xfrm_get_default()
3825 copy_to_user_policy(xp, &ua->policy, XFRM_POLICY_OUT); in build_acquire()
3912 if (p->dir > XFRM_POLICY_OUT) in xfrm_compile_policy()
H A Dxfrm_state.c2967 xfrm_sk_policy_insert(sk, XFRM_POLICY_OUT, NULL); in xfrm_user_policy()
/linux/include/uapi/linux/
H A Dxfrm.h138 XFRM_POLICY_OUT = 1, enumerator
/linux/tools/testing/selftests/net/
H A Dipsec.c1165 XFRM_POLICY_OUT, tunsrc, tundst, proto)) { in xfrm_prepare()
1216 XFRM_POLICY_OUT, tunsrc, tundst)) { in xfrm_cleanup()
1534 XFRM_POLICY_OUT, tunsrc, tundst, desc->proto)) { in xfrm_expire_policy()
1554 req.expire.pol.dir = XFRM_POLICY_OUT; in xfrm_expire_policy()
H A Dnettest.c1471 policy.dir = XFRM_POLICY_OUT; in config_xfrm_policy()
/linux/include/net/
H A Dxfrm.h1261 if (dir != XFRM_POLICY_OUT && family == AF_INET) { in __xfrm_check_dev_nopolicy()
1353 if (!net->xfrm.policy_count[XFRM_POLICY_OUT] && in xfrm_route_forward()
1354 net->xfrm.policy_default[XFRM_POLICY_OUT] == XFRM_USERPOLICY_ACCEPT) in xfrm_route_forward()
/linux/net/key/
H A Daf_key.c3250 pol->sadb_x_policy_dir = XFRM_POLICY_OUT + 1; in pfkey_send_acquire()