Home
last modified time | relevance | path

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

/linux/include/net/ !
H A Dchecksum.h72 static __always_inline __sum16 csum16_add(__sum16 csum, __be16 addend) in csum16_add() function
82 return csum16_add(csum, ~addend); in csum16_sub()
134 *sum = ~csum16_add(csum16_sub(~(*sum), old), new); in csum_replace2()
H A Dinet_ecn.h114 iph->check = csum16_add(iph->check, check_add); in IP_ECN_set_ce()
124 iph->check = csum16_add(iph->check, htons(0x1)); in IP_ECN_set_ect1()
/linux/net/ipv4/ !
H A Dudp_offload.c578 check = csum16_add(csum16_sub(uh->check, uh->len), newlen); in __udp_gso_segment()
606 check = csum16_add(csum16_sub(uh->check, uh->len), newlen); in __udp_gso_segment()