Greetings,
I think for quite a few operations it would be sufficient to implement
an fpm daemon (see
http://www.nongnu.org/quagga/docs/docs-info.html#zebra-FIB-push-interface)
in order to learn what routing modifications are being done and act
accordingly.
If you need to modify the code within quagga itself, look for the source
code of the zebra daemon. The lowest-level system callsa are done in
kernel_netlink.c.
I hope that helps!
Kind regards,
Federico Sauter
Senior Firmware Programmer
--
Innominate Security Technologies AG
Rudower Chaussee 13 | 12489 Berlin | Germany
tel: +49 30 921028-210 | fax: +49 30 921028-020
www.innominate.com | www.twitter.com/mGuardcom
Register Court: AG Charlottenburg, HR B 81603
Management Board: Dirk Seewald | Chairman of the Supervisory Board:
Christoph Leifer
On 04/23/2015 10:26 AM, ocean shi wrote:
Hi~
Everytime when Quagga modifies the route table, i hope to do something
with my own codes. So i want to know where the codes that modify the
route talble are so that i could add some codes into that code file.
Anyone could help me? Or is there any document that explains this?
Thx~
_______________________________________________
Quagga-dev mailing list
[email protected]
https://lists.quagga.net/mailman/listinfo/quagga-dev
_______________________________________________
Quagga-dev mailing list
[email protected]
https://lists.quagga.net/mailman/listinfo/quagga-dev