Lines Matching refs:tos
344 __be32 key, __u8 tos, int oif) in init_tunnel_flow() argument
350 fl4->flowi4_tos = tos; in init_tunnel_flow()
373 RT_TOS(iph->tos), tunnel->parms.link); in ip_tunnel_bind_dev()
458 &iph->saddr, iph->tos); in ip_tunnel_rcv()
644 u8 tos, ttl; in ip_tunnel_xmit() local
705 tos = tnl_params->tos; in ip_tunnel_xmit()
706 if (tos & 0x1) { in ip_tunnel_xmit()
707 tos &= ~0x1; in ip_tunnel_xmit()
709 tos = inner_iph->tos; in ip_tunnel_xmit()
712 tos = ipv6_get_dsfield((const struct ipv6hdr *)inner_iph); in ip_tunnel_xmit()
718 tunnel->parms.o_key, RT_TOS(tos), tunnel->parms.link); in ip_tunnel_xmit()
758 tos = ip_tunnel_ecn_encap(tos, inner_iph, skb); in ip_tunnel_xmit()
788 tos, ttl, df, !net_eq(tunnel->net, dev_net(dev))); in ip_tunnel_xmit()
821 t->parms.iph.tos = p->iph.tos; in ip_tunnel_update()