ENUM DPKG_EXTRACT_FROM_HDR_TYPE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 πŸ”₯


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