Ethereal-dev: Re: [ethereal-dev] AIX: gtk problem solved, now an ethereal problem

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxx>
Date: Tue, 9 Nov 1999 15:45:36 -0800 (PST)
> Guy, can you give me a sample test snippet of code which
> gets all the network interfaces on a system?

"get_interface_list()" does that with its SIOCGIFCONF call; you can rip
all the gunk out of its loop, and just have it, say, spit out the names
of the interfaces, one at a time.