Re: Knowing different network interfaces of the system

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux