Searched refs:XFRM_MODE_TUNNEL (Results 1 – 25 of 28) sorted by relevance
12
128 case XFRM_MODE_TUNNEL: in ipcomp4_init_state()139 if (x->props.mode == XFRM_MODE_TUNNEL) { in ipcomp4_init_state()
27 if (x->props.mode != XFRM_MODE_TUNNEL) in ipip_init_state()
294 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()
178 case XFRM_MODE_TUNNEL: in xfrm4_outer_mode_gso_segment()
820 if (x->props.mode == XFRM_MODE_TUNNEL) in esp_input_done2()1156 if (x->props.mode == XFRM_MODE_TUNNEL) in esp_init_state()
153 if (!x || x->props.mode != XFRM_MODE_TUNNEL || in vti_state_check()
147 case XFRM_MODE_TUNNEL: in ipcomp6_init_state()158 if (x->props.mode == XFRM_MODE_TUNNEL) { in ipcomp6_init_state()
75 if (x->props.mode != XFRM_MODE_TUNNEL) in __xfrm6_output()
482 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()
275 if (x->props.mode != XFRM_MODE_TUNNEL) in xfrm6_tunnel_init_state()
217 case XFRM_MODE_TUNNEL: in xfrm6_outer_mode_gso_segment()
867 if (x->props.mode == XFRM_MODE_TUNNEL) in esp6_input_done2()1206 case XFRM_MODE_TUNNEL: in esp6_init_state()
420 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()
343 case XFRM_MODE_TUNNEL: in xfrm_inner_mode_encap_remove()440 case XFRM_MODE_TUNNEL: in xfrm_inner_mode_input()
442 [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()
70 case XFRM_MODE_TUNNEL: in xfrm_outer_mode_prep()
2379 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()
109 if (x->props.mode == XFRM_MODE_TUNNEL) in mlx5e_ipsec_feature_check()
95 if (mode == XFRM_MODE_TUNNEL) { in mlx5e_ipsec_set_swp()
222 x->props.mode != XFRM_MODE_TUNNEL) { in mlx5e_xfrm_validate_state()
115 return mode == XFRM_MODE_BEET || mode == XFRM_MODE_TUNNEL; in xfrm_state_addr_ok()
151 #define XFRM_MODE_TUNNEL 1 macro
966 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()
706 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()
248 x->props.mode != XFRM_MODE_TUNNEL) { in ch_ipsec_xfrm_add_state()