udev: Add module for checking interface renaming actions
RFC 1/1 udev: Add module for checking interface renaming actions
--- Makefile.am | 1 + src/udev.c | 285 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 286 insertions(+) create mode 100644 src/udev.c
Makefile.am +1 -0
@@ -265,6 +265,7 @@ src_iwd_SOURCES = src/main.c linux/nl80211.h src/iwd.h src/missing.h \ src/dpp-util.h src/dpp-util.c \ src/json.h src/json.c \ src/dpp.c \ + src/udev.c \ $(eap_sources) \ $(builtin_sources)
src/udev.c new file +285 -0
285 lines not on this page · raw message
Signature · 1 line
2.43.0
Hi Marcel,
Quoted 6 lines · Marcel Holtmann
--- Makefile.am | 1 + src/udev.c | 285 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 286 insertions(+)create mode 100644
src/udev.c
Just curious what this is for. Are we trying to avoid needing to install the link file to disable udev renaming? And instead allow renaming but pick up the changes internally?
Thanks,
James
Hi James,
Quoted 7 lines
Quoted 6 lines
--- Makefile.am | 1 + src/udev.c | 285 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 286 insertions(+) create mode 100644 src/udev.cJust curious what this is for. Are we trying to avoid needing to install the link file to disable udev renaming? And instead allow renaming but pick up the changes internally?
this is meant as sample what it takes to wait for udev renaming. When you receive that event above, then you know for sure that udev is done with renaming and we can IFF_UP the hardware.
I do need to check this on big endian and if we have to adjust the hash value for “net”.
Regards
Marcel