summaryrefslogtreecommitdiffstats
path: root/pimd/pim_igmp_mtrace.h
diff options
context:
space:
mode:
authorMladen Sablic <mladen.sablic@gmail.com>2018-04-12 13:24:21 +0200
committerMladen Sablic <mladen.sablic@gmail.com>2018-04-24 18:47:50 +0200
commit71e55fb257a1849523d8de382f5c7ab4c429afd9 (patch)
treea412db1ef4b9d87b4b1a273b9ac196546b9aaeaf /pimd/pim_igmp_mtrace.h
parentMerge pull request #2080 from qlyoung/docuser (diff)
downloadfrr-71e55fb257a1849523d8de382f5c7ab4c429afd9.tar.xz
frr-71e55fb257a1849523d8de382f5c7ab4c429afd9.zip
pimd: adding querying of state to mtrace
Adding to mtracebis querying with group address. Same change to vtysh mtrace command. Support for querying (S,G) and (*,G) state in mtrace router code. Further improvments to mtrace router code with closer complience to IETF draft. More references in comments to the draft. Man page has been updated accordingly. Signed-off-by: Mladen Sablic <mladen.sablic@gmail.com>
Diffstat (limited to 'pimd/pim_igmp_mtrace.h')
-rw-r--r--pimd/pim_igmp_mtrace.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/pimd/pim_igmp_mtrace.h b/pimd/pim_igmp_mtrace.h
index d47da3557..4ab562ed9 100644
--- a/pimd/pim_igmp_mtrace.h
+++ b/pimd/pim_igmp_mtrace.h
@@ -26,6 +26,8 @@
#define MTRACE_MAX_HOPS (255)
#define MTRACE_UNKNOWN_COUNT (0xffffffff)
+#define MTRACE_SRC_MASK_GROUP (0x3f) /* forwarding on group state (*,G) */
+#define MTRACE_SRC_MASK_SOURCE (0x20) /* i.e. 32 forwarding on (S,G) */
enum mtrace_fwd_code {
MTRACE_FWD_CODE_NO_ERROR = 0x00,