[zebra 23193] netlink and zebra

warptrosse <[email protected]> Wed, 15 Jul 2009 17:51:30 -0300
Newsgroups gmane.network.zebra
Message-ID <[email protected]>
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
[email protected]
http://ml.zebra.org/mailman/listinfo/zebra