Something went wrong. Try again.
(I'm so sorry!) Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Something went wrong. Try again.
C
12345678910111213141516171819202122/* SPDX-License-Identifier: GPL-2.0-only *//* * crc16.h - CRC-16 routine * * Implements the standard CRC-16: * Width 16 * Poly 0x8005 (x^16 + x^15 + x^2 + 1) * Init 0 * * Copyright (c) 2005 Ben Gardner <bgardner@wabtec.com> */
#ifndef __CRC16_H#define __CRC16_H
#include <linux/types.h>
u16 crc16(u16 crc, const u8 *p, size_t len);
#endif /* __CRC16_H */