Returns an array of all interface names and indexes. Format #include <if.h> struct if_nameindex *if_nameindex ( void );