Lines Matching refs:inner_iph
486 const struct iphdr *inner_iph, in tnl_update_pmtu() argument
509 (inner_iph->frag_off & htons(IP_DF)) && in tnl_update_pmtu()
550 const struct iphdr *inner_iph; in ip_md_tunnel_xmit() local
563 inner_iph = (const struct iphdr *)skb_inner_network_header(skb); in ip_md_tunnel_xmit()
567 tos = inner_iph->tos; in ip_md_tunnel_xmit()
569 tos = ipv6_get_dsfield((const struct ipv6hdr *)inner_iph); in ip_md_tunnel_xmit()
598 if (tnl_update_pmtu(dev, skb, rt, df, inner_iph, tunnel_hlen, in ip_md_tunnel_xmit()
604 tos = ip_tunnel_ecn_encap(tos, inner_iph, skb); in ip_md_tunnel_xmit()
608 ttl = inner_iph->ttl; in ip_md_tunnel_xmit()
610 ttl = ((const struct ipv6hdr *)inner_iph)->hop_limit; in ip_md_tunnel_xmit()
641 const struct iphdr *inner_iph; in ip_tunnel_xmit() local
652 inner_iph = (const struct iphdr *)skb_inner_network_header(skb); in ip_tunnel_xmit()
676 dst = rt_nexthop(rt, inner_iph->daddr); in ip_tunnel_xmit()
720 tos = inner_iph->tos; in ip_tunnel_xmit()
723 tos = ipv6_get_dsfield((const struct ipv6hdr *)inner_iph); in ip_tunnel_xmit()
768 df |= (inner_iph->frag_off & htons(IP_DF)); in ip_tunnel_xmit()
770 if (tnl_update_pmtu(dev, skb, rt, df, inner_iph, 0, 0, false)) { in ip_tunnel_xmit()
785 tos = ip_tunnel_ecn_encap(tos, inner_iph, skb); in ip_tunnel_xmit()
789 ttl = inner_iph->ttl; in ip_tunnel_xmit()
792 ttl = ((const struct ipv6hdr *)inner_iph)->hop_limit; in ip_tunnel_xmit()