framer_set_config(9)
β¨ framer_set_config β¨
okay so this is a page from the Kernel API Manual (that's the manual name, bestie, we're in section 9 β the kernel-internals zone π«Ά), and it's about one (1) function with one (1) job: setting the config on a framer. iconic honestly.
πΈ NAME πΈ
framer_set_config β sets the framer configuration. that's it. that's the whole vibe. π
π SYNOPSIS π
int framer_set_config (struct framer *framer , const struct
framer_config *config );
like, you hand it a framer, you hand it a config, it returns an int. simple. clean. no cap. β¨
π¦ ARGUMENTS π¦
framerβ the framer that came back fromframer_get. yes, thatframer_get, the one in SEE ALSO. it's the whole main character of this call tbh πconfigβ the configuration you wanna set. this is your moment. give it the config it deserves π
π DESCRIPTION π
so basically: used to set the framer configuration. literally what it says on the tin.
the one (1) catch β and this is a biggie, so listen up π β framer_init must have been called on the framer first. like, you can't just roll up with your little config before the framer's even been initialised. that's not the move. do the init, then set the config. order matters, iykyk β
π₯ RETURN π₯
0if it worked π slay- a negative error code otherwise π (not slay, but at least you know)
π SEE ALSO π
the kernel file lives at ./drivers/net/wan/framer/framer-core.c and here's the whole squad β the entire framer friend group, fr fr:
framer_init(9)framer_exit(9)framer_power_on(9)framer_power_off(9)framer_get_status(9)framer_get_config(9)framer_notifier_register(9)framer_notifier_unregister(9)framer_get(9)framer_put(9)devm_framer_get(9)devm_framer_optional_get(9)framer_create(9)framer_destroy(9)devm_framer_create(9)framer_provider_simple_of_xlate(9)__framer_provider_of_register(9)framer_provider_of_unregister(9)__devm_framer_provider_of_register(9)framer_release(9)
lowkey reminder bestie: framer_init first. no shortcuts. the kernel will notice π
okay bye ily, this page lives in ./drivers/net/wan/framer and it's dated October 2026 β yes, the future, she's ahead of her time π
β¨ππ¦π
π¦ 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