Home
last modified time | relevance | path

Searched refs:csum_replace2 (Results 1 – 10 of 10) 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()
1270 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.c1604 csum_replace2(&iph->check, totlen, iph->tot_len); in inet_gro_complete()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rx.c1336 csum_replace2(&ipv4->check, ipv4->tot_len, newlen); in mlx5e_shampo_update_hdr()
/linux/drivers/net/ethernet/neterion/
H A Ds2io.c8256 csum_replace2(&ip->check, ip->tot_len, htons(lro->total_len)); in update_L3L4_header()
/linux/net/core/
H A Dfilter.c1951 csum_replace2(ptr, from, to); in BPF_CALL_5()