Lines Matching refs:tos
351 __be32 key, __u8 tos, int oif) in init_tunnel_flow() argument
357 fl4->flowi4_tos = tos; in init_tunnel_flow()
380 RT_TOS(iph->tos), tunnel->parms.link); in ip_tunnel_bind_dev()
466 &iph->saddr, iph->tos); in ip_tunnel_rcv()
655 u8 tos, ttl; in ip_tunnel_xmit() local
718 tos = tnl_params->tos; in ip_tunnel_xmit()
719 if (tos & 0x1) { in ip_tunnel_xmit()
720 tos &= ~0x1; in ip_tunnel_xmit()
722 tos = inner_iph->tos; in ip_tunnel_xmit()
725 tos = ipv6_get_dsfield((const struct ipv6hdr *)inner_iph); in ip_tunnel_xmit()
731 tunnel->parms.o_key, RT_TOS(tos), tunnel->parms.link); in ip_tunnel_xmit()
770 tos = ip_tunnel_ecn_encap(tos, inner_iph, skb); in ip_tunnel_xmit()
800 tos, ttl, df, !net_eq(tunnel->net, dev_net(dev))); in ip_tunnel_xmit()
833 t->parms.iph.tos = p->iph.tos; in ip_tunnel_update()