llc_alloc_frame(9)
π llc_alloc_frame(9) β Kernel API Manual π
okay bestie, welcome to the llc_alloc_frame(9) page from the Kernel API Manual. this one is short and sweet, but it still ate. let's get into it π«Ά
πΈ NAME πΈ
llc_alloc_frame β allocates sk_buff for frame β¨
β¨ SYNOPSIS β¨
struct sk_buff * llc_alloc_frame (struct sock *sk , struct net_device
*dev , u8 type , u32 data_size );
π ARGUMENTS π
skβ socket to allocate frame to π§devβ network device this skb will be sent over πtypeβ pdu type to allocate πdata_sizeβ data size to allocate π
π DESCRIPTION π
so what does it do? it allocates an sk_buff for frame and initializes sk_buff fields. that's the main character behavior right there. π
it returns the allocated skb or NULL when it's out of memory β no cap, that's the whole return story. π
π¦ SEE ALSO π¦
bestie, if you wanna follow the lore, check the kernel file ./net/llc/llc_sap.c and this whole iconic friend group:
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_lookup_dgram(9)llc_sap_mcast(9)
π
signed off by the ./net/llc source tree, October 2026 β periodt, 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