dcb_ieee_getapp_mask(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 β†’ the dcb_app was not found in the APP list 🫢

πŸ”₯ SEE ALSO πŸ”₯

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