summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_advertise.h
Commit message (Collapse)AuthorAgeFilesLines
* bgpd: fix "bgp: move cleanup fifo code"David Lamparter2010-02-051-7/+7
| | | | | | | | | | 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.
* bgp: move cleanup fifo codeStephen Hemminger2010-02-041-0/+32
| | | | | | | | 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.
* 2005-06-28 Paul Jakma <paul.jakma@sun.com>paul2005-06-281-10/+10
| | | | | | | | | | * (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.
* 2005-05-23 Paul Jakma <paul@dishone.st>paul2005-05-231-33/+5
| | | | | | * bgp_fsm.h: Add extern qualifier to exported functions * bgp_nexthop.c: add static to nexthop specific globals * *.h: Add guard defines
* Initial revisionpaul2002-12-131-0/+178