summaryrefslogtreecommitdiffstats
path: root/lib/imsg.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* *: Remove parenthesis on return for constantsDonatas Abraitis2020-02-091-20/+20
| | | | Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
* lib: reduce exported var symbolsQuentin Young2019-04-031-2/+2
| | | | | | Don't need these in our DSO tables Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
* *: use array_size instead of raw divisionQuentin Young2019-02-261-1/+2
| | | | Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
* lib, ldpd: fix SA warnings from TAILQ oddnessDavid Lamparter2018-09-081-2/+1
| | | | | | | Add a TAILQ_POP_FIRST so Clang understands it's the same item that is getting removed from the list. Signed-off-by: David Lamparter <equinox@diac24.net>
* bgpd isisd ldpd lib ospfd pimd: redundancy (infer)paco2018-06-201-2/+3
| | | | Signed-off-by: F. Aragon <paco@voltanet.io>
* lib: initialize imsg_hdrQuentin Young2018-04-171-0/+2
| | | | | | Not fully initialized. Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
* *: use C99 standard fixed-width integer typesQuentin Young2018-03-271-7/+7
| | | | | | | | | | | | | | | | | | | | | | The following types are nonstandard: - u_char - u_short - u_int - u_long - u_int8_t - u_int16_t - u_int32_t Replace them with the C99 standard types: - uint8_t - unsigned short - unsigned int - unsigned long - uint8_t - uint16_t - uint32_t Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
* *: conform with COMMUNITY.md formatting rules, via 'make indent'Lou Berger2018-03-061-64/+53
| | | | Signed-off-by: Lou Berger <lberger@labn.net>
* lib: standardize use of queue.hJorge Boncompte2017-08-171-1/+1
| | | | | | | | The simple queue implementation in OpenBSD and FreeBSD are called diferently, standardize in the use of the FreeBSD version and map the missing names only if we compile on OpenBSD. Signed-off-by: Jorge Boncompte <jbonor@gmail.com>
* lib: revert reindent of files imported from OpenBSDRenato Westphal2017-07-241-53/+64
| | | | | | | We should preserve the original indentation to make it easier to keep these files in sync with the upstream. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
* *: reindentreindent-master-afterwhitespace / reindent2017-07-171-64/+53
| | | | | | indent.py `git ls-files | pcregrep '\.[ch]$' | pcregrep -v '^(ldpd|babeld|nhrpd)/'` Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* lib: Fix clang SA warnings.Donald Sharp2017-01-181-1/+2
| | | | Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* ldpd: adapt the code for QuaggaRenato Westphal2016-09-231-9/+41
| | | | Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
* ldpd: copy original sources from OpenBSD (14/09/2016)Renato Westphal2016-09-231-0/+302
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>