Home
last modified time | relevance | path

Searched refs:old_iph (Results 1 – 2 of 2) sorted by relevance

/net/netfilter/ipvs/
Dip_vs_xmit.c959 struct iphdr *old_iph = NULL; in ip_vs_prepare_tunneled_skb() local
992 old_iph = ip_hdr(skb); in ip_vs_prepare_tunneled_skb()
995 *df = (old_iph->frag_off & htons(IP_DF)); in ip_vs_prepare_tunneled_skb()
999 ip_send_check(old_iph); in ip_vs_prepare_tunneled_skb()
1000 old_dsfield = ipv4_get_dsfield(old_iph); in ip_vs_prepare_tunneled_skb()
1001 *ttl = old_iph->ttl; in ip_vs_prepare_tunneled_skb()
1003 *payload_len = ntohs(old_iph->tot_len); in ip_vs_prepare_tunneled_skb()
/net/ipv4/
Dipmr.c1779 const struct iphdr *old_iph = ip_hdr(skb); in ip_encap() local
1787 iph->tos = old_iph->tos; in ip_encap()
1788 iph->ttl = old_iph->ttl; in ip_encap()