Searched refs:XFRM_POLICY_OUT (Results 1 – 10 of 10) sorted by relevance
| /Linux-v6.1/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.1/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.1/net/xfrm/ |
| D | xfrm_policy.c | 662 si->outcnt = net->xfrm.policy_count[XFRM_POLICY_OUT]; in xfrm_spd_getinfo() 665 si->outscnt = net->xfrm.policy_count[XFRM_POLICY_OUT+XFRM_POLICY_MAX]; in xfrm_spd_getinfo() 1262 if ((dir & XFRM_POLICY_MASK) == XFRM_POLICY_OUT) { in xfrm_hash_rebuild() 1309 if ((dir & XFRM_POLICY_MASK) == XFRM_POLICY_OUT) { in xfrm_hash_rebuild() 2693 XFRM_POLICY_OUT, in xfrm_expand_policies() 3041 u8 dir = XFRM_POLICY_OUT; in xfrm_lookup_with_ifid() 3049 if (sk && sk->sk_policy[XFRM_POLICY_OUT]) { in xfrm_lookup_with_ifid() 3051 pols[0] = xfrm_sk_policy_lookup(sk, XFRM_POLICY_OUT, fl, family, in xfrm_lookup_with_ifid() 3093 !net->xfrm.policy_count[XFRM_POLICY_OUT])) in xfrm_lookup_with_ifid() 4129 net->xfrm.policy_default[XFRM_POLICY_OUT] = XFRM_USERPOLICY_ACCEPT; in xfrm_net_init()
|
| D | xfrm_user.c | 1577 case XFRM_POLICY_OUT: in verify_policy_dir() 2123 up->out = net->xfrm.policy_default[XFRM_POLICY_OUT]; in xfrm_notify_userpolicy() 2153 net->xfrm.policy_default[XFRM_POLICY_OUT] = up->out; in xfrm_set_default() 2185 r_up->out = net->xfrm.policy_default[XFRM_POLICY_OUT]; in xfrm_get_default() 3329 copy_to_user_policy(xp, &ua->policy, XFRM_POLICY_OUT); in build_acquire() 3412 if (p->dir > XFRM_POLICY_OUT) in xfrm_compile_policy()
|
| D | xfrm_state.c | 2433 xfrm_sk_policy_insert(sk, XFRM_POLICY_OUT, NULL); in xfrm_user_policy()
|
| /Linux-v6.1/include/uapi/linux/ |
| D | xfrm.h | 137 XFRM_POLICY_OUT = 1, enumerator
|
| /Linux-v6.1/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 | 1415 policy.dir = XFRM_POLICY_OUT; in config_xfrm_policy()
|
| /Linux-v6.1/include/net/ |
| D | xfrm.h | 1111 if (dir != XFRM_POLICY_OUT && family == AF_INET) { in __xfrm_check_dev_nopolicy() 1184 if (!net->xfrm.policy_count[XFRM_POLICY_OUT] && in xfrm_route_forward() 1185 net->xfrm.policy_default[XFRM_POLICY_OUT] == XFRM_USERPOLICY_ACCEPT) in xfrm_route_forward()
|
| /Linux-v6.1/net/key/ |
| D | af_key.c | 3230 pol->sadb_x_policy_dir = XFRM_POLICY_OUT + 1; in pfkey_send_acquire()
|