RE: [mpls-linux-general] LDP labels
Status: Beta
Brought to you by:
jleu
From: Abhijit G. <gab...@ee...> - 2001-09-19 06:37:47
|
Look for iproute2 sources.. Excellent stuff.. I guess the sourceforge-ldp is also doing that. I will explain the basic idea. create a netlink socket, bind it to a multicast group of all netlink messages. (Binding it to routing message group is also suffice.) Listen on this netlink socket for any messages delievered by kernel. Decode and use the info. Look at the sources above would help u in using them --a nomit kalidhar wrote : >Hi >In my local LDP implementation i was not able to get a change in routing >table notification >but i am able to get the entire routing table so i am comparing that >with the previous list of routing entries i have then seeing the next >hop doing the appropiate action ( new FEC etc..). >This i am running as a background process. Should this helpfull. :-) >but a better approach would be to catch the routing table change from >rtnetlink sockets any pointers how to do this i have not been able to do >so far :-(. > > >Nomit |