ssh_ptl_submit(9)
β¨ ssh_ptl_submit(9) β NAME β¨
okay so bestie, welcome to the ssh_ptl_submit page of the Kernel API Manual π
β yes that's the manual section she lives in, we're not copying the header line, we're honoring it. Anyway.
ssh_ptl_submit β submit a packet to the transport layer π«Ά
πΈ SYNOPSIS πΈ
int ssh_ptl_submit (struct ssh_ptl *ptl , struct ssh_packet *p );
π ARGUMENTS π
ptlβ the packet transport layer you're submitting the packet to. your chosen destination, your main character layer πpβ the packet you're submitting. the little guy herself π¦
π« DESCRIPTION π«
So what she does: she submits a new packet to the transport layer and queues it up to be sent. literally just adding it to the queue, that's the whole vibe.
β οΈ But be so fr right now β this function should not be used for re-submission. That's not her job. Don't do it. π
π₯ RETURN π₯
Here's the vibe check on what she hands back π
- zero β success, we ate, slay β¨
-EINVALβ a packet field is invalid, or the packet has been canceled prior to submission. invalid, bestie π-EALREADYβ uh, this packet has already been submitted. been there, done that, we're not doing it again π-ESHUTDOWNβ the packet transport layer has been shut down. she's closed, the lights are off, go home π«Ά
π SEE ALSO π
Kernel file:
./drivers/platform/surface/aggregator/ssh_packet_layer.c
and the whole friend group, no cap:
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_start(9),ssh_ptl_tx_stop(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, periodt π she's from ./drivers/platform/surface/agg... (the path got a lil truncated, iykyk π§), dated October 2026, and she answers to ssh_ptl_submit(9). bye bestie, happy submitting, not re-submitting πΈπ
π¦ 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