Home
last modified time | relevance | path

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

/net/netfilter/ipvs/
Dip_vs_xmit.c821 struct iphdr *old_iph = ip_hdr(skb); in ip_vs_tunnel_xmit() local
822 u8 tos = old_iph->tos; in ip_vs_tunnel_xmit()
847 df = sysctl_pmtu_disc(ipvs) ? old_iph->frag_off & htons(IP_DF) : 0; in ip_vs_tunnel_xmit()
862 old_iph = ip_hdr(skb); in ip_vs_tunnel_xmit()
868 ip_send_check(old_iph); in ip_vs_tunnel_xmit()
885 iph->ttl = old_iph->ttl; in ip_vs_tunnel_xmit()
917 struct ipv6hdr *old_iph = ipv6_hdr(skb); in ip_vs_tunnel_xmit_v6() local
953 old_iph = ipv6_hdr(skb); in ip_vs_tunnel_xmit_v6()
968 iph->payload_len = old_iph->payload_len; in ip_vs_tunnel_xmit_v6()
969 be16_add_cpu(&iph->payload_len, sizeof(*old_iph)); in ip_vs_tunnel_xmit_v6()
[all …]
/net/ipv4/
Dip_vti.c319 struct iphdr *old_iph = ip_hdr(skb); in vti_tunnel_xmit() local
326 tos = old_iph->tos; in vti_tunnel_xmit()
Dipmr.c1645 const struct iphdr *old_iph = ip_hdr(skb); in ip_encap() local
1653 iph->tos = old_iph->tos; in ip_encap()
1654 iph->ttl = old_iph->ttl; in ip_encap()