summaryrefslogtreecommitdiffstats
path: root/pimd/mtracebis_netlink.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* *: manual SPDX License ID conversionsDavid Lamparter2023-02-091-5/+1
| | | | | | | | | | The files converted in this commit either had some random misspelling or formatting weirdness that made them escape automated replacement, or have a particularly "weird" licensing setup (e.g. dual-licensed.) This also marks a bunch of "public domain" files as SPDX License "NONE". Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* pimd: fix mtracebis tool warningRafael Zalamena2023-01-191-1/+1
| | | | | | | | | | Use `getpid()` to initialize the sequence number. This change silences Coverity Scan warning about truncated use of `time()` which in this case is not a problem. Found by Coverity Scan (CID 1519828) Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
* pimd: Intentionally downcast to a uint32_t valueDonald Sharp2022-08-241-1/+1
| | | | | | | | | When calling time(NULL), FRR is intentionally throwing away the upper 32 bits of value returned. Let's explicitly call it out so that coverity understands this is intentional and ok. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
* pimd: Fix a couple coverity issues with mtracebis_netlink.cDonald Sharp2022-07-261-8/+13
| | | | | | | | Coverity is complaining that buf has not been initialized. It has and coverity appears to be confused so let's help it find the initialization. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
* pimd ripd ripngd: variable shadowing fixesF. Aragon2018-09-121-4/+4
| | | | Signed-off-by: F. Aragon <paco@voltanet.io>
* *: fix config.h/zebra.h include orderDavid Lamparter2018-09-081-0/+4
| | | | | | | | config.h (or, transitively, zebra.h) must be the first include file listed for autoconf things like _GNU_SOURCE and _POSIX_C_SOURCE to work correctly. Signed-off-by: David Lamparter <equinox@diac24.net>
* pimd: standard library usage (PVS-Studio)F. Aragon2018-07-061-22/+27
| | | | | | fread() function was not used properly. Signed-off-by: F. Aragon <paco@voltanet.io>
* *: conform with COMMUNITY.md formatting rules, via 'make indent'Lou Berger2018-03-061-82/+100
| | | | Signed-off-by: Lou Berger <lberger@labn.net>
* pimd: Multicast traceroute client and routerMladen Sablic2018-02-191-0/+700
This commit is the implementation of weak multicast traceroute. It consists of IGMP module dealing with mtrace type IGMP messages and client program mtrace/mtracebis for initiating mtrace queries. Signed-off-by: Mladen Sablic <mladen.sablic@gmail.com>