Searched refs:SWAP_BYTES_IN_WORD (Results 1 – 5 of 5) sorted by relevance
169 sum = SWAP_BYTES_IN_WORD(sum); in lwip_standard_chksum()251 sum = SWAP_BYTES_IN_WORD(sum); in lwip_standard_chksum()276 acc = SWAP_BYTES_IN_WORD(acc); in inet_cksum_pseudo_base()282 acc = SWAP_BYTES_IN_WORD(acc); in inet_cksum_pseudo_base()422 acc = SWAP_BYTES_IN_WORD(acc); in inet_cksum_pseudo_partial_base()428 acc = SWAP_BYTES_IN_WORD(acc); in inet_cksum_pseudo_partial_base()580 acc = SWAP_BYTES_IN_WORD(acc); in inet_chksum_pbuf()585 acc = SWAP_BYTES_IN_WORD(acc); in inet_chksum_pbuf()
292 chksum = SWAP_BYTES_IN_WORD(chksum); in tcp_seg_add_chksum()636 chksum = SWAP_BYTES_IN_WORD(chksum); in tcp_write()758 concat_chksum = SWAP_BYTES_IN_WORD(concat_chksum); in tcp_write()1586 seg->chksum = SWAP_BYTES_IN_WORD(seg->chksum); in tcp_output_segment()1616 seg->chksum = SWAP_BYTES_IN_WORD(seg->chksum); in tcp_output_segment()
1386 copy_chksum = SWAP_BYTES_IN_WORD(copy_chksum); in pbuf_fill_chksum()
46 #ifndef SWAP_BYTES_IN_WORD47 #define SWAP_BYTES_IN_WORD(w) (((w) & 0xff) << 8) | (((w) & 0xff00) >> 8) macro
2458 defined) for SWAP_BYTES_IN_WORD to speed up checksumming.