Lines Matching refs:inner_iph
491 const struct iphdr *inner_iph, in tnl_update_pmtu() argument
512 (inner_iph->frag_off & htons(IP_DF)) && in tnl_update_pmtu()
554 const struct iphdr *inner_iph; in ip_md_tunnel_xmit() local
567 inner_iph = (const struct iphdr *)skb_inner_network_header(skb); in ip_md_tunnel_xmit()
571 tos = inner_iph->tos; in ip_md_tunnel_xmit()
573 tos = ipv6_get_dsfield((const struct ipv6hdr *)inner_iph); in ip_md_tunnel_xmit()
602 if (tnl_update_pmtu(dev, skb, rt, df, inner_iph, tunnel_hlen, in ip_md_tunnel_xmit()
608 tos = ip_tunnel_ecn_encap(tos, inner_iph, skb); in ip_md_tunnel_xmit()
612 ttl = inner_iph->ttl; in ip_md_tunnel_xmit()
614 ttl = ((const struct ipv6hdr *)inner_iph)->hop_limit; in ip_md_tunnel_xmit()
620 df = inner_iph->frag_off & htons(IP_DF); in ip_md_tunnel_xmit()
648 const struct iphdr *inner_iph; in ip_tunnel_xmit() local
659 inner_iph = (const struct iphdr *)skb_inner_network_header(skb); in ip_tunnel_xmit()
683 dst = rt_nexthop(rt, inner_iph->daddr); in ip_tunnel_xmit()
727 tos = inner_iph->tos; in ip_tunnel_xmit()
730 tos = ipv6_get_dsfield((const struct ipv6hdr *)inner_iph); in ip_tunnel_xmit()
773 if (tnl_update_pmtu(dev, skb, rt, tnl_params->frag_off, inner_iph, in ip_tunnel_xmit()
789 tos = ip_tunnel_ecn_encap(tos, inner_iph, skb); in ip_tunnel_xmit()
793 ttl = inner_iph->ttl; in ip_tunnel_xmit()
796 ttl = ((const struct ipv6hdr *)inner_iph)->hop_limit; in ip_tunnel_xmit()
804 df |= (inner_iph->frag_off&htons(IP_DF)); in ip_tunnel_xmit()