ssh_ptl_shou...p_nak_packet(9)
π ssh_ptl_should_drop_nak_packet(9) β from the Kernel API Manual, bestie β¨
okay so picture this: it's a kernel function, it lives in the Kernel API Manual, and its whole personality is chaos for the sake of science. Let's get into it π«Ά
πΈ NAME πΈ
ssh_ptl_should_drop_nak_packet β literally the error injection hook that drops NAK packets. no cap, that's the whole job π
β¨ SYNOPSIS β¨
bool ssh_ptl_should_drop_nak_packet (void );
she takes nothing, she returns a bool, she's booked and busy π
π¦ ARGUMENTS π¦
voidβ no arguments. zero. nada. the void is the vibe here π
π₯ DESCRIPTION π₯
okay so here's the tea: this hook is useful to test/force automated (timeout-based) re-transmit by the EC. like, you're basically poking the EC with a stick to see if it notices when stuff goes missing π
specifically, it's about packets that have not reached the driver completely/with valid checksums. those ones. the messy ones π
β οΈ real talk though β it's only useful in combination with receival of (injected) bad data. don't come for her with your clean, well-behaved packets, she has nothing to say to you π
π SEE ALSO π
the kernel file herself, in all her glory:
./drivers/platform/surface/aggregator/ssh_packet_layer.c
and her whole friend group, icons only π:
ssh_ptl_should_drop_ack_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_syn(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)
and that's the whole page, bestie π«Ά this legend comes from ./drivers/platform/surface/agg... β dated October 2026 π go forth and drop those NAK packets π
π¦ 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