STRUCT DPKG_MASK(9)
π struct dpkg_mask(9) β from the Kernel API Manual, bestie
okay so picture this: you're deep in the kernel, you need one single extraction mask, and you do NOT want to hand-roll it. enter struct dpkg_mask, the tiny little icon that does exactly one job and does it flawlessly. main character energy, no notes. π
β¨ NAME β¨
struct dpkg_mask β a structure for defining a single extraction mask. that's it, that's the whole vibe. one mask, one struct, slay. π
πΈ SYNOPSIS πΈ
struct dpkg_mask {
u8 mask;
u8 offset;
};
literally just two u8s and a dream. look at her. so compact. π¦
π«Ά Members π«Ά
maskβ the byte mask for the extracted content. this is the actual masking byte, bestie, the whole point of the struct ngl. π₯offsetβ the offset within the extracted content. where in the extracted content you're pointing at, fr fr. β
both members areu8, so keep that in mind β no cap, the struct saysu8and we respect the struct. π
π SEE ALSO π
- Kernel file
./drivers/net/ethernet/freescale/dpaa2/dpkg.hβ go read the source, it's giving lore. π DPKG_NUM_OF_MASKS(9)DPKG_MAX_NUM_OF_EXTRACTS(9)enum dpkg_extract_from_hdr_type(9)enum dpkg_extract_type(9)struct dpkg_extract(9)struct dpkg_profile_cfg(9)
the whole friend group, honestly. go say hi to all of them. π
okay that's the page!! mwah π β this little beauty comes from ./drivers/net/ethernet/freesca..., dated October 2026, and it's filed under struct dpkg_mask(9). go forth and mask your extractions, bestie π§β¨
π¦ 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