ice_enum_labels(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

Okay bestie, welcome to ice_enum_labels(9) from the Kernel API Manual β€” the label-enumeration page, and it's literally about to eat. πŸ’…βœ¨

πŸŽ€ NAME πŸŽ€

ice_enum_labels β€” the function name, the icon, the moment. (The original NAME line is just ice_enum_labels -, no extra subtitle. Minimalist queen. πŸ‘‘)

✨ SYNOPSIS ✨

char * ice_enum_labels (struct ice_seg *ice_seg , u32 type , struct ice_pkg_enum *state , u16 *value );

Copy it exactly, bestie β€” spaces, commas, semicolon, all of it. 🫢

🫢 ARGUMENTS 🫢

  • ice_seg β€” pointer to the ice segment. On the first call you pass the real thing; on subsequent calls it's NULL. 😌
  • type β€” the section type that will contain the label. On subsequent calls, pass 0. ✨
  • state β€” an ice_pkg_enum structure that will hold the state of the enumeration. It's the little tracker keeping the whole vibe in order. πŸ’…
  • value β€” pointer to a value that will return the label's value if found. πŸ‘‘

πŸ’– DESCRIPTION πŸ’–

Okay so ice_enum_labels enumerates a list of labels in the package. It's giving guided tour, but for labels. πŸ¦‹

The caller starts the enumeration with ice_enum_labels(ice_seg, type, ...), then continues with ice_enum_labels(NULL, 0, ...). Yes, bestie: first call has the segment and type, later calls have NULL and 0. No cap. 😭

When the function returns a NULL, the end of the list has been reached. That's the finish line, periodt. πŸŽ€

🌈 SEE ALSO 🌈

Byeee bestie β€” source/version: ./drivers/net/ethernet/intel/ice; date: October 2026. πŸ«ΆπŸ’–βœ¨

πŸ“¦ where this page comes from