velocity_set_int_opt(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨ β€” velocity_set_int_opt(9)

okay so bestie, welcome to the Kernel API Manual page for velocity_set_int_opt(9): it’s literally the parser for integer options. no cap, that’s the whole name vibe. πŸ’…

🌸 SYNOPSIS 🌸

here’s the signature, character-for-character, because we do not play with code:

void velocity_set_int_opt (int *opt , int val , int min , int max , int
def , char *name );

πŸŽ€ ARGUMENTS πŸŽ€

  • opt β€” pointer to option value. like, the spot where the integer is hanging out. πŸ“
  • val β€” value the user requested (or -1 for default). yes bestie, -1 means default here. πŸ™ˆ
  • min β€” lowest value allowed. the floor, the limit, the β€œdon’t go below this” line. ⬇️
  • max β€” highest value allowed. the ceiling, the β€œdon’t go above this” line. ⬆️
  • def β€” default value. the fallback baddie. 🫢
  • name β€” property name. the label on the whole situation. 🏷️

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so the function sets an integer property in the module options. it does all the verification and checking as well as reporting, so we don’t duplicate code for each option. that’s the entire slay: one parser doing the busywork so every option doesn’t need its own little copy. ✨

πŸ”₯ SEE ALSO πŸ”₯

go read these too, iykyk πŸ‘‘:


that’s the tea, bestie πŸ“ this page is from source/version ./drivers/net/ethernet/via, dated October 2026, and it’s the velocity_set_int_opt(9) manual moment. mwah πŸ’‹

πŸ“¦ where this page comes from