llc_lookup_dgram(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable
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