Home
last modified time | relevance | path

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

/linux/net/netfilter/ipvs/
H A Dip_vs_xmit.c937 struct iphdr *old_iph = NULL; in ip_vs_prepare_tunneled_skb() local
970 old_iph = ip_hdr(skb); in ip_vs_prepare_tunneled_skb()
973 *df = (old_iph->frag_off & htons(IP_DF)); in ip_vs_prepare_tunneled_skb()
977 ip_send_check(old_iph); in ip_vs_prepare_tunneled_skb()
978 old_dsfield = ipv4_get_dsfield(old_iph); in ip_vs_prepare_tunneled_skb()
979 *ttl = old_iph->ttl; in ip_vs_prepare_tunneled_skb()
/linux/drivers/net/vxlan/
H A Dvxlan_core.c2359 const struct iphdr *old_iph; in vxlan_xmit_one() local
2383 old_iph = ip_hdr(skb); in vxlan_xmit_one()
2418 ttl = ip_tunnel_get_ttl(old_iph, skb); in vxlan_xmit_one()
2426 tos = ip_tunnel_get_dsfield(old_iph, skb); in vxlan_xmit_one()
2440 key.label = ip_tunnel_get_flowlabel(old_iph, skb); in vxlan_xmit_one()
2505 old_iph->frag_off & htons(IP_DF))) in vxlan_xmit_one()
2534 tos = ip_tunnel_ecn_encap(tos, old_iph, skb); in vxlan_xmit_one()
2597 tos = ip_tunnel_ecn_encap(tos, old_iph, skb); in vxlan_xmit_one()
/linux/net/ipv4/
H A Dipmr.c1806 const struct iphdr *old_iph = ip_hdr(skb); in ip_encap() local
1814 iph->tos = old_iph->tos; in ip_encap()
1815 iph->ttl = old_iph->ttl; in ip_encap()