summaryrefslogtreecommitdiffstats
path: root/babeld/message.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* lib,bgpd,babeld,ripngd,nhrpd,bfdd: clean up SA warningsMark Stapp2019-06-061-1/+3
| | | | | | Clean up several SA warnings. Signed-off-by: Mark Stapp <mjs@voltanet.io>
* Treewide: use ANSI function definitionsRuben Kerkhof2019-01-241-1/+1
| | | | Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
* babeld: BABEL_[ERR|WARN] -> EC_BABELQuentin Young2018-09-131-26/+26
| | | | Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
* *: rename zlog_fer -> flog_errQuentin Young2018-08-141-26/+26
| | | | Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
* babeld: Convert all zlog_err to zlog_ferr and add appropriate infoDonald Sharp2018-08-141-33/+51
| | | | | | | Convert babeld to use zlog_ferr and add appropriate BABEL_ERR_XXX information. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* babeld, eigrpd, ospfd: unsigned negative checkpaco2018-06-181-1/+1
| | | | | | After Cppcheck 1.72 feedback Signed-off-by: F. Aragon <paco@voltanet.io>
* Merge pull request #1298 from opensourcerouting/iface-rb-treeDonald Sharp2017-10-161-20/+20
|\ | | | | Use rb-trees to store interfaces instead of linked-lists
| * *: use rb-trees to store interfaces instead of sorted linked-listsRenato Westphal2017-10-101-20/+20
| | | | | | | | | | | | | | | | | | | | | | This is an important optimization for users running FRR on systems with a large number of interfaces (e.g. thousands of tunnels). Red-black trees scale much better than sorted linked-lists and also store the elements in an ordered way (contrary to hash tables). This is a big patch but the interesting bits are all in lib/if.[ch]. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
* | babeld: Do not copy beyond end of dataDonald Sharp2017-10-101-1/+1
|/ | | | | | | | | | | | The function really_send_update takes a 'const unsigned char *id'. and is called with myid(a 8 byte array) and route->src->id(an 8 byte array), but we copy these pointers into babel_ifp->buffered_id which is a 16 byte array. Adjust the size of buffered_id to be 8 bytes and fix the copy to only copy the 8 bytes. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* *: fix compiler warningsDavid Lamparter2017-08-261-1/+1
| | | | | | | | Specifically, gcc 4.2.1 on OpenBSD 6.0 warns about these; they're bogus (gcc 4.2, being rather old, isn't quite as "intelligent" as newer versions; the newer ones apply more logic and less warnings.) Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* *: Initial Import of Babeld into FRRDonald Sharp2017-05-131-0/+1802
| | | | | | | | | | | | | | | | | | | | | | | | This is a direct copy of: https://github.com/boutier/quagga-merge From the branch babel-merge I copied the babeld directory into FRR and then fixed up everything to compile. Babeld at this point in time when run will more than likely crash and burn in it's interfactions with zebra. I might have messed up the cli, which will need to be looked at extract.pl.in and vtysh.c need to be fixed up. Additionally we probably need to work on DEFUN_NOSH conversion in babeld as well This code comes from: Matthieu Boutier <boutier@irif.fr> Juliusz Chroboczek <jch@irif.fr> Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* quagga: remove babelDaniel Walton2016-02-111-1561/+0
| | | | | | | | Ticket: CM-9274 Reviewed By: sharpd@cumulusnetworks.com Testing Done: <DETAILED DESCRIPTION (REPLACE)>
* babeld: remove "parasitic" mode.Juliusz Chroboczek2012-03-251-11/+5
| | | | | | | | | This is the functionality described in Appendix C of RFC 6126. Its main purpose is to avoid keeping a full source table, which makes it possible to implement a subset of Babel in just a few hundred lines of code. However, in Quagga the code for maintaining the source table is already there, and a parasitic implementation can be simulated using filtering -- so it makes little sense to keep the functionality.
* Resynchronise with babeld-1.3.1.Juliusz Chroboczek2012-03-251-31/+12
|
* babeld: babelz merge.Matthieu Boutier2012-03-251-28/+174
| | | | | | Babelz is the last version of the stand-alone babel daemon. In particular, it use multiple channels to diminuate interferences. Please refer to this one for more details.
* babeld: change fprintf(stderr) in term of zlog_err.Matthieu Boutier2012-03-251-24/+20
|
* babeld: address some compilation warningsDenis Ovsienko2012-03-251-12/+0
| | | | | | | | | | | | | | | | | | | Including system headers is not necessary with zebra.h included and sometimes results in "__ASSERT_FUNCTION redefined" compilation warning. * babeld.c * babel_distribute_update_interface(): make static * babel_interface.c * interface_config_write(): unused 'babel_ifp' * don't include system headers * message.c * send_request(): unused 'babel_ifp' * send_multihop_request(): idem * don't include system headers * route.c: don't include system headers * xroute.c: idem * source.h: newline at EOF * message.h: idem
* babeld: address FreeBSD "struct route" issueDenis Ovsienko2012-03-251-4/+4
| | | | | FreeBSD system headers have their own "struct route", which made it impossible to compile babeld. Switching babeld to "struct babel_route".
* babeld: Initial import, for Babel routing protocol.Paul Jakma2012-03-251-0/+1456
* Initial import of the Babel routing protocol, ported to Quagga. * LICENCE: Update the original LICENCE file to include all known potentially applicable copyright claims. Ask that any future contributors to babeld/ grant MIT/X11 licence to their work. * *.{c,h}: Add GPL headers, in according with the SFLC guidance on dealing with potentially mixed GPL/other licensed work, at: https://www.softwarefreedom.org/resources/2007/gpl-non-gpl-collaboration.html