crc_ccitt(9)
π crc_ccitt β the manual, but make it make sense
okay so bestie, welcome to the Kernel API Manual entry for crc_ccitt(9) β yes that "9" means it's a kernel thing, we're in the big leagues now π«Ά
β¨ NAME β¨
crc_ccitt β recompute the CRC (CRC-CCITT variant) for the data buffer π
like, literally it takes your buffer and redoes the checksum math on it. that's the whole vibe check.
πΈ SYNOPSIS πΈ
u16 crc_ccitt (u16 crc , u8 const *buffer , size_t len );
look at her. three args, returns a u16. iconic. no cap.
π¦ ARGUMENTS π¦
crcβ the previous CRC value π this is the one you're carrying in from before, bestie, not a fresh onebufferβ data pointer β¨ literally where your bytes livelenβ number of bytes in the buffer π count them. carefully.
π§ SEE ALSO π§
- Kernel file
./lib/crc/crc-ccitt.cβ the source, the origin story, the main character π
ngl if you're poking at kernel CRC code you're already kind of slaying, just saying π
and that's the page, periodt π source is ./lib/crc, dated October 2026, filed under crc_ccitt(9) β go forth and checksum responsibly, ily, bye π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms