summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_bmp.h
diff options
context:
space:
mode:
authormxyns <mx.yns@outlook.fr>2022-09-28 08:05:25 +0200
committerMaxence Younsi <mx.yns@outlook.fr>2023-11-04 12:17:48 +0100
commit66d564a60be23ae7b1181ed908fd8ecce8db8434 (patch)
tree2f1cde22b8c32de9a8ff3a4255313878e038b031 /bgpd/bgp_bmp.h
parentbgpd: applied styling and fixed warnings (diff)
downloadfrr-66d564a60be23ae7b1181ed908fd8ecce8db8434.tar.xz
frr-66d564a60be23ae7b1181ed908fd8ecce8db8434.zip
bgpd: loc-rib uptime moved to bgp_path_info_extra and set in header
moved loc-rib uptime field "bgp_rib_uptime" to struct bgp_path_info_extra for memory concerns moved logic into bgp_route_update's callback bmp_route_update written timestamp in per peer header Signed-off-by: Maxence Younsi <mx.yns@outlook.fr>
Diffstat (limited to 'bgpd/bgp_bmp.h')
-rw-r--r--bgpd/bgp_bmp.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/bgpd/bgp_bmp.h b/bgpd/bgp_bmp.h
index 152e7eb0e..dadd99eb6 100644
--- a/bgpd/bgp_bmp.h
+++ b/bgpd/bgp_bmp.h
@@ -216,15 +216,14 @@ struct bmp_targets {
int stat_msec;
/* only supporting:
- * - IPv4 / unicast & multicast
- * - IPv6 / unicast & multicast
+ * - IPv4 / unicast & multicast & VPN
+ * - IPv6 / unicast & multicast & VPN
* - L2VPN / EVPN
*/
#define BMP_MON_PREPOLICY (1 << 0)
#define BMP_MON_POSTPOLICY (1 << 1)
-
-/* TODO define BMP_MON_LOC_RIB flag */
#define BMP_MON_LOC_RIB (1 << 2)
+
uint8_t afimon[AFI_MAX][SAFI_MAX];
bool mirror;