get the list of network interfaces

From: Roman Mashak (mrv_at_tusur.ru)
Date: 06/27/05


Date: Mon, 27 Jun 2005 10:48:59 +0900

Hello, All!

I'd like to get the list of network interfaces available on the system
(linux, kernel 2.4.20) in my C-program.
Using 'ifreq' structure and appropriate 'ioctl' doesn't fit me, cause I
should specify interface name in 'ifr_name' field, that's why I need %subj%.

Thanks.

With best regards, Roman Mashak. E-mail: mrv@tusur.ru