llc_mac_hdr_init(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay so bestie, this is the Kernel API Manual entry for llc_mac_hdr_init β€” and yes, it literally fills MAC header fields. πŸ’…βœ¨

πŸ“œ SYNOPSIS πŸ“œ

int llc_mac_hdr_init (struct sk_buff *skb , const unsigned char *sa ,
       const unsigned char *da );

🧾 ARGUMENTS 🧾

  • skb β€” address of the frame to initialize its MAC header. 🫢
  • sa β€” the MAC source address. πŸ“¬
  • da β€” the MAC destination address. 🎯

πŸ’– DESCRIPTION πŸ’–

so the whole serve: it fills MAC header fields, depending on MAC type. πŸ¦‹ if the MAC type is a valid type and the initialization completes correctly, it returns 0; otherwise it returns 1. that's the tea, fr fr. β˜•βœ¨

πŸ”— SEE ALSO πŸ”—


okay bye bestie 🫢 β€” source/version: ./net/llc, date: October 2026. periodt. πŸ’…

πŸ“¦ where this page comes from