[zebra 23193] netlink and zebra

View: New views
1 Messages — Rating Filter:   Alert me  

[zebra 23193] netlink and zebra

by warptrosse :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi, I'm developing a provider for sblim (http://sblim.wiki.sourceforge.net/) using netlink sockets, this provider must give a routes list based on user specified parameters. My question is, I can see that routes created by zebra uses the rtm_protocol flag equals to RTPROT_ZEBRA, but how can I identify what protocol had created that route.
What's the way that zebra manage routes? It creates all routes on kernel route table? if this is correct, how can I differenciate between a static route and a dynamic route (created by ospf as example)...

Other question is: Where is stored the administrative distance configuration used by ospf, bgp, etc...?

thanks.

--
WARPTROSSE {The knowledge of a man belongs to all the humanity}

_______________________________________________
Zebra mailing list
Zebra@...
http://ml.zebra.org/mailman/listinfo/zebra