Searched refs:oldip (Results 1 – 4 of 4) sorted by relevance
/linux-5.19.10/net/netfilter/ipvs/ |
D | ip_vs_proto_udp.c | 94 const union nf_inet_addr *oldip, in udp_fast_csum_update() argument 101 csum_fold(ip_vs_check_diff16(oldip->ip6, newip->ip6, in udp_fast_csum_update() 107 csum_fold(ip_vs_check_diff4(oldip->ip, newip->ip, in udp_fast_csum_update() 116 const union nf_inet_addr *oldip, in udp_partial_csum_update() argument 123 ~csum_fold(ip_vs_check_diff16(oldip->ip6, newip->ip6, in udp_partial_csum_update() 129 ~csum_fold(ip_vs_check_diff4(oldip->ip, newip->ip, in udp_partial_csum_update()
|
D | ip_vs_proto_tcp.c | 106 const union nf_inet_addr *oldip, in tcp_fast_csum_update() argument 113 csum_fold(ip_vs_check_diff16(oldip->ip6, newip->ip6, in tcp_fast_csum_update() 119 csum_fold(ip_vs_check_diff4(oldip->ip, newip->ip, in tcp_fast_csum_update() 127 const union nf_inet_addr *oldip, in tcp_partial_csum_update() argument 134 ~csum_fold(ip_vs_check_diff16(oldip->ip6, newip->ip6, in tcp_partial_csum_update() 140 ~csum_fold(ip_vs_check_diff4(oldip->ip, newip->ip, in tcp_partial_csum_update()
|
/linux-5.19.10/net/netfilter/ |
D | nf_nat_proto.c | 451 __be32 oldip, newip; in nf_nat_ipv4_csum_update() local 454 oldip = iph->saddr; in nf_nat_ipv4_csum_update() 457 oldip = iph->daddr; in nf_nat_ipv4_csum_update() 460 inet_proto_csum_replace4(check, skb, oldip, newip, true); in nf_nat_ipv4_csum_update() 470 const struct in6_addr *oldip, *newip; in nf_nat_ipv6_csum_update() local 473 oldip = &ipv6h->saddr; in nf_nat_ipv6_csum_update() 476 oldip = &ipv6h->daddr; in nf_nat_ipv6_csum_update() 479 inet_proto_csum_replace16(check, skb, oldip->s6_addr32, in nf_nat_ipv6_csum_update()
|
/linux-5.19.10/net/ipv4/ |
D | udp_offload.c | 192 __be32 *oldip, __be32 *newip, in __udpv4_gso_segment_csum() argument 198 if (*oldip == *newip && *oldport == *newport) in __udpv4_gso_segment_csum() 205 inet_proto_csum_replace4(&uh->check, seg, *oldip, *newip, in __udpv4_gso_segment_csum() 214 csum_replace4(&iph->check, *oldip, *newip); in __udpv4_gso_segment_csum() 215 *oldip = *newip; in __udpv4_gso_segment_csum()
|