ietf_dscp_to_ieee8021q_tt(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

Okay so this page is from the Kernel API Manual, and it's literally about ietf_dscp_to_ieee8021q_tt(9) β€” Map IETF DSCP to IEEE 802.1Q Traffic Type. Bestie, it's giving β€œtranslator era” and I'm obsessed. πŸ¦‹


✨ SYNOPSIS ✨

int ietf_dscp_to_ieee8021q_tt (u8 dscp );

That's the whole signature, no cap. The function is ietf_dscp_to_ieee8021q_tt, it returns an int, and it takes a u8 dscp. Slay. πŸ’…


🌸 ARGUMENTS 🌸

  • dscp β€” the IETF DSCP value. That's the one and only argument, periodt. πŸŽ€

πŸ’– DESCRIPTION πŸ’–

So this function maps an IETF DSCP value to an IEEE 802.1Q Traffic Type (TT). Main character mapping behavior, fr fr. 🌈

Here's the tea: there's no corresponding mapping between DSCP and IEEE 802.1Q Traffic Type, so this function is inspired by the RFC8325 documentation, which describe the mapping between DSCP and 802.11 User Priority (UP) values. It's basically taking notes from the UP girlies and making it work for TT, iykyk. ✨


πŸ”₯ RETURN πŸ”₯

It returns the IEEE 802.1Q Traffic Type corresponding to the given DSCP value. That's the whole return vibe β€” no extra surprises, no hidden lore. πŸ’–


🫢 SEE ALSO 🫢

  • Kernel file ./net/core/ieee8021q_helpers.c β€” go peek, bestie πŸ‘€
  • ieee8021q_tt_to_tc(9) β€” the related manual page, and yes it's giving companion-piece energy πŸ’…

Okay that's the page! This one comes from source/version ./net/core, dated October 2026, and it's a Kernel API Manual classic. Mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from