Messages in this thread | | | From | "Venkata Rajesh Velamakanni" <> | Subject | Faced a problem with rtnetlink socket ( RTM_DELLINK) | Date | Mon, 7 Jan 2002 17:08:24 +0530 |
| |
Hello All,
I am facing a problem in using rtnetlink sockets and thought that this mailing list would be the better to place to clarify. Can anyone calrify my query.
When I tried deleting an interface, I have received message RTM_NEWLINK (instead of RTM_DELLINK) from kernel.
I have executed the attached program and did "/sbin/ifdown eth0".. and my program received a messsage RTM_NEWLINK from kernel instead of RTM_DELLINK.
When I tried adding the interface "/sbin/ifup eth0".. it works fine and received RTM_NEWLINK.
I would like to know whether anyone has faced this problem or am I missing something in my program.
Thanks, Rajesh.
[unhandled content-type:application/octet-stream]----------------------------------------------------------------------------------------------------------------------- Information transmitted by this E-MAIL is proprietary to Wipro and/or its Customers and is intended for use only by the individual or entity to which it is addressed, and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If you are not the intended recipient or it appears that this mail has been forwarded to you without proper authority, you are notified that any use or dissemination of this information in any manner is strictly prohibited. In such cases, please notify us immediately at mailto:mailadmin@wipro.com and delete this mail from your records. ------------------------------------------------------------------------------------------------------------------------
| |