ssh_packet_get(9)
β¨ ssh_packet_get(9) β¨
okay so bestie, welcome to the Kernel API Manual page for ssh_packet_get(9) β yes that's the manual name, we're folding it in right here at the top so you're never confused about where you are π
π NAME π
ssh_packet_get β Increment reference count of packet.
π¦ SYNOPSIS π¦
struct ssh_packet * ssh_packet_get (struct ssh_packet *packet );
πΈ ARGUMENTS πΈ
packetβ The packet to increment the reference count of.
π DESCRIPTION π
Increments the reference count of the given packet. that's literally it, no cap β you hand it a packet, it bumps the counter up by one so the packet knows somebody else is holding onto it π«Ά
and like, if you're wondering "okay but what takes it back down??" β see ssh_packet_put for the counter-part of this function. it's giving matched set, iykyk β¨
β RETURN β
Returns the packet provided as input. same packet, same pointer, just with a shiny new refcount β iconic behavior honestly π
π SEE ALSO π
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_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 lil cutie comes from source ./drivers/platform/surface/agg... and it's dated October 2026 β so yeah, it's stamped ssh_packet_get(9) at the bottom, mwah π go increment some refcounts responsibly, ily, bye π
π¦ 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