Home
last modified time | relevance | path

Searched refs:csum2 (Results 1 – 6 of 6) sorted by relevance

/linux-2.4.37.9/include/net/
Dchecksum.h139 csum_block_add(unsigned int csum, unsigned int csum2, int offset) in csum_block_add() argument
142 csum2 = ((csum2&0xFF00FF)<<8)+((csum2>>8)&0xFF00FF); in csum_block_add()
143 return csum_add(csum, csum2); in csum_block_add()
147 csum_block_sub(unsigned int csum, unsigned int csum2, int offset) in csum_block_sub() argument
150 csum2 = ((csum2&0xFF00FF)<<8)+((csum2>>8)&0xFF00FF); in csum_block_sub()
151 return csum_sub(csum, csum2); in csum_block_sub()
/linux-2.4.37.9/net/core/
Ddatagram.c305 unsigned int csum2; in skb_copy_and_csum_datagram() local
314 csum2 = csum_and_copy_to_user(vaddr + frag->page_offset + in skb_copy_and_csum_datagram()
319 *csump = csum_block_add(*csump, csum2, pos); in skb_copy_and_csum_datagram()
339 unsigned int csum2 = 0; in skb_copy_and_csum_datagram() local
342 if (skb_copy_and_csum_datagram(list, offset-start, to, copy, &csum2)) in skb_copy_and_csum_datagram()
344 *csump = csum_block_add(*csump, csum2, pos); in skb_copy_and_csum_datagram()
Dskbuff.c1057 unsigned int csum2; in skb_checksum() local
1064 csum2 = csum_partial(vaddr + frag->page_offset + in skb_checksum()
1067 csum = csum_block_add(csum, csum2, pos); in skb_checksum()
1086 unsigned int csum2; in skb_checksum() local
1089 csum2 = skb_checksum(list, offset-start, copy, 0); in skb_checksum()
1090 csum = csum_block_add(csum, csum2, pos); in skb_checksum()
1133 unsigned int csum2; in skb_copy_and_csum_bits() local
1140 csum2 = csum_partial_copy_nocheck(vaddr + frag->page_offset + in skb_copy_and_csum_bits()
1143 csum = csum_block_add(csum, csum2, pos); in skb_copy_and_csum_bits()
1157 unsigned int csum2; in skb_copy_and_csum_bits() local
[all …]
/linux-2.4.37.9/net/sunrpc/
Dxprt.c651 unsigned int csum2, pos; in skb_read_and_csum_bits() local
656 csum2 = skb_copy_and_csum_bits(desc->skb, pos, to, len, 0); in skb_read_and_csum_bits()
657 desc->csum = csum_block_add(desc->csum, csum2, pos); in skb_read_and_csum_bits()
682 unsigned int csum2; in csum_partial_copy_to_xdr() local
683 csum2 = skb_checksum(skb, desc.offset, skb->len - desc.offset, 0); in csum_partial_copy_to_xdr()
684 desc.csum = csum_block_add(desc.csum, csum2, desc.offset); in csum_partial_copy_to_xdr()
/linux-2.4.37.9/drivers/net/
Dskge.c742 rd->csum2 = 0; in skge_rx_setup()
759 rd->csum2 = 0; in skge_rx_reuse()
2696 skb = skge_rx_get(skge, e, control, rd->status, rd->csum2); in skge_poll()
Dskge.h2354 u16 csum2; member