Adds ifconfig_set_up() to set and unset the IFF_UP
on a network interface using RTM_NEWLINK.
Sponsored by: Google LLC (GSoC)
Differential D52128
libifconfig: Add netlink based helper to bring the interface up/down saheed on Aug 22 2025, 6:18 PM. Authored by Tags None Referenced Files
Details
Diff Detail
Event TimelineComment Actions Looks good to me! When you re-open D51871, you should set that as this revision's parent revision. otherwise I have tested this out with the _nl_ifp_modify_generic fix and it all works :)
Comment Actions Also not something that must be done in this commit, but we should modify sbin/ifconfig to the new functions. That'll remove a little more code from ifconfig and it'll mean we test this code (as part of any test that runs ifconfig foo up).
Comment Actions Respond to review comments
|