ppp_skb_is_compressed_proto(9)
π ppp_skb_is_compressed_proto(9) π
okay bestie, welcome to the Kernel API Manual entry for ppp_skb_is_compressed_proto β sheβs lowkey niche but highkey useful, and weβre gonna get into it. β¨
β¨ NAME β¨
ppp_skb_is_compressed_proto β checks if PPP protocol in a skb is compressed. fr fr, thatβs the whole assignment. π
πΈ SYNOPSIS πΈ
bool ppp_skb_is_compressed_proto (const struct sk_buff *skb );
π¦ ARGUMENTS π¦
skbβ the skb to check. thatβs the one, bestie. π«Ά
π DESCRIPTION π
Check if the PPP protocol field is compressed β specifically, the least significant bit of the most significant octet is 1. π
skb->data must point to the PPP protocol header. thatβs the vibe check, no cap. β
bestie, this is not a βmaybe it works if data points somewhere elseβ situation β the manual is clear: skb->data must point to the PPP protocol header. π
π₯ RETURN π₯
Whether the PPP protocol field is compressed. thatβs it, thatβs the return value, and itβs giving exactly what it says on the tin. πβ¨
π SEE ALSO π
- Kernel file
./include/linux/ppp_defs.h ppp_proto_is_valid(9)
mwah π β signed off from ./include/linux, October 2026, on the ppp_skb_is_compressed_proto(9) page. π«Άπ
π¦ 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