Searched refs:csum (Results 1 - 18 of 18) sorted by relevance

/external/kernel-headers/original/asm-mips/
H A Dchecksum.h105 unsigned int csum; local
108 csum = word[0];
109 csum += word[1];
110 carry = (csum < word[1]);
111 csum += carry;
113 csum += word[2];
114 carry = (csum < word[2]);
115 csum += carry;
117 csum += word[3];
118 carry = (csum < wor
[all...]
/external/qemu/
H A Dnet-checksum.c59 uint16_t csum; local
83 csum = net_checksum_tcpudp(plen, proto, data+14+12, data+14+hlen);
84 data[14+hlen+csum_offset] = csum >> 8;
85 data[14+hlen+csum_offset+1] = csum & 0xff;
H A Dgdbstub.c429 int csum, i; local
437 csum = 0;
439 csum += buf[i];
442 *(p++) = tohex((csum >> 4) & 0xf);
443 *(p++) = tohex((csum) & 0xf);
2069 int i, csum; local
2123 csum = 0;
2125 csum += s->line_buf[i];
2127 if (s->line_csum != (csum & 0xff)) {
/external/valgrind/main/coregrind/m_gdbserver/
H A Dremote-utils.c648 int try_rle (char *buf, int remaining, unsigned char *csum, char **p) argument
653 *csum += buf[0];
679 *csum += '*';
681 *csum += n + 29;
694 unsigned char csum = 0; local
708 i += try_rle (buf + i, cnt - i, &csum, &p);
711 *p++ = tohex ((csum >> 4) & 0xf);
712 *p++ = tohex (csum & 0xf);
859 unsigned char csum, c1, c2; local
863 csum
[all...]
/external/kernel-headers/original/linux/
H A Dnetfilter.h279 __sum16 csum = 0; local
284 csum = afinfo->checksum(skb, hook, dataoff, protocol);
286 return csum;
295 __sum16 csum = 0; local
300 csum = afinfo->checksum_partial(skb, hook, dataoff, len,
303 return csum;
H A Dskbuff.h51 * skb->csum is undefined.
54 * skb->csum is undefined.
60 * the packet as seen by netif_rx in skb->csum.
62 * is able to produce some skb->csum, it MUST use HW,
67 * NONE: skb is checksummed by protocol or csum is not required.
69 * HW: device is required to csum packet as seen by hard_start_xmit
71 * at skb->h.raw+skb->csum.
78 * NETIF_F_IP_CSUM - device is dumb. It is able to csum only
202 * @csum: Checksum
276 csum; member in struct:sk_buff
1201 unsigned int csum = csum_and_copy_from_user(from, local
[all...]
/external/ppp/pppd/plugins/rp-pppoe/
H A Dcommon.c250 UINT16_t csum; local
312 csum = computeTCPChecksum(ipHdr, tcpHdr);
313 if (csum) {
314 syslog(LOG_ERR, "Bad TCP checksum %x", (unsigned int) csum);
380 csum = computeTCPChecksum(ipHdr, tcpHdr);
381 (* (UINT16_t *) (tcpHdr+16)) = csum;
/external/grub/stage2/
H A Dfs.h131 * N.B. sizeof(struct csum) must be a power of two in order for
134 struct csum struct
179 int fs_csmask; /* csum block offset */
180 int fs_csshift; /* csum block number */
207 struct csum fs_cstotal; /* cylinder summary information */
219 struct csum *fs_csp[MAXCSBUFS]; /* list of fs_cs info buffers */
265 * N.B. This macro assumes that sizeof(struct csum) is a power of two.
283 struct csum cg_cs; /* cylinder summary information */
332 struct csum cg_cs; /* cylinder summary information */
H A Dufs2.h225 struct csum { struct
299 struct csum fs_old_cstotal; /* cylinder summary information */
310 struct csum *fs_csp; /* cg summary info buffer for fs_cs */
/external/valgrind/main/VEX/useful/
H A Dsmchash.c34 UInt esum, csum; local
56 csum = 0;
62 csum = (csum << 1) ^ b;
68 assert(esum == csum);
/external/e2fsprogs/lib/ext2fs/
H A DAndroid.mk17 csum.c \
/external/kernel-headers/original/linux/sunrpc/
H A Dxdr.h153 unsigned int csum; member in struct:__anon7974
/external/tcpdump/
H A Dprint-ip.c276 in_cksum(const u_short *addr, register u_int len, int csum) argument
281 int sum = csum;
/external/valgrind/main/coregrind/
H A Dvgdb.c1551 unsigned char csum, c1, c2; local
1555 csum = 0;
1578 csum += c;
1580 csum += repeat;
1585 csum += c;
1593 if (csum == (c1 << 4) + c2)
1596 fprintf (stderr, "Bad checksum, sentsum=0x%x, csum=0x%x, buf=%s\n",
1597 (c1 << 4) + c2, csum, buf);
/external/ping/
H A Dping.c869 in_cksum(const u_short *addr, register int len, u_short csum) argument
874 register int sum = csum;
/external/e2fsprogs/lib/blkid/
H A Dprobe.h687 __u8 csum[BTRFS_CSUM_SIZE]; member in struct:btrfs_super_block
/external/iproute2/doc/
H A Dip-tunnels.tex261 \item \verb|csum| --- checksum tunneled packets.
H A Dip-cref.tex2421 \item \verb|csum|, \verb|icsum|, \verb|ocsum|
2426 checksum. The \verb|csum| flag is equivalent to the combination

Completed in 491 milliseconds