ssh_ptl_shou...p_nak_packet(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 🌈:


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