Symbol: XFRM_POLICY_OUT
include/net/xfrm.h
1281
if (dir != XFRM_POLICY_OUT && family == AF_INET) {
include/net/xfrm.h
1373
if (!READ_ONCE(net->xfrm.policy_count[XFRM_POLICY_OUT]) &&
include/net/xfrm.h
1374
READ_ONCE(net->xfrm.policy_default[XFRM_POLICY_OUT]) == XFRM_USERPOLICY_ACCEPT)
net/ipv6/ah6.c
282
if (dir == XFRM_POLICY_OUT)
net/ipv6/ah6.c
413
XFRM_POLICY_OUT);
net/key/af_key.c
3251
pol->sadb_x_policy_dir = XFRM_POLICY_OUT + 1;
net/netfilter/nft_xfrm.c
20
[NFTA_XFRM_DIR] = NLA_POLICY_MAX(NLA_U8, XFRM_POLICY_OUT),
net/netfilter/nft_xfrm.c
205
case XFRM_POLICY_OUT:
net/netfilter/nft_xfrm.c
249
case XFRM_POLICY_OUT:
net/netfilter/nft_xfrm.c
75
case XFRM_POLICY_OUT:
net/xfrm/xfrm_device.c
393
case XFRM_POLICY_OUT:
net/xfrm/xfrm_policy.c
1314
if ((dir & XFRM_POLICY_MASK) == XFRM_POLICY_OUT) {
net/xfrm/xfrm_policy.c
1345
if ((dir & XFRM_POLICY_MASK) == XFRM_POLICY_OUT) {
net/xfrm/xfrm_policy.c
2318
case XFRM_POLICY_OUT:
net/xfrm/xfrm_policy.c
2828
XFRM_POLICY_OUT,
net/xfrm/xfrm_policy.c
3176
u8 dir = XFRM_POLICY_OUT;
net/xfrm/xfrm_policy.c
3184
if (sk && sk->sk_policy[XFRM_POLICY_OUT]) {
net/xfrm/xfrm_policy.c
3186
pols[0] = xfrm_sk_policy_lookup(sk, XFRM_POLICY_OUT, fl, family,
net/xfrm/xfrm_policy.c
3228
!READ_ONCE(net->xfrm.policy_count[XFRM_POLICY_OUT])))
net/xfrm/xfrm_policy.c
4321
net->xfrm.policy_default[XFRM_POLICY_OUT] = XFRM_USERPOLICY_ACCEPT;
net/xfrm/xfrm_policy.c
718
si->outcnt = READ_ONCE(net->xfrm.policy_count[XFRM_POLICY_OUT]);
net/xfrm/xfrm_policy.c
721
si->outscnt = READ_ONCE(net->xfrm.policy_count[XFRM_POLICY_OUT+XFRM_POLICY_MAX]);
net/xfrm/xfrm_state.c
3016
xfrm_sk_policy_insert(sk, XFRM_POLICY_OUT, NULL);
net/xfrm/xfrm_user.c
1969
case XFRM_POLICY_OUT:
net/xfrm/xfrm_user.c
2128
if (ut[i].optional && dir == XFRM_POLICY_OUT) {
net/xfrm/xfrm_user.c
2535
up->out = READ_ONCE(net->xfrm.policy_default[XFRM_POLICY_OUT]);
net/xfrm/xfrm_user.c
2565
WRITE_ONCE(net->xfrm.policy_default[XFRM_POLICY_OUT], up->out);
net/xfrm/xfrm_user.c
2597
r_up->out = READ_ONCE(net->xfrm.policy_default[XFRM_POLICY_OUT]);
net/xfrm/xfrm_user.c
4207
copy_to_user_policy(xp, &ua->policy, XFRM_POLICY_OUT);
net/xfrm/xfrm_user.c
4294
if (p->dir > XFRM_POLICY_OUT)
tools/testing/selftests/net/ipsec.c
1162
XFRM_POLICY_OUT, tunsrc, tundst, proto)) {
tools/testing/selftests/net/ipsec.c
1213
XFRM_POLICY_OUT, tunsrc, tundst)) {
tools/testing/selftests/net/ipsec.c
1531
XFRM_POLICY_OUT, tunsrc, tundst, desc->proto)) {
tools/testing/selftests/net/ipsec.c
1551
req.expire.pol.dir = XFRM_POLICY_OUT;
tools/testing/selftests/net/nettest.c
1471
policy.dir = XFRM_POLICY_OUT;