ssh_ptl_tx_start(9)
π ssh_ptl_tx_start(9) β like, the whole Kernel API Manual vibe, but make it make sense π
okay so bestie, picture this: it's a kernel API manual page, it lives in the Kernel API Manual (that's the manual name, not me being dramatic), and today's main character is ssh_ptl_tx_start β the little function that gets your packet transmitter thread up and running. she's the beginning of the story, fr fr. β¨
πΈ NAME πΈ
ssh_ptl_tx_start β Start packet transmitter thread. that's the whole job. no cap. π
β¨ SYNOPSIS β¨
int ssh_ptl_tx_start (struct ssh_ptl *ptl );
one function, one pointer, one int coming back at you. iconic minimalism. π¦
π ARGUMENTS π
ptlβ The packet transport layer. that's it, that's the whole argument list. she takes the PTL (packet transport layer) and she gets to work. π
π«Ά RETURN π«Ά
Returns zero on success, and a negative error code on failure. so like β 0 = slay, < 0 = something went sideways. keep an eye on that return value, bestie, it's literally telling you how it went. π
π SEE ALSO π
the whole friend group, and yes I'm listing every single one because we don't do "etc." in this house π§:
- Kernel file
./drivers/platform/surface/aggregator/ssh_packet_layer.c 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_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_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)
lowkey if you're starting the tx thread you're gonna want ssh_ptl_tx_stop(9) too β balance, bestie. π
and that's the page!! π this lil beauty came out of ./drivers/platform/surface/agg... and it's dated October 2026 β so go forth, start that transmitter thread, and remember: 0 on success, negative on failure, periodt. ππ₯
π¦ 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