summaryrefslogtreecommitdiffstats
path: root/isisd/iso_checksum.h
blob: 9dcb039bf11afd47901f5c639e3c804777fd4e03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * IS-IS Rout(e)ing protocol - iso_checksum.c
 *                             ISO checksum related routines
 *
 * Copyright (C) 2001,2002   Sampo Saaristo
 *                           Tampere University of Technology
 *                           Institute of Communications Engineering
 */
#ifndef _ZEBRA_ISO_CSUM_H
#define _ZEBRA_ISO_CSUM_H

int iso_csum_verify(uint8_t *buffer, int len, uint16_t csum, int offset);

#endif /* _ZEBRA_ISO_CSUM_H */