ssh_ptl_sho...rrupt_rx_syn(9)
β¨ ssh_ptl_should_corrupt_rx_syn(9) β¨
okay so bestie, welcome to the Kernel API Manual π this one's a lil function-page and honestly it's giving "chaos agent on purpose," and we're gonna stan. periodt.
πΈ NAME πΈ
ssh_ptl_should_corrupt_rx_syn β the error injection hook that lets you simulate the EC sending straight-up invalid data ππ
π SYNOPSIS π
bool ssh_ptl_should_corrupt_rx_syn (void );
π¦ ARGUMENTS π¦
voidβ no arguments, queen. it takes literally nothing. zero. nada. an empty group chat π«Ά
π DESCRIPTION π
okay so here's the vibe: this is a hook to simulate invalid SYN bytes β like, an invalid start of messages, iykyk β and then test how the driver handles that whole situation π₯
that's it. that's the job. it makes the EC look like it's sending messy invalid data, on purpose, so you can vibe check the driver's error handling π
π SEE ALSO π
the kernel file lives right here, bestie: ./drivers/platform/surface/aggregator/ssh_packet_layer.c β¨
and here's the whole friend group, no cap β every single one of these is invited to the party π:
ssh_ptl_should_drop_ack_packet(9)ssh_ptl_should_drop_nak_packet(9)ssh_ptl_should_drop_dsq_packet(9)ssh_ptl_should_fail_write(9)ssh_ptl_should_corrupt_tx_data(9)ssh_ptl_should_corrupt_rx_data(9)ssh_packet_get(9)ssh_packet_put(9)ssh_packet_init(9)ssh_ctrl_packet_cache_init(9)ssh_ctrl_packet_cache_destroy(9)ssh_ctrl_packet_alloc(9)ssh_ctrl_packet_free(9)ssh_ptl_tx_wakeup_packet(9)ssh_ptl_tx_start(9)ssh_ptl_tx_stop(9)ssh_ptl_submit(9)ssh_ptl_cancel(9)ssh_ptl_rx_start(9)ssh_ptl_rx_stop(9)ssh_ptl_rx_rcvbuf(9)ssh_ptl_shutdown(9)ssh_ptl_init(9)ssh_ptl_destroy(9)
ngl that's a lot of siblings but every one of them ate, so. π
mwah π this page came from ./drivers/platform/surface/agg... and it's dated October 2026 β ty for reading bestie, slay and stay corrupted πππ«Ά
π¦ 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