netlink socket help
Quoted 8 lines
Quoted 3 lines
How to get kernel route table ( not cache ) into user space , using netlink sockets, i tried with
NLM_F_ROOToption. but it isgiving the
Quoted 1 line
route cache .
Don't set the
RTM_F_CLONEDflag in the request.
But still getting entries more than what route/netstat command is showing. Any thing else ?
Quoted 2 lines
-Andi
-------------------------------------------------------------------------------------------------------------------------
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:[email protected] and delete this mail from your records.
----------------------------------------------------------------------------------------------------------------------
Quoted 11 lines · Jyotheeswara Rao Kurma
Quoted 8 lines
Quoted 3 lines
How to get kernel route table ( not cache ) into user space , using netlink sockets, i tried with
NLM_F_ROOToption. but it isgiving the
Quoted 1 line
route cache .
Don't set the
RTM_F_CLONEDflag in the request.But still getting entries more than what route/netstat command is showing. Any thing else ?
route/netsta don't show the whole picture. they are just for compatibility and just show what can be expressed in the old ioctls. The in kernel routing table is more rich.
-Andi