Searched refs:csum16_add (Results 1 – 3 of 3) sorted by relevance
/linux-6.6.21/include/net/ |
D | checksum.h | 72 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()
|
D | inet_ecn.h | 100 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.6.21/net/ipv4/ |
D | udp_offload.c | 322 check = csum16_add(csum16_sub(uh->check, uh->len), newlen); in __udp_gso_segment() 350 check = csum16_add(csum16_sub(uh->check, uh->len), newlen); in __udp_gso_segment()
|