| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
a8c48bb76f291c673438d2061753d05a0d9b3276 very hiddenly broke the FIFO
logic by intermixing bgp_advertise's prev/next and bgp_advertise_fifo's
prev/next, causing bgpd to SEGV on establishing a peering.
let's better have bgp_advertise_fifo point to bgp_advertise_fifo again,
thus allowing the compiler to catch intermixtures. this also reduces the
number of casts from 3 to just one.
|
|
|
|
|
|
|
|
| |
This patch started while looking at the compiler aliasing warnings
from FIFO_HEAD() in BGP. Then I realized the FIFO code was only
being used in BGP, so it made sense to move it from zebra to
BGP. In the process convert from macro's to inline and add more
type safety.
|
|
|
|
|
|
|
|
|
|
| |
* (global) The great bgpd extern and static'ification.
* bgp_routemap.c: remove unused ROUTE_MATCH_ASPATH_OLD code
(route_set_metric_compile) fix u_int32_t to ULONG_MAX comparison
warnings.
* bgp_route.h: (bgp_process, bgp_withdraw, bgp_update) export these
used by various files which had their own private declarations,
in the case of mplsvpn - incorrect.
|
|
|
|
|
|
| |
* bgp_fsm.h: Add extern qualifier to exported functions
* bgp_nexthop.c: add static to nexthop specific globals
* *.h: Add guard defines
|
|
|