Home
last modified time | relevance | path

Searched refs:chksum (Results 1 – 25 of 66) sorted by relevance

123

/external/u-boot/board/gateworks/gw_ventana/
Deeprom.c21 int chksum; in read_eeprom() local
53 for (chksum = 0, i = 0; i < sizeof(*info)-2; i++) in read_eeprom()
54 chksum += buf[i]; in read_eeprom()
55 if ((info->chksum[0] != chksum>>8) || in read_eeprom()
56 (info->chksum[1] != (chksum&0xff))) { in read_eeprom()
165 int chksum; in do_econfig() local
169 for (chksum = 0, i = 0; i < sizeof(*info)-2; i++) in do_econfig()
170 chksum += buf[i]; in do_econfig()
172 (info->chksum[0] << 8) | info->chksum[1]); in do_econfig()
173 debug("new chksum:0x%04x\n", chksum); in do_econfig()
[all …]
/external/u-boot/common/
Ds_record.c18 unsigned char chksum; /* buffer for checksum */ in srec_decode() local
20 chksum = 0; in srec_decode()
42 chksum += *count; in srec_decode()
95 chksum += v; in srec_decode()
105 chksum += v; in srec_decode()
117 chksum += v; in srec_decode()
125 chksum += v; in srec_decode()
139 chksum += v; in srec_decode()
148 if ((unsigned char)v != (unsigned char)~chksum) { in srec_decode()
/external/tcpdump/tests/
Deigrp1-v.out3 EIGRP v2, opcode: Hello (5), chksum: 0xee68, Flags: [none]
11 EIGRP v2, opcode: Hello (5), chksum: 0xee68, Flags: [none]
19 EIGRP v2, opcode: Hello (5), chksum: 0xee68, Flags: [none]
27 EIGRP v2, opcode: Hello (5), chksum: 0xee68, Flags: [none]
35 EIGRP v2, opcode: Hello (5), chksum: 0xee68, Flags: [none]
43 EIGRP v2, opcode: Hello (5), chksum: 0xee68, Flags: [none]
51 EIGRP v2, opcode: Hello (5), chksum: 0xee68, Flags: [none]
59 EIGRP v2, opcode: Hello (5), chksum: 0xee68, Flags: [none]
67 EIGRP v2, opcode: Hello (5), chksum: 0xee68, Flags: [none]
75 EIGRP v2, opcode: Hello (5), chksum: 0xee68, Flags: [none]
[all …]
Deigrp3-v.out3 EIGRP v2, opcode: Hello (5), chksum: 0xee68, Flags: [none]
11 EIGRP v2, opcode: Hello (5), chksum: 0xee68, Flags: [none]
19 EIGRP v2, opcode: Hello (5), chksum: 0xee68, Flags: [none]
27 EIGRP v2, opcode: Hello (5), chksum: 0xee68, Flags: [none]
35 EIGRP v2, opcode: Hello (5), chksum: 0xee68, Flags: [none]
43 EIGRP v2, opcode: Hello (5), chksum: 0xee68, Flags: [none]
51 EIGRP v2, opcode: Hello (5), chksum: 0xee68, Flags: [none]
59 EIGRP v2, opcode: Update (1), chksum: 0x7876, Flags: [none]
66 EIGRP v2, opcode: Hello (5), chksum: 0xfd62, Flags: [none]
70 EIGRP v2, opcode: Query (3), chksum: 0x5f7e, Flags: [none]
[all …]
Deigrp4-v.out3 EIGRP v2, opcode: Hello (5), chksum: 0xee68, Flags: [none]
11 EIGRP v2, opcode: Hello (5), chksum: 0xee68, Flags: [none]
19 EIGRP v2, opcode: Hello (5), chksum: 0xee68, Flags: [none]
27 EIGRP v2, opcode: Update (1), chksum: 0x0a7e, Flags: [none]
34 EIGRP v2, opcode: Update (1), chksum: 0xa67a, Flags: [none]
41 EIGRP v2, opcode: Hello (5), chksum: 0xfd69, Flags: [none]
45 EIGRP v2, opcode: Hello (5), chksum: 0xfd67, Flags: [none]
49 EIGRP v2, opcode: Hello (5), chksum: 0xee68, Flags: [none]
57 EIGRP v2, opcode: Update (1), chksum: 0x7878, Flags: [none]
64 EIGRP v2, opcode: Hello (5), chksum: 0xfd64, Flags: [none]
[all …]
Deigrp2-v.out3 EIGRP v2, opcode: Hello (5), chksum: 0xee68, Flags: [none]
11 EIGRP v2, opcode: Hello (5), chksum: 0xee68, Flags: [none]
19 EIGRP v2, opcode: Hello (5), chksum: 0xee68, Flags: [none]
27 EIGRP v2, opcode: Hello (5), chksum: 0xee68, Flags: [none]
35 EIGRP v2, opcode: Hello (5), chksum: 0xee68, Flags: [none]
43 EIGRP v2, opcode: Hello (5), chksum: 0xee68, Flags: [none]
51 EIGRP v2, opcode: Hello (5), chksum: 0xee68, Flags: [none]
59 EIGRP v2, opcode: Hello (5), chksum: 0xee68, Flags: [none]
67 EIGRP v2, opcode: Hello (5), chksum: 0xf167, Flags: [none]
75 EIGRP v2, opcode: Hello (5), chksum: 0xee68, Flags: [none]
[all …]
Disis_infloop-v.out6 chksum: 0xffff (incorrect should be 0x0fe8), PDU length: 65535, Flags: [ L1 IS ]
13 chksum: 0xffff (incorrect should be 0x0fe8), PDU length: 65535, Flags: [ L1 IS ]
20 chksum: 0xffff (incorrect should be 0x0fe8), PDU length: 65535, Flags: [ L1 IS ]
27 chksum: 0xffff (incorrect should be 0x0fe8), PDU length: 65535, Flags: [ L1 IS ]
34 chksum: 0xffff (incorrect should be 0x0fe8), PDU length: 65535, Flags: [ L1 IS ]
Disis_4-v.out164 chksum: 0x1da8 (correct), PDU length: 74, Flags: [ L2 IS ]
181 chksum: 0x378e (correct), PDU length: 74, Flags: [ L2 IS ]
198 chksum: 0x4382 (correct), PDU length: 74, Flags: [ L2 IS ]
215 chksum: 0xf4cf (correct), PDU length: 74, Flags: [ L2 IS ]
235 lsp-id: 1111.1111.1111.00-00, seq: 0x00000007, lifetime: 1198s, chksum: 0x1da8
236 lsp-id: 2222.2222.2222.00-00, seq: 0x00000005, lifetime: 1199s, chksum: 0x4382
243 lsp-id: 1111.1111.1111.00-00, seq: 0x00000007, lifetime: 1199s, chksum: 0x1da8
244 lsp-id: 2222.2222.2222.00-00, seq: 0x00000005, lifetime: 1198s, chksum: 0x4382
251 lsp-id: 1111.1111.1111.00-00, seq: 0x00000007, lifetime: 1199s, chksum: 0x378e
252 lsp-id: 2222.2222.2222.00-00, seq: 0x00000006, lifetime: 1198s, chksum: 0xf4cf
[all …]
Disis_1-v.out7 lsp-id: 2222.2222.2222.00-00, seq: 0x0000000e, lifetime: 1184s, chksum: 0x5910
8 lsp-id: 3333.3333.3333.00-00, seq: 0x00000010, lifetime: 1147s, chksum: 0x1749
9 lsp-id: 3333.3333.3333.02-00, seq: 0x00000004, lifetime: 634s, chksum: 0x7f9f
96 lsp-id: 2222.2222.2222.00-00, seq: 0x0000000e, lifetime: 1174s, chksum: 0x5910
97 lsp-id: 3333.3333.3333.00-00, seq: 0x00000010, lifetime: 1137s, chksum: 0x1749
98 lsp-id: 3333.3333.3333.02-00, seq: 0x00000004, lifetime: 624s, chksum: 0x7f9f
142 chksum: 0xb503 (correct), PDU length: 136, Flags: [ L1 IS ]
208 lsp-id: 2222.2222.2222.00-00, seq: 0x0000000f, lifetime: 1194s, chksum: 0xb503
209 lsp-id: 3333.3333.3333.00-00, seq: 0x00000010, lifetime: 1130s, chksum: 0x1749
210 lsp-id: 3333.3333.3333.02-00, seq: 0x00000004, lifetime: 616s, chksum: 0x7f9f
Disis_3-v.out136 chksum: 0xf252 (correct), PDU length: 100, Flags: [ L2 IS ]
156 chksum: 0x7ef7 (correct), PDU length: 52, Flags: [ L2 IS ]
164 chksum: 0x24b1 (correct), PDU length: 100, Flags: [ L2 IS ]
227 lsp-id: 3333.3333.3333.00-00, seq: 0x00000009, lifetime: 1192s, chksum: 0x24b1
228 lsp-id: 4444.4444.4444.00-00, seq: 0x0000000a, lifetime: 1194s, chksum: 0xf252
229 lsp-id: 4444.4444.4444.01-00, seq: 0x00000003, lifetime: 1194s, chksum: 0x7ef7
336 lsp-id: 3333.3333.3333.00-00, seq: 0x00000009, lifetime: 1183s, chksum: 0x24b1
337 lsp-id: 4444.4444.4444.00-00, seq: 0x0000000a, lifetime: 1185s, chksum: 0xf252
338 lsp-id: 4444.4444.4444.01-00, seq: 0x00000003, lifetime: 1185s, chksum: 0x7ef7
425 lsp-id: 3333.3333.3333.00-00, seq: 0x00000009, lifetime: 1174s, chksum: 0x24b1
[all …]
/external/swiftshader/third_party/LLVM/test/Transforms/IndVarSimplify/
Dvariable-stride-ivs-1.ll14 %chksum.0 = phi i8 [ 0, %entry ], [ %conv3, %if.end ] ; <i8> [#uses=3]
23 %conv3 = add i8 %chksum.0, %i.02 ; <i8> [#uses=1]
28 …%chksum.2 = phi i8 [ undef, %do.cond ], [ %chksum.0, %for.body ], [ %chksum.0, %for.cond ] ; <i8>…
35 %chksum.13 = phi i8 [ undef, %while.body ], [ %chksum.2, %bb.nph ] ; <i8> [#uses=0]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/IndVarSimplify/
Dvariable-stride-ivs-1.ll14 %chksum.0 = phi i8 [ 0, %entry ], [ %conv3, %if.end ] ; <i8> [#uses=3]
23 %conv3 = add i8 %chksum.0, %i.02 ; <i8> [#uses=1]
28 …%chksum.2 = phi i8 [ undef, %do.cond ], [ %chksum.0, %for.body ], [ %chksum.0, %for.cond ] ; <i8>…
35 %chksum.13 = phi i8 [ undef, %while.body ], [ %chksum.2, %bb.nph ] ; <i8> [#uses=0]
/external/llvm/test/Transforms/IndVarSimplify/
Dvariable-stride-ivs-1.ll14 %chksum.0 = phi i8 [ 0, %entry ], [ %conv3, %if.end ] ; <i8> [#uses=3]
23 %conv3 = add i8 %chksum.0, %i.02 ; <i8> [#uses=1]
28 …%chksum.2 = phi i8 [ undef, %do.cond ], [ %chksum.0, %for.body ], [ %chksum.0, %for.cond ] ; <i8>…
35 %chksum.13 = phi i8 [ undef, %while.body ], [ %chksum.2, %bb.nph ] ; <i8> [#uses=0]
/external/scapy/doc/scapy/
Dfunctions.rst15 2. build an UDP packet with Scapy with p[UDP].chksum=0
25 checksum_scapy = packet[UDP].chksum
28 packet = IP(dst="10.11.12.13", src="10.11.12.14")/UDP(chksum=0)/DNS()
32chksum = in4_chksum(socket.IPPROTO_UDP, packet[IP], udp_raw) # For more infos, call "help(in4_chk…
34 assert(checksum_scapy == chksum)
/external/scapy/test/
Dipsec.uts31 assert(e.chksum != p.chksum)
62 assert(e.chksum != p.chksum)
114 assert(e.chksum != p.chksum)
166 assert(e.chksum != p.chksum)
218 assert(e.chksum != p.chksum)
269 assert(e.chksum != p.chksum)
320 assert(e.chksum != p.chksum)
377 assert(e.chksum != p.chksum)
410 assert(e.chksum != p.chksum)
445 assert(e.chksum != p.chksum)
[all …]
/external/squashfs-tools/squashfs-tools/
Dprocess_fragments.c63 unsigned short chksum = 0; in checksum_sparse() local
67 chksum = (chksum & 1) ? (chksum >> 1) | 0x8000 : chksum >> 1; in checksum_sparse()
71 chksum += value; in checksum_sparse()
75 file_buffer->checksum = chksum; in checksum_sparse()
/external/scapy/scapy/modules/
Dnmap.py117 res["RIPCK"] = "E" if snd.chksum == rcv[IPerror].chksum else (
118 "0" if rcv[IPerror].chksum == 0 else "F"
120 res["UCK"] = "E" if snd.payload.chksum == rcv[UDPerror].chksum else (
121 "0" if rcv[UDPerror].chksum == 0 else "F"
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/cpio/
DCpioArchiveEntry.java164 private long chksum = 0; field in CpioArchiveEntry
380 return this.chksum & 0xFFFFFFFFL; in getChksum()
719 public void setChksum(final long chksum) { in setChksum() argument
721 this.chksum = chksum & 0xFFFFFFFFL; in setChksum()
/external/u-boot/arch/x86/cpu/tangier/
Dsdram.c27 char chksum = 0; in sfi_table_check() local
38 chksum += *pos++; in sfi_table_check()
40 if (chksum) in sfi_table_check()
44 return chksum ? -EILSEQ : 0; in sfi_table_check()
/external/u-boot/net/
Dcdp.c113 ushort chksum; in cdp_send_trigger() local
212 chksum = cdp_compute_csum((uchar *)net_tx_packet + len, in cdp_send_trigger()
214 if (chksum == 0) in cdp_send_trigger()
215 chksum = 0xFFFF; in cdp_send_trigger()
216 *cp = htons(chksum); in cdp_send_trigger()
/external/curl/src/
Dtool_metalink.c680 metalink_checksum *chksum; in new_metalink_checksum_from_hex_digest() local
691 chksum = malloc(sizeof(metalink_checksum)); in new_metalink_checksum_from_hex_digest()
692 if(chksum) { in new_metalink_checksum_from_hex_digest()
693 chksum->digest_def = digest_def; in new_metalink_checksum_from_hex_digest()
694 chksum->digest = digest; in new_metalink_checksum_from_hex_digest()
698 return chksum; in new_metalink_checksum_from_hex_digest()
947 static void delete_metalink_checksum(metalink_checksum *chksum) in delete_metalink_checksum() argument
949 if(chksum == NULL) { in delete_metalink_checksum()
952 Curl_safefree(chksum->digest); in delete_metalink_checksum()
953 Curl_safefree(chksum); in delete_metalink_checksum()
/external/u-boot/disk/
Dpart_iso.c53 unsigned short chksum; in part_get_info_iso_verb() local
111 chksum=0; in part_get_info_iso_verb()
114 chksum += le16_to_cpu(chksumbuf[i]); in part_get_info_iso_verb()
115 if(chksum!=0) { in part_get_info_iso_verb()
/external/autotest/client/site_tests/hardware_UsbMount/
Dhardware_UsbMount.py60 chksum = storage_mod.checksum_file(self._tmpfile)
85 if chksum != storage_mod.checksum_file(self._tmpfile):
110 if chksum != storage_mod.checksum_file(self._tmpfile):
/external/scapy/scapy/contrib/
Dospf.py86 if self.chksum is None:
200 if self.chksum is None:
281 if self.chksum is None:
282 chksum = ospf_lsa_checksum(p)
283 p = p[:16] + chksum + p[18:]
457 if self.chksum is None:
458 chksum = in6_chksum(89, self.underlayer, p)
459 p = p[:12] + struct.pack("!H", chksum) + p[14:]
/external/libavc/test/encoder/
Denc.cfg4 --chksum chksum.md5

123