STRUCT LLC_SAP(9)
πΈ NAME
okay so welcome to the struct llc_sap(9) page from the Kernel API Manual, bestie π and this one is literally here to define the SAP component, no cap β¨
struct llc_sap β Defines the SAP component π«Ά
β¨ SYNOPSIS
vibe check on the struct, and yes we are keeping every single field exactly as written π
struct llc_sap {
unsigned char state;
unsigned char p_bit;
unsigned char f_bit;
refcount_t refcnt;
int (*rcv_func)(struct sk_buff *skb, struct net_device *dev, struct
packet_type *pt, struct net_device *orig_dev);
struct llc_addr laddr;
struct list_head node;
spinlock_t sk_lock;
int sk_count;
struct hlist_nulls_head sk_laddr_hash[LLC_SK_LADDR_HASH_ENTRIES];
struct hlist_head sk_dev_hash[LLC_SK_DEV_HASH_ENTRIES];
struct rcu_head rcu;
};
π Members
the member notes are chilling right below in Description, keep scrolling bestie π
π Description
okay so here are the member deets this page gives us β same names, same wording, periodt:
stationβ station this sap belongs tostateβ sap statep_bitβ only lowest-order bit usedf_bitβ only lowest-order bit usedladdrβ SAP value in this 'lsap'nodeβ entry in stationsap_listsk_listβ LLC sockets this one manages
π₯ SEE ALSO
Kernel file ./include/net/llc.h β go peek, iykyk π
signing off from the ./include/net source/version, dated October 2026 β mwah ππβ¨
π¦ 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