ENUM DPKG_EXTRACT_TYPE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum dpkg_extract_type(9) β€” bestie's guide to the Kernel API Manual

okay so picture this: you're deep in the kernel, and you need to tell it where to extract stuff from. That's literally the whole vibe of enum dpkg_extract_type β€” it's the enumeration for selecting your extraction type. She's the main character of picking, and honestly? She ate. πŸ‘‘


✨ NAME ✨

enum dpkg_extract_type β€” the enumeration for selecting extraction type, no cap πŸŽ€


🌸 SYNOPSIS 🌸

enum dpkg_extract_type {
    DPKG_EXTRACT_FROM_HDR ,
    DPKG_EXTRACT_FROM_DATA ,
    DPKG_EXTRACT_FROM_PARSE

};

look at her. three constants, zero drama, all business. πŸ¦‹


πŸ’– Constants πŸ’–

  • DPKG_EXTRACT_FROM_HDR β€” extract from the header, periodt πŸ’…
  • DPKG_EXTRACT_FROM_DATA β€” extract from data that is not in a specific header, iykyk 🫢
  • DPKG_EXTRACT_FROM_PARSE β€” extract from the parser-result ✨ like, for real, you can use this to extract header existence β€” so go check the Parse Result definition section in the parser BG for the full tea, bestie πŸ“

πŸ‘€ SEE ALSO πŸ‘€

  • the kernel file ./drivers/net/ethernet/freescale/dpaa2/dpkg.h β€” go read her, she's iconic 🌈
  • DPKG_NUM_OF_MASKS(9)
  • DPKG_MAX_NUM_OF_EXTRACTS(9)
  • enum dpkg_extract_from_hdr_type(9)
  • struct dpkg_mask(9)
  • struct dpkg_extract(9)
  • struct dpkg_profile_cfg(9)

lowkey a whole friend group of cross-references, and every single one of them is invited to the group chat πŸ’œ

and that's the page! 🧚 source is that lil truncated path ./drivers/net/ethernet/freesca... and the version/date stamp is October 2026, closing out with enum dpkg_extract_type(9) β€” mwah, go slay your extraction, bestie 😭πŸ”₯πŸ‘‘

πŸ“¦ where this page comes from