Searched refs:SWAP_BYTES_IN_WORD (Results 1 – 5 of 5) sorted by relevance
170 sum = SWAP_BYTES_IN_WORD(sum); in lwip_standard_chksum()252 sum = SWAP_BYTES_IN_WORD(sum); in lwip_standard_chksum()294 acc = SWAP_BYTES_IN_WORD(acc); in inet_chksum_pseudo()300 acc = SWAP_BYTES_IN_WORD(acc); in inet_chksum_pseudo()360 acc = SWAP_BYTES_IN_WORD(acc); in inet_chksum_pseudo_partial()366 acc = SWAP_BYTES_IN_WORD(acc); in inet_chksum_pseudo_partial()422 acc = SWAP_BYTES_IN_WORD(acc); in inet_chksum_pbuf()427 acc = SWAP_BYTES_IN_WORD(acc); in inet_chksum_pbuf()
41 #ifndef SWAP_BYTES_IN_WORD44 #define SWAP_BYTES_IN_WORD(w) LWIP_PLATFORM_HTONS(w) macro47 #define SWAP_BYTES_IN_WORD(w) (((w) & 0xff) << 8) | (((w) & 0xff00) >> 8) macro
278 chksum = SWAP_BYTES_IN_WORD(chksum); in tcp_seg_add_chksum()1135 seg->chksum = SWAP_BYTES_IN_WORD(seg->chksum); in tcp_output_segment()
1037 copy_chksum = SWAP_BYTES_IN_WORD(copy_chksum); in pbuf_fill_chksum()
960 defined) for SWAP_BYTES_IN_WORD to speed up checksumming.