Home
last modified time | relevance | path

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

/linux-6.3-rc2/include/net/
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()
146 *sum = ~csum16_add(csum16_sub(~(*sum), old), new); in csum_replace2()
A Dinet_ecn.h100 iph->check = csum16_add(iph->check, check_add); in IP_ECN_set_ce()
110 iph->check = csum16_add(iph->check, htons(0x1)); in IP_ECN_set_ect1()
/linux-6.3-rc2/net/ipv4/
A Dudp_offload.c314 check = csum16_add(csum16_sub(uh->check, uh->len), newlen); in __udp_gso_segment()
342 check = csum16_add(csum16_sub(uh->check, uh->len), newlen); in __udp_gso_segment()

Completed in 5 milliseconds