Pradipta Bibek Paul - CTD, Chennai. wrote: > hi, > how do i use netlink sockets to get the attributes of a particular > interface? i do not want the entire list of interfaces present in the system > but i want to get the details of a particular interface identified by its > name or the index. > thanks in advance. The source to the "ip" command is pretty much the documentation for netlink. Anytime you need to now how to do something with netlink, your best bet is to grab the ip sources and see how it does it. In this case, you want to look at "ip link ls eth0" or the equivalent. -- Casey Carter Casey@Carter.net ccarter@uiuc.edu AIM: cartec69 - : 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