| /f-stack/dpdk/examples/ipsec-secgw/test/ |
| H A D | tun_aesgcm_defs.sh | 17 proto esp mode tunnel reqid 1 23 proto esp mode tunnel reqid 2 27 proto esp spi 7 reqid 1 mode tunnel replay-window 64 ${XFRM_ESN} \ 33 proto esp spi 7 reqid 2 mode tunnel replay-window 64 ${XFRM_ESN} \ 50 proto esp mode tunnel reqid 1 56 proto esp mode tunnel reqid 2 60 proto esp spi 6 reqid 1 mode tunnel replay-window 64 ${XFRM_ESN} \ 85 proto esp mode tunnel reqid 1 91 proto esp mode tunnel reqid 2 120 proto esp mode tunnel reqid 3 [all …]
|
| H A D | tun_aesctr_sha1_defs.sh | 17 proto esp mode tunnel reqid 1 23 proto esp mode tunnel reqid 2 27 proto esp spi 7 reqid 1 mode tunnel replay-window 64 ${XFRM_ESN} \ 33 proto esp spi 7 reqid 2 mode tunnel replay-window 64 ${XFRM_ESN} \ 50 proto esp mode tunnel reqid 1 56 proto esp mode tunnel reqid 2 60 proto esp spi 6 reqid 1 mode tunnel replay-window 64 ${XFRM_ESN} \ 85 proto esp mode tunnel reqid 1 91 proto esp mode tunnel reqid 2 120 proto esp mode tunnel reqid 3 [all …]
|
| H A D | tun_aescbc_sha1_defs.sh | 17 proto esp mode tunnel reqid 1 23 proto esp mode tunnel reqid 2 27 proto esp spi 7 reqid 1 mode tunnel replay-window 64 ${XFRM_ESN} \ 33 proto esp spi 7 reqid 2 mode tunnel replay-window 64 ${XFRM_ESN} \ 50 proto esp mode tunnel reqid 1 56 proto esp mode tunnel reqid 2 60 proto esp spi 6 reqid 1 mode tunnel replay-window 64 ${XFRM_ESN} \ 85 proto esp mode tunnel reqid 1 91 proto esp mode tunnel reqid 2 120 proto esp mode tunnel reqid 3 [all …]
|
| H A D | tun_3descbc_sha1_defs.sh | 17 proto esp mode tunnel reqid 1 23 proto esp mode tunnel reqid 2 27 proto esp spi 7 reqid 1 mode tunnel replay-window 64 ${XFRM_ESN} \ 33 proto esp spi 7 reqid 2 mode tunnel replay-window 64 ${XFRM_ESN} \ 50 proto esp mode tunnel reqid 1 56 proto esp mode tunnel reqid 2 60 proto esp spi 6 reqid 1 mode tunnel replay-window 64 ${XFRM_ESN} \ 85 proto esp mode tunnel reqid 1 91 proto esp mode tunnel reqid 2 120 proto esp mode tunnel reqid 3 [all …]
|
| H A D | tun_aesgcm_common_defs.sh | 33 mode ipv4-tunnel src ${REMOTE_IPV4} dst ${LOCAL_IPV4} ${SGW_CFG_XPRM_IN} 37 mode ipv6-tunnel src ${REMOTE_IPV6} dst ${LOCAL_IPV6} ${SGW_CFG_XPRM_IN} 42 mode ipv4-tunnel src ${LOCAL_IPV4} dst ${REMOTE_IPV4} ${SGW_CFG_XPRM_OUT} 46 mode ipv6-tunnel src ${LOCAL_IPV6} dst ${REMOTE_IPV6} ${SGW_CFG_XPRM_OUT} 89 mode ipv4-tunnel src ${REMOTE_IPV4} dst ${LOCAL_IPV4} ${SGW_CFG_XPRM_IN} 93 mode ipv6-tunnel src ${REMOTE_IPV6} dst ${LOCAL_IPV6} ${SGW_CFG_XPRM_IN} 98 mode ipv4-tunnel src ${LOCAL_IPV4} dst ${REMOTE_IPV4} ${SGW_CFG_XPRM_OUT} 102 mode ipv6-tunnel src ${LOCAL_IPV6} dst ${REMOTE_IPV6} ${SGW_CFG_XPRM_OUT}
|
| H A D | tun_aescbc_sha1_common_defs.sh | 35 mode ipv4-tunnel src ${REMOTE_IPV4} dst ${LOCAL_IPV4} ${SGW_CFG_XPRM_IN} 41 mode ipv6-tunnel src ${REMOTE_IPV6} dst ${LOCAL_IPV6} ${SGW_CFG_XPRM_IN} 48 mode ipv4-tunnel src ${LOCAL_IPV4} dst ${REMOTE_IPV4} ${SGW_CFG_XPRM_OUT} 54 mode ipv6-tunnel src ${LOCAL_IPV6} dst ${REMOTE_IPV6} ${SGW_CFG_XPRM_OUT} 99 mode ipv4-tunnel src ${REMOTE_IPV4} dst ${LOCAL_IPV4} 105 mode ipv6-tunnel src ${REMOTE_IPV6} dst ${LOCAL_IPV6} 112 mode ipv4-tunnel src ${LOCAL_IPV4} dst ${REMOTE_IPV4} 118 mode ipv6-tunnel src ${LOCAL_IPV6} dst ${REMOTE_IPV6}
|
| H A D | tun_3descbc_sha1_common_defs.sh | 36 mode ipv4-tunnel src ${REMOTE_IPV4} dst ${LOCAL_IPV4} ${SGW_CFG_XPRM_IN} 43 mode ipv6-tunnel src ${REMOTE_IPV6} dst ${LOCAL_IPV6} ${SGW_CFG_XPRM_IN} 51 mode ipv4-tunnel src ${LOCAL_IPV4} dst ${REMOTE_IPV4} ${SGW_CFG_XPRM_OUT} 58 mode ipv6-tunnel src ${LOCAL_IPV6} dst ${REMOTE_IPV6} ${SGW_CFG_XPRM_OUT} 104 mode ipv4-tunnel src ${REMOTE_IPV4} dst ${LOCAL_IPV4} 111 mode ipv6-tunnel src ${REMOTE_IPV6} dst ${LOCAL_IPV6} 119 mode ipv4-tunnel src ${LOCAL_IPV4} dst ${REMOTE_IPV4} 126 mode ipv6-tunnel src ${LOCAL_IPV6} dst ${REMOTE_IPV6}
|
| H A D | tun_aesctr_sha1_common_defs.sh | 35 mode ipv4-tunnel src ${REMOTE_IPV4} dst ${LOCAL_IPV4} ${SGW_CFG_XPRM_IN} 41 mode ipv6-tunnel src ${REMOTE_IPV6} dst ${LOCAL_IPV6} ${SGW_CFG_XPRM_IN} 48 mode ipv4-tunnel src ${LOCAL_IPV4} dst ${REMOTE_IPV4} ${SGW_CFG_XPRM_OUT} 54 mode ipv6-tunnel src ${LOCAL_IPV6} dst ${REMOTE_IPV6} ${SGW_CFG_XPRM_OUT} 99 mode ipv4-tunnel src ${REMOTE_IPV4} dst ${LOCAL_IPV4} 105 mode ipv6-tunnel src ${REMOTE_IPV6} dst ${LOCAL_IPV6} 112 mode ipv4-tunnel src ${LOCAL_IPV4} dst ${REMOTE_IPV4} 118 mode ipv6-tunnel src ${LOCAL_IPV6} dst ${REMOTE_IPV6}
|
| /f-stack/dpdk/drivers/net/mlx5/ |
| H A D | mlx5_flow.c | 7307 dev_flow->tunnel = tunnel; in flow_tunnel_add_default_miss() 7397 .tunnel_id = tunnel ? tunnel->tunnel_id : 0, in tunnel_flow_group_to_flow_table() 7403 group_hash = tunnel ? tunnel->groups : thub->groups; in tunnel_flow_group_to_flow_table() 7484 ctx->tunnel = tunnel; in find_tunnel_id_hit() 7530 tunnel->action.type = (typeof(tunnel->action.type)) in mlx5_flow_tunnel_allocate() 7532 tunnel->action.conf = tunnel; in mlx5_flow_tunnel_allocate() 7533 tunnel->item.type = (typeof(tunnel->item.type)) in mlx5_flow_tunnel_allocate() 7535 tunnel->item.spec = tunnel; in mlx5_flow_tunnel_allocate() 7568 ctx->tunnel = tunnel; in get_tunnel_hit() 7597 *tunnel = ctx.tunnel; in mlx5_get_flow_tunnel() [all …]
|
| H A D | mlx5_flow_verbs.c | 582 if (!tunnel) in flow_verbs_translate_item_vlan() 958 struct ibv_flow_spec_tunnel tunnel = { in flow_verbs_translate_item_gre() local 966 struct ibv_flow_spec_gre tunnel = { in flow_verbs_translate_item_gre() local 975 tunnel.val.protocol = spec->protocol; in flow_verbs_translate_item_gre() 979 tunnel.val.c_ks_res0_ver &= tunnel.mask.c_ks_res0_ver; in flow_verbs_translate_item_gre() 980 tunnel.val.protocol &= tunnel.mask.protocol; in flow_verbs_translate_item_gre() 981 tunnel.val.key &= tunnel.mask.key; in flow_verbs_translate_item_gre() 1784 (rss_desc, tunnel, in flow_verbs_translate() 1796 (rss_desc, tunnel, in flow_verbs_translate() 1808 (rss_desc, tunnel, ETH_RSS_TCP, in flow_verbs_translate() [all …]
|
| H A D | mlx5_flow_dv.c | 267 int *tunnel) in mlx5_flow_tunnel_ip_check() argument 273 *tunnel = 1; in mlx5_flow_tunnel_ip_check() 277 *tunnel = 1; in mlx5_flow_tunnel_ip_check() 5356 if (!tunnel) in flow_dv_validate() 7990 tbl_data->tunnel = tt_prm->tunnel; in flow_dv_tbl_create_cb() 8073 .tunnel = tunnel, in flow_dv_tbl_resource_get() 8093 table_id, tunnel ? tunnel->tunnel_id : 0, group_id); in flow_dv_tbl_resource_get() 9678 dev_flow->tunnel ? dev_flow->tunnel : NULL; in flow_dv_translate() 11384 int tunnel; in __flow_dv_action_rss_setup() local 11386 for (tunnel = 0; tunnel < 2; tunnel++) { in __flow_dv_action_rss_setup() [all …]
|
| H A D | mlx5_flow.h | 516 const struct mlx5_flow_tunnel *tunnel; member 533 const struct mlx5_flow_tunnel *tunnel; member 777 const struct mlx5_flow_tunnel *tunnel; member 1036 uint32_t tunnel:1; member 1239 const struct mlx5_flow_tunnel *tunnel, in tunnel_use_standard_attr_group_translate() argument 1249 else if (tunnel) { in tunnel_use_standard_attr_group_translate() 1271 const struct mlx5_flow_tunnel *tunnel, 1276 int tunnel, uint64_t layer_types, 1423 bool external, const struct mlx5_flow_tunnel *tunnel,
|
| H A D | mlx5_rxtx_vec_neon.h | 304 if (rxq->tunnel) { in rxq_cq_decompress_v() 456 !!(pt_idx0 & (1 << 6)) * rxq->tunnel; in rxq_cq_to_ptype_oflags_v() 458 !!(pt_idx1 & (1 << 6)) * rxq->tunnel; in rxq_cq_to_ptype_oflags_v() 460 !!(pt_idx2 & (1 << 6)) * rxq->tunnel; in rxq_cq_to_ptype_oflags_v() 462 !!(pt_idx3 & (1 << 6)) * rxq->tunnel; in rxq_cq_to_ptype_oflags_v()
|
| /f-stack/dpdk/drivers/crypto/octeontx2/ |
| H A D | otx2_cryptodev_sec.c | 28 if (ipsec->tunnel.type == RTE_SECURITY_IPSEC_TUNNEL_IPV4) in ipsec_lp_len_precalc() 231 lp->tunnel_type = ipsec->tunnel.type; in crypto_sec_ipsec_outb_session_create() 256 ip->time_to_live = ipsec->tunnel.ipv4.ttl; in crypto_sec_ipsec_outb_session_create() 258 if (ipsec->tunnel.ipv4.df) in crypto_sec_ipsec_outb_session_create() 260 memcpy(&ip->src_addr, &ipsec->tunnel.ipv4.src_ip, in crypto_sec_ipsec_outb_session_create() 262 memcpy(&ip->dst_addr, &ipsec->tunnel.ipv4.dst_ip, in crypto_sec_ipsec_outb_session_create() 264 } else if (ipsec->tunnel.type == in crypto_sec_ipsec_outb_session_create() 268 ((ipsec->tunnel.ipv6.dscp << in crypto_sec_ipsec_outb_session_create() 271 ((ipsec->tunnel.ipv6.flabel << in crypto_sec_ipsec_outb_session_create() 274 ip6->hop_limits = ipsec->tunnel.ipv6.hlimit; in crypto_sec_ipsec_outb_session_create() [all …]
|
| H A D | otx2_ipsec_fp.h | 278 if (ipsec->tunnel.type == RTE_SECURITY_IPSEC_TUNNEL_IPV4) in ipsec_fp_sa_ctl_set() 280 else if (ipsec->tunnel.type == RTE_SECURITY_IPSEC_TUNNEL_IPV6) in ipsec_fp_sa_ctl_set()
|
| H A D | otx2_ipsec_po.h | 314 if (ipsec->tunnel.type == RTE_SECURITY_IPSEC_TUNNEL_IPV4) in ipsec_po_sa_ctl_set() 316 else if (ipsec->tunnel.type == RTE_SECURITY_IPSEC_TUNNEL_IPV6) in ipsec_po_sa_ctl_set()
|
| /f-stack/dpdk/examples/ipsec-secgw/ |
| H A D | ep0.cfg | 5 # back-to-back that would forward traffic through an IPsec tunnel. This 71 mode ipv4-tunnel src 172.16.1.5 dst 172.16.2.5 75 a0:a0:a0:a0:a0:a0:a0:a0:a0 mode ipv4-tunnel src 172.16.1.6 dst 172.16.2.6 85 sa out 15 cipher_algo null auth_algo null mode ipv4-tunnel src 172.16.1.5 \ 93 c3:c3:c3:c3:c3:c3:c3:c3:c3 mode ipv6-tunnel \ 99 4d:4d:4d:4d:4d:4d:4d:4d:4d mode ipv6-tunnel \ 105 mode ipv4-tunnel src 172.16.2.5 dst 172.16.1.5 109 a0:a0:a0:a0:a0:a0:a0:a0:a0 mode ipv4-tunnel src 172.16.2.6 dst 172.16.1.6 129 c3:c3:c3:c3:c3:c3:c3:c3:c3 mode ipv6-tunnel \ 135 4d:4d:4d:4d:4d:4d:4d:4d:4d mode ipv6-tunnel \ [all …]
|
| H A D | ep1.cfg | 5 # back-to-back that would forward traffic through an IPsec tunnel. This 68 mode ipv4-tunnel src 172.16.1.5 dst 172.16.2.5 72 a0:a0:a0:a0:a0:a0:a0:a0:a0 mode ipv4-tunnel src 172.16.1.6 dst 172.16.2.6 82 sa in 15 cipher_algo null auth_algo null mode ipv4-tunnel src 172.16.1.5 \ 85 sa in 16 cipher_algo null auth_algo null mode ipv4-tunnel src 172.16.1.6 \ 90 c3:c3:c3:c3:c3:c3:c3:c3:c3 mode ipv6-tunnel \ 96 4d:4d:4d:4d:4d:4d:4d:4d:4d mode ipv6-tunnel \ 102 mode ipv4-tunnel src 172.16.2.5 dst 172.16.1.5 106 a0:a0:a0:a0:a0:a0:a0:a0:a0 mode ipv4-tunnel src 172.16.2.6 dst 172.16.1.6 123 c3:c3:c3:c3:c3:c3:c3:c3:c3 mode ipv6-tunnel \ [all …]
|
| H A D | ipsec.c | 26 &ipsec->tunnel; in set_ipsec_conf() 28 tunnel->type = in set_ipsec_conf() 30 tunnel->ipv4.ttl = IPDEFTTL; in set_ipsec_conf() 32 memcpy((uint8_t *)&tunnel->ipv4.src_ip, in set_ipsec_conf() 35 memcpy((uint8_t *)&tunnel->ipv4.dst_ip, in set_ipsec_conf() 38 tunnel->type = in set_ipsec_conf() 40 tunnel->ipv6.hlimit = IPDEFTTL; in set_ipsec_conf() 41 tunnel->ipv6.dscp = 0; in set_ipsec_conf() 42 tunnel->ipv6.flabel = 0; in set_ipsec_conf() 44 memcpy((uint8_t *)&tunnel->ipv6.src_addr, in set_ipsec_conf() [all …]
|
| /f-stack/freebsd/contrib/device-tree/Bindings/i2c/ |
| H A D | i2c-cros-ec-tunnel.txt | 6 to tunnel our i2c commands through the EC. 13 - compatible: google,cros-ec-i2c-tunnel 26 i2c-tunnel { 27 compatible = "google,cros-ec-i2c-tunnel";
|
| /f-stack/dpdk/lib/librte_ethdev/ |
| H A D | rte_flow_driver.h | 137 struct rte_flow_tunnel *tunnel, 144 struct rte_flow_tunnel *tunnel,
|
| /f-stack/dpdk/drivers/net/octeontx2/ |
| H A D | otx2_flow_parse.c | 30 if (!pst->tunnel) in otx2_flow_parse_lh() 81 if (!pst->tunnel) in otx2_flow_parse_lg() 123 if (!pst->tunnel) in otx2_flow_parse_lf() 218 if (pst->tunnel) in otx2_flow_parse_le() 281 pst->tunnel = 1; in otx2_flow_parse_le() 378 pst->tunnel = 1; in otx2_flow_parse_mpls() 402 if (pst->tunnel) { in otx2_flow_parse_ld() 466 pst->tunnel = 1; in otx2_flow_parse_ld() 489 pst->tunnel = 1; in flow_check_lc_ip_tunnel()
|
| /f-stack/dpdk/doc/guides/prog_guide/ |
| H A D | ipsec_lib.rst | 71 - remove outer IP header (tunnel mode) / update IP header (transport mode) 78 - add outer IP header (tunnel mode) / update IP header (transport mode) 103 - remove outer IP header (tunnel mode) / update IP header (transport mode) 110 - add outer IP header (tunnel mode) / update IP header (transport mode) 310 * ESP protocol tunnel mode both IPv4/IPv6.
|
| /f-stack/freebsd/contrib/device-tree/src/arm/ |
| H A D | rk3288-veyron-chromebook.dtsi | 116 i2c_tunnel: i2c-tunnel { 117 compatible = "google,cros-ec-i2c-tunnel";
|
| /f-stack/dpdk/app/test/ |
| H A D | test_ipsec.c | 1300 ut_params->ipsec_xform.tunnel.type = RTE_SECURITY_IPSEC_TUNNEL_IPV4; in test_ipsec_crypto_inb_burst_null_null_wrapper() 1405 ut_params->ipsec_xform.tunnel.type = RTE_SECURITY_IPSEC_TUNNEL_IPV4; in test_ipsec_crypto_outb_burst_null_null_wrapper() 1514 ut_params->ipsec_xform.tunnel.type = RTE_SECURITY_IPSEC_TUNNEL_IPV4; in test_ipsec_inline_crypto_inb_burst_null_null_wrapper() 1591 ut_params->ipsec_xform.tunnel.type = RTE_SECURITY_IPSEC_TUNNEL_IPV4; in test_ipsec_inline_proto_inb_burst_null_null_wrapper() 1700 ut_params->ipsec_xform.tunnel.type = RTE_SECURITY_IPSEC_TUNNEL_IPV4; in test_ipsec_inline_crypto_outb_burst_null_null_wrapper() 1777 ut_params->ipsec_xform.tunnel.type = RTE_SECURITY_IPSEC_TUNNEL_IPV4; in test_ipsec_inline_proto_outb_burst_null_null_wrapper() 1850 ut_params->ipsec_xform.tunnel.type = RTE_SECURITY_IPSEC_TUNNEL_IPV4; in test_ipsec_lksd_proto_inb_burst_null_null_wrapper() 1871 ut_params->ipsec_xform.tunnel.type = RTE_SECURITY_IPSEC_TUNNEL_IPV4; in test_ipsec_lksd_proto_outb_burst_null_null_wrapper() 1985 ut_params->ipsec_xform.tunnel.type = RTE_SECURITY_IPSEC_TUNNEL_IPV4; in test_ipsec_replay_inb_inside_null_null_wrapper() 2085 ut_params->ipsec_xform.tunnel.type = RTE_SECURITY_IPSEC_TUNNEL_IPV4; in test_ipsec_replay_inb_outside_null_null_wrapper() [all …]
|