| Wireshark 4.7.0 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
Functions
crc10.h File Reference
`#include <wireshark.h>`

Go to the source code of this file.

## Functions
WS_DLL_PUBLIC uint16_t | update_crc10_by_bytes (uint16_t crc10, const uint8_t *data_blk_ptr, int data_blk_size)
| Update the data block's CRC-10 remainder one byte at a time.

## Detailed Description

Wireshark - Network traffic analyzer By Gerald Combs geral.nosp@m.d@wi.nosp@m.resha.nosp@m.rk.o.nosp@m.rg Copyright 1998 Gerald Combs

SPDX-License-Identifier: GPL-2.0-or-later

## Function Documentation

## ◆ update_crc10_by_bytes()

WS_DLL_PUBLIC uint16_t update_crc10_by_bytes | ( | uint16_t | crc10,
|  | const uint8_t * | data_blk_ptr,
|  | int | data_blk_size
| ) |  |

Update the data block's CRC-10 remainder one byte at a time.

Parameters

  crc10 | Initial CRC-10 remainder.
  data_blk_ptr | Pointer to the input data block.
  data_blk_size | Length of the data block in bytes.

Returns
  Updated CRC-10 remainder after processing the block.