Hi, I am doing to a protocol implementation and I want to know the number of interfaces exist in my box and its details when my code gets initialised. How can i acheive it. I saw the ifreq structure, but again when we give some interface name of ifindex we can get the details, but how to know the total number of interfaces exist in my box. Any pointers will be very muchappreciated. Thanks, Ramesh - : 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