> I believe ioctrl with request=SIOGIFINDEX can find that info out. But for ioctl() system call a socket descriptor is needed and also the struct ifreq structure has to have the name of the interface in name of the structure. - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html