dcb_ieee_getapp_mask(9)
π dcb_ieee_getapp_mask(9) β from the Kernel API Manual, bestie
okay so real talk, this one lives in the kernel's net/dcb world and it's a whole little helper function. let's get into it π«Ά
β¨ NAME β¨
dcb_ieee_getapp_mask β retrieve the IEEE DCB application priority π
π¦ SYNOPSIS π¦
u8 dcb_ieee_getapp_mask (struct net_device *dev , struct dcb_app *app );
like, look at her. u8 return type, two pointers, no notes. main character energy fr fr π
π ARGUMENTS π
devβ the network interface, aka the device we're poking at πappβ where to store the retrieve application data. yes "the retrieve" β that's the original wording and I'm not touching it, it's iconic in its own way π that's ur output spot, so make sure it points somewhere real
πΈ DESCRIPTION πΈ
so this is a helper routine, right? and on success it returns a non-zero 802.1Qaz user priority bitmap β¨
but if it can't find the dcb_app in the APP list? it returns 0, and that 0 is the "not found" signal, bestie π so don't go reading 0 as "a priority of zero" and building a whole personality around it. 0 means not in the list, bestie, it's not there π
quick vibe check on the return value:
- non-zero β here's your 802.1Qaz user priority bitmap, slay π
0β thedcb_appwas not found in the APP list π«Ά
π₯ SEE ALSO π₯
- the kernel file
./net/dcb/dcbnl.cβ go read the source, iykyk π dcb_getapp(9)dcb_setapp(9)dcb_ieee_setapp(9)dcb_ieee_delapp(9)
the whole little dcb friend group, honestly obsessed with them πΈ
aaaand that's the page! π this one came from ./net/dcb, dated October 2026, and it's dcb_ieee_getapp_mask(9) β no cap, that's the whole source and date situation, periodt π
β¨
π¦ 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