]>
git.proxmox.com Git - mirror_frr.git/blob - pimd/pim_igmp_stats.h
1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Copyright (C) 2018 Mladen Sablic
7 #ifndef PIM_IGMP_STATS_H
8 #define PIM_IGMP_STATS_H
24 uint32_t total_groups
;
25 uint32_t total_source_groups
;
27 uint32_t joins_failed
;
28 uint32_t general_queries_sent
;
29 uint32_t group_queries_sent
;
30 uint32_t total_recv_messages
;
34 void igmp_stats_init(struct igmp_stats
*stats
);
35 void igmp_stats_add(struct igmp_stats
*a
, struct igmp_stats
*b
);
37 static inline void igmp_stats_init(struct igmp_stats
*stats
)
41 static inline void igmp_stats_add(struct igmp_stats
*a
, struct igmp_stats
*b
)
46 #endif /* PIM_IGMP_STATS_H */