Attention is currently required from: laforge. pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmocore/+/31062 )
Change subject: Introduce netdev API ......................................................................
Patch Set 2:
(1 comment)
File include/osmocom/core/netdev.h:
https://gerrit.osmocom.org/c/libosmocore/+/31062/comment/4a7f01e8_bdd3957a PS2, Line 31: unsigned
AFAICT, in the kernel, an ifindex is always of type "int", not "unsigned int".
see "man if_nametoindex()": unsigned int if_nametoindex(const char *ifname); On success, if_nametoindex() returns the index number of the network interface; on error, 0 is returned and errno is set to indicate the error.