Lines Matching refs:tparm
454 struct ip_tunnel_parm_kern tparm = mlxsw_sp_ipip_netdev_parms4(to_dev);
455 union mlxsw_sp_l3addr saddr = { .addr4 = tparm.iph.saddr };
456 union mlxsw_sp_l3addr daddr = { .addr4 = tparm.iph.daddr };
457 bool inherit_tos = tparm.iph.tos & 0x1;
458 bool inherit_ttl = !tparm.iph.ttl;
464 !ip_tunnel_flags_empty(tparm.i_flags) ||
465 !ip_tunnel_flags_empty(tparm.o_flags) ||
474 tparm.iph.ttl,
559 struct __ip6_tnl_parm tparm = mlxsw_sp_ipip_netdev_parms6(to_dev);
560 bool inherit_tos = tparm.flags & IP6_TNL_F_USE_ORIG_TCLASS;
561 union mlxsw_sp_l3addr saddr = { .addr6 = tparm.laddr };
562 union mlxsw_sp_l3addr daddr = { .addr6 = tparm.raddr };
563 bool inherit_ttl = !tparm.hop_limit;
569 !ip_tunnel_flags_empty(tparm.i_flags) ||
570 !ip_tunnel_flags_empty(tparm.o_flags) ||
579 tparm.hop_limit,