Searched refs:old_iph (Results 1 – 3 of 3) sorted by relevance
549 ipgre_ecn_encapsulate(u8 tos, struct iphdr *old_iph, struct sk_buff *skb) in ipgre_ecn_encapsulate() argument553 inner = old_iph->tos; in ipgre_ecn_encapsulate()555 inner = ip6_get_dsfield((struct ipv6hdr*)old_iph); in ipgre_ecn_encapsulate()672 struct iphdr *old_iph = skb->nh.iph; in ipgre_tunnel_xmit() local740 tos = old_iph->tos; in ipgre_tunnel_xmit()766 df |= (old_iph->frag_off&htons(IP_DF)); in ipgre_tunnel_xmit()768 if ((old_iph->frag_off&htons(IP_DF)) && in ipgre_tunnel_xmit()769 mtu < ntohs(old_iph->tot_len)) { in ipgre_tunnel_xmit()819 old_iph = skb->nh.iph; in ipgre_tunnel_xmit()837 iph->tos = ipgre_ecn_encapsulate(tos, old_iph, skb); in ipgre_tunnel_xmit()[all …]
532 struct iphdr *old_iph = skb->nh.iph; in ipip_tunnel_xmit() local547 tos = old_iph->tos; in ipip_tunnel_xmit()584 df |= (old_iph->frag_off&htons(IP_DF)); in ipip_tunnel_xmit()586 if ((old_iph->frag_off&htons(IP_DF)) && mtu < ntohs(old_iph->tot_len)) { in ipip_tunnel_xmit()618 old_iph = skb->nh.iph; in ipip_tunnel_xmit()636 iph->tos = INET_ECN_encapsulate(tos, old_iph->tos); in ipip_tunnel_xmit()641 iph->ttl = old_iph->ttl; in ipip_tunnel_xmit()
887 struct iphdr *old_iph = skb->nh.iph; in ip_vs_tunnel_xmit() local888 u8 tos = old_iph->tos; in ip_vs_tunnel_xmit()889 u16 df = old_iph->frag_off; in ip_vs_tunnel_xmit()917 df |= (old_iph->frag_off&__constant_htons(IP_DF)); in ip_vs_tunnel_xmit()919 if ((old_iph->frag_off&__constant_htons(IP_DF)) in ip_vs_tunnel_xmit()920 && mtu < ntohs(old_iph->tot_len)) { in ip_vs_tunnel_xmit()928 ip_send_check(old_iph); in ip_vs_tunnel_xmit()946 old_iph = skb->nh.iph; in ip_vs_tunnel_xmit()968 iph->ttl = old_iph->ttl; in ip_vs_tunnel_xmit()