6 #ifndef SRC_BGP_PEER_STATS_H_
7 #define SRC_BGP_PEER_STATS_H_
9 #include "bgp/bgp_peer_types.h"
15 PeerStatsInfo *stats);
17 PeerStatsData *peer_stats_data);
21 PeerProtoStats *proto_stats);
23 PeerUpdateStats *rt_stats);
25 PeerRxErrorStats *dest);
27 PeerRxRouteStats *dest);
29 PeerUpdateStats *rt_stats_rx,
30 PeerUpdateStats *rt_stats_tx);
static void FillRouteUpdateStats(const IPeerDebugStats::UpdateStats &stats, PeerUpdateStats *rt_stats)
static void FillPeerUpdateStats(const IPeerDebugStats *peer_stats, PeerStatsData *peer_stats_data)
static void FillRxErrorStats(const IPeerDebugStats::RxErrorStats &src, PeerRxErrorStats *dest)
static void FillProtoStats(const IPeerDebugStats::ProtoStats &stats, PeerProtoStats *proto_stats)
static void FillRxRouteStats(const IPeerDebugStats::RxRouteStats &src, PeerRxRouteStats *dest)
static void FillPeerDebugStats(const IPeerDebugStats *peer_stats, PeerStatsInfo *stats)