sshp_buf_init(9)
π NAME π
okay so bestie, this is sshp_buf_init(9) from the Kernel API Manual β and it's literally the setup bestie for an SSH parser buffer. No cap.
sshp_buf_init β Initialize a SSH parser buffer. periodt.
β¨ SYNOPSIS β¨
void sshp_buf_init (struct sshp_buf *buf , u8 *ptr , size_t cap );
π ARGUMENTS π
bufβ the buffer you're initializing, bestie. that's the main character here πptrβ the memory backing the buffer. like, the actual memory it gets to use π«Άcapβ the length of the memory backing the buffer, i.e. its capacity. yes, capacity is the vibe π₯
π¦ DESCRIPTION π¦
Initializes the buffer with the given memory as backing, and sets its used length to zero. that's it. that's the whole slay β¨
π SEE ALSO π
the kernel file is ./drivers/platform/surface/aggregator/ssh_parser.h, and the related pages are:
struct sshp_buf(9)sshp_buf_alloc(9)sshp_buf_free(9)sshp_buf_drop(9)sshp_buf_read_from_fifo(9)sshp_buf_span_from(9)
mwah π cute little sign-off time: source/version is ./drivers/platform/surface/agg..., date is October 2026, and yes, this page is still sshp_buf_init(9) π
π¦ 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