Lines Matching refs:inner_iph
504 const struct iphdr *inner_iph) in tnl_update_pmtu() argument
520 (inner_iph->frag_off & htons(IP_DF)) && in tnl_update_pmtu()
557 const struct iphdr *inner_iph; in ip_md_tunnel_xmit() local
569 inner_iph = (const struct iphdr *)skb_inner_network_header(skb); in ip_md_tunnel_xmit()
573 tos = inner_iph->tos; in ip_md_tunnel_xmit()
575 tos = ipv6_get_dsfield((const struct ipv6hdr *)inner_iph); in ip_md_tunnel_xmit()
591 tos = ip_tunnel_ecn_encap(tos, inner_iph, skb); in ip_md_tunnel_xmit()
595 ttl = inner_iph->ttl; in ip_md_tunnel_xmit()
597 ttl = ((const struct ipv6hdr *)inner_iph)->hop_limit; in ip_md_tunnel_xmit()
604 df = inner_iph->frag_off & htons(IP_DF); in ip_md_tunnel_xmit()
631 const struct iphdr *inner_iph; in ip_tunnel_xmit() local
648 inner_iph = (const struct iphdr *)skb_inner_network_header(skb); in ip_tunnel_xmit()
664 dst = rt_nexthop(rt, inner_iph->daddr); in ip_tunnel_xmit()
707 tos = inner_iph->tos; in ip_tunnel_xmit()
710 tos = ipv6_get_dsfield((const struct ipv6hdr *)inner_iph); in ip_tunnel_xmit()
743 if (tnl_update_pmtu(dev, skb, rt, tnl_params->frag_off, inner_iph)) { in ip_tunnel_xmit()
758 tos = ip_tunnel_ecn_encap(tos, inner_iph, skb); in ip_tunnel_xmit()
762 ttl = inner_iph->ttl; in ip_tunnel_xmit()
765 ttl = ((const struct ipv6hdr *)inner_iph)->hop_limit; in ip_tunnel_xmit()
773 df |= (inner_iph->frag_off&htons(IP_DF)); in ip_tunnel_xmit()