summaryrefslogtreecommitdiffstats
path: root/isisd/iso_checksum.h
diff options
context:
space:
mode:
Diffstat (limited to 'isisd/iso_checksum.h')
-rw-r--r--isisd/iso_checksum.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/isisd/iso_checksum.h b/isisd/iso_checksum.h
new file mode 100644
index 0000000..9dcb039
--- /dev/null
+++ b/isisd/iso_checksum.h
@@ -0,0 +1,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 */