On Sat, 12 Aug 2017 14:05:09 +0200 Phil Sutter <p...@nwl.cc> wrote: > +void assert_valid_dev_name(const char *, const char *);
Not a fan of long function names. “I have only made this letter longer because I have not had the time to make it shorter." Maybe just add a new function addattr_ifname() and add the checking there?