vlan_remove_tag(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– vlan_remove_tag β€” a Kernel API Manual moment πŸ’–

okay so bestie, welcome to the Kernel API Manual page for vlan_remove_tag. It's giving β€œremove the outer VLAN tag from the payload” energy, and honestly? iconic. πŸ’…

✨ NAME ✨

vlan_remove_tag β€” remove outer VLAN tag from payload. that's the whole name vibe, periodt. πŸŽ€

🌸 SYNOPSIS 🌸

void vlan_remove_tag (struct sk_buff *skb , u16 *vlan_tci );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • skb β€” the skbuff to remove the tag from. this is the main character payload container, lowkey. πŸ’–
  • vlan_tci β€” the buffer to store the value. yes bestie, it's where the value goes. 🫢

πŸ”₯ DESCRIPTION πŸ”₯

okay so here's the setup: this function expects the skb to contain a VLAN tag in the payload, and it also expects skb->data to be pointing at the MAC header. no cap, that's the contract. πŸ’…βœ¨

bestie, this isn't a β€œguess what I'm holding” situation β€” the function expects the VLAN tag to be in the payload and expects skb->data to point at the MAC header. that's the energy it needs. πŸŽ€

πŸ‘‘ SEE ALSO πŸ‘‘

the whole guest list from the kernel file ./include/linux/if_vlan.h, plus all the structs and functions you might wanna stalk next:


🫢 this lil page's source is ./include/linux, its version is vlan_remove_tag(9), and it's dated October 2026 β€” mwah, bye bestie, go remove that outer tag with main character energy πŸ’–βœ¨

πŸ“¦ where this page comes from