Home
last modified time | relevance | path

Searched refs:csum_replace2 (Results 1 – 12 of 12) sorted by relevance

/linux/net/netfilter/
H A Dxt_HL.c57 csum_replace2(&iph->check, htons(iph->ttl << 8), in ttl_tg()
H A Dxt_TCPMSS.c211 csum_replace2(&iph->check, iph->tot_len, newlen); in tcpmss_tg4()
/linux/net/ipv4/netfilter/
H A Dipt_ECN.c38 csum_replace2(&iph->check, htons(oldtos), htons(iph->tos)); in set_ect_ip()
/linux/include/net/
H A Dchecksum.h132 static __always_inline void csum_replace2(__sum16 *sum, __be16 old, __be16 new) in csum_replace2() function
/linux/net/openvswitch/
H A Dactions.c449 csum_replace2(&nh->check, htons(nh->ttl << 8), htons(new_ttl << 8)); in set_ip_ttl()
1204 csum_replace2(&nh->check, htons(old_ttl << 8), in execute_dec_ttl()
/linux/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_io.c1330 csum_replace2(&iph->check, iph->tot_len, htons(length)); in qlcnic_process_lro()
1852 csum_replace2(&iph->check, iph->tot_len, htons(length)); in qlcnic_83xx_process_lro()
/linux/net/ipv4/
H A Daf_inet.c1614 csum_replace2(&iph->check, totlen, iph->tot_len); in inet_gro_complete()
/linux/drivers/net/ethernet/qlogic/netxen/
H A Dnetxen_nic_init.c1621 csum_replace2(&iph->check, iph->tot_len, htons(length)); in netxen_process_lro()
/linux/drivers/net/
H A Dgeneve.c628 csum_replace2(&iph->check, old_len, iph->tot_len); in geneve_post_decap_hint()
/linux/net/mpls/
H A Daf_mpls.c318 csum_replace2(&hdr4->check, in mpls_egress()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rx.c1177 csum_replace2(&ipv4->check, ipv4->tot_len, newlen); in mlx5e_shampo_update_hdr()
/linux/net/core/
H A Dfilter.c1950 csum_replace2(ptr, from, to); in BPF_CALL_5()