Listing network interfaces as they are recognized by the kernel
I'm looking for a command to list the network interfaces as they are discovered by the kernel without having to use "ifconfig" ( ifconfig -a [plumb|unplumb] )".
The /var/sadm/system/log/sysidtool.log has the initial information that I need, but should another network card get added to the system the sysidtool.log information becomes stale.
I also looked at the /etc/path_to_inst. I could workout known cards, but from a programming point of view I would have to update a script each time a new NIC cards comes out.
I'm looking for something that lists all the possible interfaces (plumbed or not):
bge0
bge1
bge2
bge3
ce0
...
ce3
...
Any suggestions or ideas would be appreciated.

