Home
last modified time | relevance | path

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

/linux-6.1.9/net/netfilter/ipvs/
Dip_vs_xmit.c953 struct iphdr *old_iph = NULL; in ip_vs_prepare_tunneled_skb() local
986 old_iph = ip_hdr(skb); in ip_vs_prepare_tunneled_skb()
989 *df = (old_iph->frag_off & htons(IP_DF)); in ip_vs_prepare_tunneled_skb()
993 ip_send_check(old_iph); in ip_vs_prepare_tunneled_skb()
994 old_dsfield = ipv4_get_dsfield(old_iph); in ip_vs_prepare_tunneled_skb()
995 *ttl = old_iph->ttl; in ip_vs_prepare_tunneled_skb()
997 *payload_len = ntohs(old_iph->tot_len); in ip_vs_prepare_tunneled_skb()
/linux-6.1.9/drivers/net/vxlan/
Dvxlan_core.c2452 const struct iphdr *old_iph = ip_hdr(skb); in vxlan_xmit_one() local
2492 ttl = ip_tunnel_get_ttl(old_iph, skb); in vxlan_xmit_one()
2501 tos = ip_tunnel_get_dsfield(old_iph, skb); in vxlan_xmit_one()
2579 old_iph->frag_off & htons(IP_DF))) in vxlan_xmit_one()
2610 tos = ip_tunnel_ecn_encap(tos, old_iph, skb); in vxlan_xmit_one()
2672 tos = ip_tunnel_ecn_encap(tos, old_iph, skb); in vxlan_xmit_one()
/linux-6.1.9/net/ipv4/
Dipmr.c1763 const struct iphdr *old_iph = ip_hdr(skb); in ip_encap() local
1771 iph->tos = old_iph->tos; in ip_encap()
1772 iph->ttl = old_iph->ttl; in ip_encap()