ENUM DPKG_EXTRACT_FROM_HDR_TYPE(9)
β¨ enum dpkg_extract_from_hdr_type(9) β¨
okay so bestie, this is a Kernel API Manual page for enum dpkg_extract_from_hdr_type(9) β it's literally the enum that decides how we pull data out of a DPAA2 header. it's giving "choose your extraction adventure" and we're obsessed π
πΈ NAME πΈ
enum dpkg_extract_from_hdr_type β selecting extraction by header types, i.e. the lil' menu of ways to grab bytes out of a header. periodt.
π¦ SYNOPSIS π¦
enum dpkg_extract_from_hdr_type {
DPKG_FROM_HDR ,
DPKG_FROM_FIELD ,
DPKG_FULL_FIELD
};
π Constants π
DPKG_FROM_HDRβ extract selected bytes from the header, by offset. like, you're going straight to the header and picking bytes by position. slay πDPKG_FROM_FIELDβ extract selected bytes from the header, by offset from a field. so it's the same byte-grabbing energy, but your starting point is a field, not the top of the header. lowkey iconic.DPKG_FULL_FIELDβ extract a full field. not just some bytes β the whole entire field. no cap, it's giving completionist. π
π₯ SEE ALSO π₯
- Kernel file
./drivers/net/ethernet/freescale/dpaa2/dpkg.h DPKG_NUM_OF_MASKS(9)DPKG_MAX_NUM_OF_EXTRACTS(9)enum dpkg_extract_type(9)struct dpkg_mask(9)struct dpkg_extract(9)struct dpkg_profile_cfg(9)
and that's the whole vibe check, bestie β fr fr that's everything. this lil' page comes from that kernel source file ./drivers/net/ethernet/freesca... and it's dated October 2026, under the enum dpkg_e...rom_hdr_type(9) manual. go off and extract those bytes, you main character πβ¨π«Ά
π¦ 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