/external/iptables/extensions/ |
libxt_CHECKSUM.man | 4 \fB\-\-checksum\-fill\fP 5 Compute and fill in the checksum in a packet that lacks a checksum. 7 such as dhcp clients, that do not work well with checksum offloads, 8 but don't want to disable checksum offload in your device.
|
libxt_CHECKSUM.c | 1 /* Shared library add-on to xtables for CHECKSUM 22 "CHECKSUM target options\n" 23 " --checksum-fill Fill in packet checksum.\n"); 27 {.name = "checksum-fill", .id = O_CHECKSUM_FILL, 46 printf(" CHECKSUM"); 58 printf(" --checksum-fill"); 62 .name = "CHECKSUM",
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
nvram.h | 7 #define NVRAM_INIT _IO('p', 0x40) /* initialize NVRAM and set checksum */ 8 #define NVRAM_SETCKS _IO('p', 0x41) /* recalculate checksum */
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
nvram.h | 7 #define NVRAM_INIT _IO('p', 0x40) /* initialize NVRAM and set checksum */ 8 #define NVRAM_SETCKS _IO('p', 0x41) /* recalculate checksum */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
nvram.h | 7 #define NVRAM_INIT _IO('p', 0x40) /* initialize NVRAM and set checksum */ 8 #define NVRAM_SETCKS _IO('p', 0x41) /* recalculate checksum */
|
/external/stressapptest/src/ |
adler32memcpy.h | 21 // Encapsulation for Adler checksum. Please see adler32memcpy.cc for more 22 // detail on the adler checksum algorithm. 29 // Returns string representation of the Adler checksum 31 // Sets components of the Adler checksum. 35 // Components of Adler checksum. 41 // Calculates Adler checksum for supplied data. 43 AdlerChecksum *checksum); 47 unsigned int size_in_bytes, AdlerChecksum *checksum); 52 unsigned int size_in_bytes, AdlerChecksum *checksum); 56 unsigned int size_in_bytes, AdlerChecksum *checksum); [all...] |
/external/android-clat/ |
checksum.c | 16 * checksum.c - ipv4/ipv6 checksum calculation 27 #include "checksum.h" 30 * adds data to a checksum 31 * current - the current checksum (or 0 to start a new checksum) 32 * data - the data to add to the checksum 36 uint32_t checksum = current; local 41 checksum += *data_16; 46 checksum += *(uint8_t *)data_16 [all...] |
translate.c | 31 #include "checksum.h" 38 * calculates the checksum over all the packet components starting from pos 39 * checksum - checksum of packet components before pos 40 * packet - packet to calculate the checksum of 42 * returns - the completed 16-bit checksum, ready to write into a checksum header field 44 uint16_t packet_checksum(uint32_t checksum, clat_packet packet, int pos) { 48 checksum = ip_checksum_add(checksum, packet[i].iov_base, packet[i].iov_len) [all...] |
translate.h | 34 // Calculates the checksum over all the packet components starting from pos. 35 uint16_t packet_checksum(uint32_t checksum, clat_packet packet, int pos); 51 int icmp_to_icmp6(clat_packet out, int pos, const struct icmphdr *icmp, uint32_t checksum, 53 int icmp6_to_icmp(clat_packet out, int pos, const struct icmp6_hdr *icmp6, uint32_t checksum, 57 int tcp_packet(clat_packet out, int pos, const struct tcphdr *tcp, uint32_t checksum, size_t len); 58 int udp_packet(clat_packet out, int pos, const struct udphdr *udp, uint32_t checksum, size_t len); 61 uint32_t checksum, const char *payload, size_t payload_size); 62 int udp_translate(clat_packet out, int pos, const struct udphdr *udp, uint32_t checksum,
|
/libcore/luni/src/main/java/java/util/zip/ |
CheckedOutputStream.java | 24 * The {@code CheckedOutputStream} class is used to maintain a running checksum 25 * of all data written to a stream. The purpose of this checksum is to establish 26 * data integrity, by publishing the checksum to other parties wanting to read 31 private final Checksum check; 35 * {@code os}. The checksum is calculated using the algorithm implemented 39 * the output stream to calculate checksum for. 41 * an entity implementing the checksum algorithm. 43 public CheckedOutputStream(OutputStream os, Checksum cs) { 49 * Returns the checksum calculated on the stream read so far. 51 * @return the updated checksum [all...] |
Checksum.java | 21 * The interface common to checksum classes such as {@link Adler32} and {@link CRC32}. 23 public interface Checksum { 26 * Returns the current calculated checksum value. 28 * @return the checksum. 33 * Resets the checksum value applied before beginning calculations on a new 39 * Updates the checksum with the given bytes. 51 * Updates the checksum value with the given byte. 54 * the byte to update the checksum with.
|
CheckedInputStream.java | 25 * The {@code CheckedInputStream} class is used to maintain a checksum at the 26 * same time as the data, on which the checksum is computed, is read from a 27 * stream. The purpose of this checksum is to establish data integrity, 28 * comparing the computed checksum against a published checksum value. 32 private final Checksum check; 36 * {@code is}. The checksum will be calculated using the algorithm 43 * the input stream to calculate checksum from. 45 * an entity implementing the checksum algorithm. 47 public CheckedInputStream(InputStream is, Checksum csum) [all...] |
Adler32.java | 23 * The Adler-32 class is used to compute the {@code Adler32} checksum from a set 27 public class Adler32 implements Checksum { 32 * Returns the {@code Adler32} checksum for all input received. 34 * @return The checksum for this instance. 41 * Reset this instance to its initial checksum. 48 * Update this {@code Adler32} checksum with the single byte provided as 52 * the byte to update checksum with. 59 * Update this {@code Adler32} checksum using the contents of {@code buf}. 62 * bytes to update checksum with. 69 * Update this {@code Adler32} checksum with the contents of {@code buf} [all...] |
CRC32.java | 23 * The CRC32 class is used to compute a CRC32 checksum from data provided as 26 public class CRC32 implements Checksum { 33 * Returns the CRC32 checksum for all input received. 35 * @return The checksum for this instance. 42 * Resets the CRC32 checksum to it initial state. 50 * Updates this checksum with the byte value provided as integer. 53 * represents the byte to update the checksum. 60 * Updates this checksum with the bytes contained in buffer {@code buf}. 63 * the buffer holding the data to update the checksum with. 70 * Update this {@code CRC32} checksum with the contents of {@code buf} [all...] |
/external/chromium_org/native_client_sdk/src/build_tools/json/ |
naclsdk_manifest.json | 12 "checksum": { 20 "checksum": { 28 "checksum": { 46 "checksum": { 64 "checksum": { 72 "checksum": { 80 "checksum": { 98 "checksum": { 106 "checksum": { 114 "checksum": [all...] |
/external/chromium_org/base/metrics/ |
bucket_ranges_unittest.cc | 20 EXPECT_EQ(0u, ranges.checksum()); 48 // Checksum does not match. 58 TEST(BucketRangesTest, Checksum) { 65 EXPECT_EQ(289217253u, ranges.checksum()); 71 EXPECT_EQ(2843835776u, ranges.checksum()); 79 uint32 checksum = i; local 82 if (checksum & 1) 83 checksum = kReversedPolynomial ^ (checksum >> 1); 85 checksum >>= 1 [all...] |
/external/openssh/regress/ |
stderr-after-eof.sh | 11 CHECKSUM=md5sum 13 CHECKSUM="openssl md5" 15 CHECKSUM=cksum 17 CHECKSUM=sum 19 fatal "No checksum program available, aborting $tid test" 26 (date;echo $i) | $CHECKSUM >> ${DATA}
|
/external/dropbear/libtomcrypt/src/mac/pmac/ |
pmac_done.c | 39 /* xor Lr against the checksum */ 41 state->checksum[x] ^= state->block[x] ^ state->Lr[x]; 46 state->checksum[x] ^= state->block[x]; 48 state->checksum[x] ^= 0x80; 52 if ((err = cipher_descriptor[state->cipher_idx].ecb_encrypt(state->checksum, state->checksum, &state->key)) != CRYPT_OK) { 59 out[x] = state->checksum[x];
|
/external/e2fsprogs/tests/f_illitable_flexbg/ |
expect.1 | 4 Group descriptor 0 checksum is invalid. FIXED. 9 Group descriptor 1 checksum is invalid. FIXED. 10 Group descriptor 2 checksum is invalid. FIXED. 11 Group descriptor 3 checksum is invalid. FIXED. 15 Group descriptor 1 checksum is invalid. FIXED.
|
/external/chromium_org/chrome/browser/chromeos/login/ |
hwid_checker.cc | 31 char checksum[5]; local 33 snprintf(checksum, 5, "%04u", crc32 % 10000); 35 return checksum; 40 std::string checksum; local 41 if (!RE2::FullMatch(hwid, "([\\s\\S]*) (\\d{4})", &body, &checksum)) 43 return CalculateHWIDv2Checksum(body) == checksum; 55 std::string checksum; local 56 checksum += base32_alphabet[(crc32 >> 5) & 0x1f]; 57 checksum += base32_alphabet[crc32 & 0x1f]; 58 return checksum; 74 std::string checksum = local 84 std::string checksum; local 95 std::string not_checksum, checksum; local [all...] |
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/ |
crc.h | 14 * Checksum functions 26 * This function returns a 32 bit CRC checksum of a bit stream 33 * - crc : checksum
|
/external/chromium_org/chrome/browser/nacl_host/test/ |
gdb_rsp.py | 13 checksum = 0 15 checksum = (checksum + ord(char)) % 0x100 16 return checksum 59 checksum = match.group(2) 61 if checksum != expected_checksum: 62 raise AssertionError('Bad RSP checksum: %r != %r' % 63 (checksum, expected_checksum))
|
/external/genext2fs/ |
test.sh | 19 checksum=$1 21 if [ x$md5 = x$checksum ] ; then 31 # Usage: dtest file-size number-of-blocks correct-checksum 33 size=$1; blocks=$2; checksum=$3 36 md5cmp $checksum 43 # Usage: ftest spec-file number-of-blocks correct-checksum 45 fname=$1; blocks=$2; checksum=$3 48 md5cmp $checksum
|
/external/kernel-headers/original/linux/ |
nvram.h | 7 #define NVRAM_INIT _IO('p', 0x40) /* initialize NVRAM and set checksum */ 8 #define NVRAM_SETCKS _IO('p', 0x41) /* recalculate checksum */
|
/external/chromium_org/net/tools/testserver/ |
echo_message.py | 7 This program has classes and functions to encode, decode, calculate checksum 14 <version><checksum><payload_size><payload>. <version> is the version number 15 of the "echo request" protocol. <checksum> is the checksum of the <payload>. 19 <version><checksum><payload_size><key><encoded_payload>.<version>, 20 <checksum> and <payload_size> are same as what is in the "echo request" message. 36 This class knows how to parse the checksum, payload_size from the 37 "echo request" and "echo response" messages. It holds the checksum, 44 # This specifies the starting position of the checksum and length of the 45 # checksum. Maximum value for the checksum is less than (2 ** 31 - 1) [all...] |