wol_calc_crc(9)
wol_calc_crc(9) π
omg hi bestie π«Ά welcome to the Kernel API Manual page for wol_calc_crc(9) β yes, the manual name is folded right in near the top because we're cute like that. This is the WOL CRC situation and it's lowkey iconic. No cap.
πΈ NAME πΈ
wol_calc_crc β WOL CRC. That's the whole name. Short, sweet, and fully the vibe. π
β¨ SYNOPSIS β¨
Here's the exact signature, copy-paste energy, no edits:
u16 wol_calc_crc (int size , u8 *pattern , u8 *mask_pattern );
π ARGUMENTS π
okay so the args are giving tiny but important:
sizeβ size of the wake mask. Like literally the size of the wake mask, bestie.patternβ data pattern. The data pattern in question.mask_patternβ mask. Yep, the mask. π
π DESCRIPTION π
Compute the wake on lan crc hashes for the packet header we are interested in. That's the whole main character moment: it computes those WOL CRC hashes for the packet header you're interested in. No extra lore, no side quests, periodt. β¨
π SEE ALSO π
The original page points at the kernel file and then this whole group chat of references β so here they are, all of them, in order, not a single one skipped:
- Kernel file:
./drivers/net/ethernet/via/via-velocity.c mac_get_cam_mask(9)mac_set_cam_mask(9)mac_set_cam(9)mac_wol_reset(9)get_chip_name(9)velocity_set_int_opt(9)velocity_set_bool_opt(9)velocity_get_options(9)velocity_init_cam_filter(9)velocity_rx_reset(9)velocity_get_opt_media_mode(9)safe_disable_mii_autopoll(9)enable_mii_autopoll(9)velocity_mii_read(9)mii_check_media_mode(9)velocity_mii_write(9)set_mii_flow_control(9)mii_set_auto_on(9)velocity_set_media_mode(9)velocity_print_link_status(9)enable_flow_control_ability(9)velocity_soft_reset(9)velocity_set_multi(9)mii_init(9)setup_queue_timers(9)setup_adaptive_interrupts(9)velocity_init_registers(9)velocity_init_dma_rings(9)velocity_alloc_rx_buf(9)velocity_free_rd_ring(9)velocity_init_rd_ring(9)velocity_init_td_ring(9)velocity_free_dma_rings(9)velocity_free_tx_buf(9)velocity_free_td_ring(9)velocity_error(9)velocity_tx_srv(9)velocity_rx_csum(9)velocity_rx_copy(9)velocity_iph_realign(9)velocity_receive_frame(9)velocity_rx_srv(9)velocity_intr(9)velocity_open(9)velocity_shutdown(9)velocity_change_mtu(9)velocity_poll_controller(9)velocity_mii_ioctl(9)velocity_ioctl(9)velocity_get_stats(9)velocity_close(9)velocity_xmit(9)velocity_init_info(9)velocity_get_pci_info(9)velocity_get_platform_info(9)velocity_print_info(9)velocity_probe(9)velocity_remove(9)velocity_set_wol(9)velocity_save_context(9)velocity_restore_context(9)velocity_ethtool_up(9)velocity_ethtool_down(9)velocity_init_module(9)velocity_cleanup_module(9)
mwah π and that's the page! source/version vibe: ./drivers/net/ethernet/via; date: October 2026; title: wol_calc_crc(9). byeee π«Άπ
π¦ 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