__ppp_decompress_proto(9)
π
__ppp_decompress_proto(9) π«Ά
okay bestie, welcome to the Kernel API Manual page for __ppp_decompress_proto β itβs giving tiny-but-mighty helper energy β¨.
πΈ NAME πΈ
__ppp_decompress_proto β decompress protocol field, slim version π
β¨ SYNOPSIS β¨
void __ppp_decompress_proto (struct sk_buff *skb );
π ARGUMENTS π
skbβ the socket buffer where the protocol field should be decompressed, bestie. It must have at least 1 byte of head room and 1 byte of linear data. The first byte of data must be a protocol field byte, no cap π .
π¦ DESCRIPTION π¦
This function decompresses the protocol field in the PPP header if itβs compressed β like when Protocol-Field-Compression (PFC) was negotiated β¨.
π¨ lowkey important: no checks w.r.t. skb data length are done in this function. It is not doing a vibe check on your buffer length, so the length-checking situation is fully on you, fr fr π.
π SEE ALSO π
- Kernel file
./drivers/net/ppp/ppp_generic.c ppp_decompress_proto(9)
Thatβs the whole page, bestie π«Ά. Signing off from ./drivers/net/ppp, October 2026, on page __ppp_decompress_proto(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