Home
last modified time | relevance | path

Searched refs:XFRM_MODE_TUNNEL (Results 1 – 25 of 28) sorted by relevance

12

/linux-5.19.10/net/ipv4/
Dipcomp.c128 case XFRM_MODE_TUNNEL: in ipcomp4_init_state()
139 if (x->props.mode == XFRM_MODE_TUNNEL) { in ipcomp4_init_state()
Dxfrm4_tunnel.c27 if (x->props.mode != XFRM_MODE_TUNNEL) in ipip_init_state()
Dah4.c294 if (x->props.mode == XFRM_MODE_TUNNEL) in ah_input_done()
429 if (x->props.mode == XFRM_MODE_TUNNEL) in ah_input()
526 if (x->props.mode == XFRM_MODE_TUNNEL) in ah_init_state()
Desp4_offload.c178 case XFRM_MODE_TUNNEL: in xfrm4_outer_mode_gso_segment()
Desp4.c820 if (x->props.mode == XFRM_MODE_TUNNEL) in esp_input_done2()
1156 if (x->props.mode == XFRM_MODE_TUNNEL) in esp_init_state()
Dip_vti.c153 if (!x || x->props.mode != XFRM_MODE_TUNNEL || in vti_state_check()
/linux-5.19.10/net/ipv6/
Dipcomp6.c147 case XFRM_MODE_TUNNEL: in ipcomp6_init_state()
158 if (x->props.mode == XFRM_MODE_TUNNEL) { in ipcomp6_init_state()
Dxfrm6_output.c75 if (x->props.mode != XFRM_MODE_TUNNEL) in __xfrm6_output()
Dah6.c482 if (x->props.mode == XFRM_MODE_TUNNEL) in ah6_input_done()
630 if (x->props.mode == XFRM_MODE_TUNNEL) in ah6_input()
720 case XFRM_MODE_TUNNEL: in ah6_init_state()
Dxfrm6_tunnel.c275 if (x->props.mode != XFRM_MODE_TUNNEL) in xfrm6_tunnel_init_state()
Desp6_offload.c217 case XFRM_MODE_TUNNEL: in xfrm6_outer_mode_gso_segment()
Desp6.c867 if (x->props.mode == XFRM_MODE_TUNNEL) in esp6_input_done2()
1206 case XFRM_MODE_TUNNEL: in esp6_init_state()
/linux-5.19.10/net/xfrm/
Dxfrm_output.c420 case XFRM_MODE_TUNNEL: in xfrm4_prepare_output()
443 case XFRM_MODE_TUNNEL: in xfrm6_prepare_output()
458 case XFRM_MODE_TUNNEL: in xfrm_outer_mode_output()
664 if (x->outer_mode.encap == XFRM_MODE_TUNNEL) { in xfrm_get_inner_ipproto()
Dxfrm_input.c343 case XFRM_MODE_TUNNEL: in xfrm_inner_mode_encap_remove()
440 case XFRM_MODE_TUNNEL: in xfrm_inner_mode_input()
Dxfrm_state.c442 [XFRM_MODE_TUNNEL] = {
443 .encap = XFRM_MODE_TUNNEL,
463 [XFRM_MODE_TUNNEL] = {
464 .encap = XFRM_MODE_TUNNEL,
1901 case XFRM_MODE_TUNNEL: in __xfrm6_state_sort_cmp()
1927 case XFRM_MODE_TUNNEL: in __xfrm6_tmpl_sort_cmp()
2604 case XFRM_MODE_TUNNEL: in xfrm_state_mtu()
Dxfrm_device.c70 case XFRM_MODE_TUNNEL: in xfrm_outer_mode_prep()
Dxfrm_policy.c2379 if (tmpl->mode == XFRM_MODE_TUNNEL || in xfrm_tmpl_resolve_one()
3160 dst->xfrm->props.mode == XFRM_MODE_TUNNEL) in xfrm_lookup_with_ifid()
4313 case XFRM_MODE_TUNNEL: in migrate_tmpl_match()
4354 if (pol->xfrm_vec[i].mode != XFRM_MODE_TUNNEL && in xfrm_policy_migrate()
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec_rxtx.h109 if (x->props.mode == XFRM_MODE_TUNNEL) in mlx5e_ipsec_feature_check()
Dipsec_rxtx.c95 if (mode == XFRM_MODE_TUNNEL) { in mlx5e_ipsec_set_swp()
Dipsec.c222 x->props.mode != XFRM_MODE_TUNNEL) { in mlx5e_xfrm_validate_state()
/linux-5.19.10/net/netfilter/
Dnft_xfrm.c115 return mode == XFRM_MODE_BEET || mode == XFRM_MODE_TUNNEL; in xfrm_state_addr_ok()
/linux-5.19.10/include/uapi/linux/
Dxfrm.h151 #define XFRM_MODE_TUNNEL 1 macro
/linux-5.19.10/tools/testing/selftests/net/
Dipsec.c966 req.info.mode = XFRM_MODE_TUNNEL; in xfrm_state_add()
1009 if (info->family != AF_INET || info->mode != XFRM_MODE_TUNNEL) in xfrm_usersa_found()
1150 tmpl.mode = XFRM_MODE_TUNNEL; in xfrm_policy_add()
/linux-5.19.10/net/key/
Daf_key.c706 case XFRM_MODE_TUNNEL: in pfkey_mode_from_xfrm()
722 return XFRM_MODE_TUNNEL; in pfkey_mode_to_xfrm()
1972 if (t->mode == XFRM_MODE_TUNNEL) { in parse_ipsecrequest()
2159 if (t->mode == XFRM_MODE_TUNNEL) { in pfkey_xfrm_policy2msg()
2180 if (t->mode == XFRM_MODE_TUNNEL) { in pfkey_xfrm_policy2msg()
/linux-5.19.10/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/
Dchcr_ipsec.c248 x->props.mode != XFRM_MODE_TUNNEL) { in ch_ipsec_xfrm_add_state()

12