Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_span.c452 struct ip_tunnel_parm tparm = mlxsw_sp_ipip_netdev_parms4(to_dev); in mlxsw_sp_span_entry_gretap4_parms() local
453 union mlxsw_sp_l3addr saddr = { .addr4 = tparm.iph.saddr }; in mlxsw_sp_span_entry_gretap4_parms()
454 union mlxsw_sp_l3addr daddr = { .addr4 = tparm.iph.daddr }; in mlxsw_sp_span_entry_gretap4_parms()
455 bool inherit_tos = tparm.iph.tos & 0x1; in mlxsw_sp_span_entry_gretap4_parms()
456 bool inherit_ttl = !tparm.iph.ttl; in mlxsw_sp_span_entry_gretap4_parms()
462 tparm.i_flags || tparm.o_flags || in mlxsw_sp_span_entry_gretap4_parms()
471 tparm.iph.ttl, in mlxsw_sp_span_entry_gretap4_parms()
556 struct __ip6_tnl_parm tparm = mlxsw_sp_ipip_netdev_parms6(to_dev); in mlxsw_sp_span_entry_gretap6_parms() local
557 bool inherit_tos = tparm.flags & IP6_TNL_F_USE_ORIG_TCLASS; in mlxsw_sp_span_entry_gretap6_parms()
558 union mlxsw_sp_l3addr saddr = { .addr6 = tparm.laddr }; in mlxsw_sp_span_entry_gretap6_parms()
[all …]