Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Functions
crc10-tvb.h File Reference
#include "ws_symbol_export.h"

Go to the source code of this file.

Functions

WS_DLL_PUBLIC uint16_t update_crc10_by_bytes_tvb (uint16_t crc10, tvbuff_t *tvb, int offset, int len)
 Update CRC-10 value based on bytes from a tvbuff.
 

Detailed Description

Declaration of CRC-10 tvbuff routines

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_tvb()

WS_DLL_PUBLIC uint16_t update_crc10_by_bytes_tvb ( uint16_t  crc10,
tvbuff_t tvb,
int  offset,
int  len 
)

Update CRC-10 value based on bytes from a tvbuff.

Parameters
crc10Current CRC-10 value.
tvbPointer to the tvbuff containing the data.
offsetOffset within the tvbuff where the data starts.
lenLength of the data in bytes.
Returns
Updated CRC-10 value.