Searched refs:csum16_add (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/include/net/ |
H A 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()
|
H A 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()
|
/openbmc/linux/net/ipv4/ |
H A D | udp_offload.c | 349 check = csum16_add(csum16_sub(uh->check, uh->len), newlen); in __udp_gso_segment() 377 check = csum16_add(csum16_sub(uh->check, uh->len), newlen); in __udp_gso_segment()
|