llc_lookup_dgram(9)
Kernel API Manual Β· llc_lookup_dgram(9) Β· bestie edition, obviously π
β¨
π NAME π
llc_lookup_dgram β finds the dgram socket for the local sap/mac π«Ά
β¨ SYNOPSIS β¨
struct sock * llc_lookup_dgram (struct llc_sap *sap , const struct
llc_addr *laddr , const struct net *net );
πΈ ARGUMENTS πΈ
sapβ the SAP πladdrβ address of the local LLC (MAC + SAP) πnetβ the netns to look up a socket in π
π¦ DESCRIPTION π¦
okay so it searches the socket list of the SAP and finds the connection using the local mac, and local sap. If it finds it, you get a pointer for the socket found; otherwise it's NULL β no cap, that's the whole deal πβ¨
π SEE ALSO π
Kernel file ./net/llc/llc_sap.c is right there, plus the whole squad: llc_alloc_frame(9), llc_sap_rtn_pdu(9), llc_find_sap_trans(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_sap_mcast(9) π
mwah π this page is from ./net/llc, dated October 2026, and it's still repping llc_lookup_dgram(9) β periodt π«Άπ
π¦ 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