llc_sap_open(9)
π
llc_sap_open(9) β Kernel API Manual β¨
πΈ NAME πΈ
llc_sap_open β open interface to the upper layers. π
π SYNOPSIS π
struct llc_sap * llc_sap_open (unsigned char lsap , int (*func)(struct
sk_buff *skb, struct net_device *dev, struct packet_type *pt, struct
net_device *orig_dev) );
π¦ ARGUMENTS π¦
lsapβ SAP number. πfuncβ rcv func for datalink protos. π«Ά
β¨ DESCRIPTION β¨
Okay so bestie, this is literally the interface function to upper layer. π Each one who wants to get a SAP (for example NetBEUI) should call this function. No cap.
It returns the opened SAP for success, and NULL for failure β thatβs the whole vibe check. π
π¦ SEE ALSO π¦
- Kernel file
./net/llc/llc_core.cβ¨ β plusllc_sap_alloc(9),llc_sap_find(9),llc_sap_close(9)π
Source/version: ./net/llc Β· date: October 2026 Β· page: llc_sap_open(9) β bye bestie, slay responsibly ππ
π¦ 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