llc_find_sap_trans(9)
π llc_find_sap_trans(9) π
okay so bestie, you're reading a page from the Kernel API Manual and it's literally about llc_find_sap_trans β the little function that finds a transition for an event. yes that's the whole vibe. let's get into it π¦
β¨ NAME β¨
llc_find_sap_trans β finds transition for event π―
πΈ SYNOPSIS πΈ
const struct llc_sap_state_trans * llc_find_sap_trans (struct llc_sap
*sap , struct sk_buff *skb );
likeβ¦ it returns a const struct llc_sap_state_trans *, and it takes a sap and an skb. that's the signature, don't @ me, copy it exactly β¨
π ARGUMENTS π
sapβ pointer to SAP. yes babe, it's a pointer, and it points at a SAP. iconic πskbβ the happened event. it's the thing that happened. the event. that one. π«
π DESCRIPTION π
so what this function does: it finds the transition that matches with the happened event. like, event happens β function goes looking for the transition that goes with it. that's the whole plot π
and the return? it returns the pointer to the found transition on success, or NULL for failure. literally that's it. NULL means no luck, bestie π
ngl,NULLon failure is the entire failure story here β no error codes, no drama, just a sad littleNULLπ«Ά
π SEE ALSO π
the kernel file is ./net/llc/llc_sap.c, and honestly you should also peek at these besties:
llc_alloc_frame(9)llc_sap_rtn_pdu(9)llc_exec_sap_trans_actions(9)llc_sap_next_state(9)llc_sap_state_process(9)llc_build_and_send_test_pkt(9)llc_build_and_send_xid_pkt(9)llc_sap_rcv(9)llc_lookup_dgram(9)llc_sap_mcast(9)
like a whole friend group, fr fr π
and that's the page!! this one ships out of ./net/llc, dated October 2026, and it's filed under llc_find_sap_trans(9) β mwah, go read some kernel source bestie π
β¨π
π¦ 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