ssh_packet_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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


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