diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2022-03-14 22:45:28 +0200 |
|---|---|---|
| committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2022-03-14 22:49:23 +0200 |
| commit | ca3e7807f6640c0b08042088e069e206b148e1e7 (patch) | |
| tree | bba82e81dc7b53477135f3dc71f9917fd375e3bd /pimd/pim_igmp_stats.h | |
| parent | 2283482882ddb2d6c5c9fef834aad400357dfb83 (diff) | |
pimd: Show total received messages IGMP stats
```
exit1-debian-11# do sh ip igmp statistics
IGMP statistics
Interface : global
V1 query : 0
V2 query : 0
V3 query : 3
V2 leave : 0
V1 report : 0
V2 report : 0
V3 report : 18
mtrace response : 0
mtrace request : 0
unsupported : 0
total received messages : 21
joins failed : 0
joins sent : 16
general queries sent : 6
group queries sent : 3
total groups : 4
total source groups : 1
exit1-debian-11# do sh ip igmp statistics json
{
"global":{
"name":"global",
"queryV1":0,
"queryV2":0,
"queryV3":4,
"leaveV2":0,
"reportV1":0,
"reportV2":0,
"reportV3":18,
"mtraceResponse":0,
"mtraceRequest":0,
"unsupported":0,
"totalReceivedMessage":22,
"totalGroups":3,
"totalSourceGroups":1,
"joinsFailed":0,
"joinsSent":16,
"generalQueriesSent":6,
"groupQueriesSent":4
}
}
```
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'pimd/pim_igmp_stats.h')
| -rw-r--r-- | pimd/pim_igmp_stats.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pimd/pim_igmp_stats.h b/pimd/pim_igmp_stats.h index c22922a316..560132a19a 100644 --- a/pimd/pim_igmp_stats.h +++ b/pimd/pim_igmp_stats.h @@ -39,6 +39,7 @@ struct igmp_stats { uint32_t joins_failed; uint32_t general_queries_sent; uint32_t group_queries_sent; + uint32_t total_recv_messages; }; #if PIM_IPV == 4 |
