Home
last modified time | relevance | path

Searched refs:XFRM_MODE_TRANSPORT (Results 1 – 15 of 15) sorted by relevance

/Linux-v4.19/net/ipv4/
Dxfrm4_mode_transport.c95 .encap = XFRM_MODE_TRANSPORT,
114 MODULE_ALIAS_XFRM_MODE(AF_INET, XFRM_MODE_TRANSPORT);
Dipcomp.c128 case XFRM_MODE_TRANSPORT: in ipcomp4_init_state()
Desp4.c622 if (x->props.mode == XFRM_MODE_TRANSPORT) in esp_input_done2()
785 case XFRM_MODE_TRANSPORT: in esp4_get_mtu()
/Linux-v4.19/net/ipv6/
Dxfrm6_mode_transport.c102 .encap = XFRM_MODE_TRANSPORT,
121 MODULE_ALIAS_XFRM_MODE(AF_INET6, XFRM_MODE_TRANSPORT);
Dxfrm6_state.c98 case XFRM_MODE_TRANSPORT: in __xfrm6_state_sort_cmp()
134 case XFRM_MODE_TRANSPORT: in __xfrm6_tmpl_sort_cmp()
Dipcomp6.c156 case XFRM_MODE_TRANSPORT: in ipcomp6_init_state()
Dah6.c732 case XFRM_MODE_TRANSPORT: in ah6_init_state()
Desp6.c906 case XFRM_MODE_TRANSPORT: in esp6_init_state()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec.c199 attrs->flags |= (x->props.mode == XFRM_MODE_TRANSPORT) ? in mlx5e_ipsec_build_accel_xfrm_attrs()
234 if (x->props.mode != XFRM_MODE_TRANSPORT && in mlx5e_xfrm_validate_state()
/Linux-v4.19/include/uapi/linux/
Dxfrm.h150 #define XFRM_MODE_TRANSPORT 0 macro
/Linux-v4.19/net/xfrm/
Dxfrm_policy.c1630 if (xfrm[i]->props.mode != XFRM_MODE_TRANSPORT) { in xfrm_bundle_create()
2256 !(x->props.mode != XFRM_MODE_TRANSPORT && in xfrm_state_ok()
2274 if (tmpl->mode == XFRM_MODE_TRANSPORT) in xfrm_policy_ok()
2281 if (sp->xvec[idx]->props.mode != XFRM_MODE_TRANSPORT) { in xfrm_policy_ok()
2310 if (sp->xvec[k]->props.mode != XFRM_MODE_TRANSPORT) { in secpath_has_nontransport()
2686 if (xfrm->props.mode == XFRM_MODE_TRANSPORT) in xfrm_get_dst_nexthop()
3102 case XFRM_MODE_TRANSPORT: in migrate_tmpl_match()
Dxfrm_user.c252 case XFRM_MODE_TRANSPORT: in verify_newsa_info()
1491 if ((ut[i].mode == XFRM_MODE_TRANSPORT) && in validate_tmpl()
/Linux-v4.19/drivers/crypto/chelsio/
Dchcr_ipsec.c222 if (x->props.mode != XFRM_MODE_TRANSPORT && in chcr_xfrm_add_state()
/Linux-v4.19/net/core/
Dpktgen.c2513 if ((x->props.mode != XFRM_MODE_TRANSPORT) && (pkt_dev->spi == 0)) in pktgen_output_ipsec()
3645 pkt_dev->ipsmode = XFRM_MODE_TRANSPORT; in pktgen_add_device()
/Linux-v4.19/net/key/
Daf_key.c722 case XFRM_MODE_TRANSPORT: in pfkey_mode_from_xfrm()
738 return XFRM_MODE_TRANSPORT; in pfkey_mode_to_xfrm()