ietf_dscp_to_ieee8021q_tt(9)
π 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
- 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