Searched refs:tparm (Results 1 – 2 of 2) sorted by relevance
454 struct ip_tunnel_parm_kern tparm = mlxsw_sp_ipip_netdev_parms4(to_dev); in mlxsw_sp_span_entry_gretap4_parms() local455 union mlxsw_sp_l3addr saddr = { .addr4 = tparm.iph.saddr }; in mlxsw_sp_span_entry_gretap4_parms()456 union mlxsw_sp_l3addr daddr = { .addr4 = tparm.iph.daddr }; in mlxsw_sp_span_entry_gretap4_parms()457 bool inherit_tos = tparm.iph.tos & 0x1; in mlxsw_sp_span_entry_gretap4_parms()458 bool inherit_ttl = !tparm.iph.ttl; in mlxsw_sp_span_entry_gretap4_parms()464 !ip_tunnel_flags_empty(tparm.i_flags) || in mlxsw_sp_span_entry_gretap4_parms()465 !ip_tunnel_flags_empty(tparm.o_flags) || in mlxsw_sp_span_entry_gretap4_parms()474 tparm.iph.ttl, in mlxsw_sp_span_entry_gretap4_parms()559 struct __ip6_tnl_parm tparm = mlxsw_sp_ipip_netdev_parms6(to_dev); in mlxsw_sp_span_entry_gretap6_parms() local560 bool inherit_tos = tparm.flags & IP6_TNL_F_USE_ORIG_TCLASS; in mlxsw_sp_span_entry_gretap6_parms()[all …]
446 struct __ip6_tnl_parm tparm = mlxsw_sp_ipip_netdev_parms6(ol_dev); in mlxsw_sp_ipip_can_offload_gre6() local447 bool inherit_tos = tparm.flags & IP6_TNL_F_USE_ORIG_TCLASS; in mlxsw_sp_ipip_can_offload_gre6()448 bool inherit_ttl = tparm.hop_limit == 0; in mlxsw_sp_ipip_can_offload_gre6()454 return ip_tunnel_flags_subset(tparm.i_flags, okflags) && in mlxsw_sp_ipip_can_offload_gre6()455 ip_tunnel_flags_subset(tparm.o_flags, okflags) && in mlxsw_sp_ipip_can_offload_gre6()