summaryrefslogtreecommitdiffstats
path: root/lib/prefix.h
diff options
context:
space:
mode:
authorMladen Sablic <mladen.sablic@gmail.com>2018-02-12 23:41:33 +0100
committerMladen Sablic <mladen.sablic@gmail.com>2018-02-19 23:13:55 +0100
commit4d9ad5dcd0244b4035d8f88f7a3478a450c74283 (patch)
tree961109b12d71391f4ea372ecb6083070127a518c /lib/prefix.h
parentMerge pull request #1765 from donaldsharp/sa_stuff (diff)
downloadfrr-4d9ad5dcd0244b4035d8f88f7a3478a450c74283.tar.xz
frr-4d9ad5dcd0244b4035d8f88f7a3478a450c74283.zip
pimd: Multicast traceroute client and router
This commit is the implementation of weak multicast traceroute. It consists of IGMP module dealing with mtrace type IGMP messages and client program mtrace/mtracebis for initiating mtrace queries. Signed-off-by: Mladen Sablic <mladen.sablic@gmail.com>
Diffstat (limited to 'lib/prefix.h')
-rw-r--r--lib/prefix.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/prefix.h b/lib/prefix.h
index bcc223060..5bf7d498c 100644
--- a/lib/prefix.h
+++ b/lib/prefix.h
@@ -239,6 +239,7 @@ static inline void ipv4_addr_copy(struct in_addr *dst,
#define IPV4_NET127(a) ((((u_int32_t) (a)) & 0xff000000) == 0x7f000000)
#define IPV4_LINKLOCAL(a) ((((u_int32_t) (a)) & 0xffff0000) == 0xa9fe0000)
#define IPV4_CLASS_DE(a) ((((u_int32_t) (a)) & 0xe0000000) == 0xe0000000)
+#define IPV4_MC_LINKLOCAL(a) ((((u_int32_t) (a)) & 0xffffff00) == 0xe0000000)
/* Max bit/byte length of IPv6 address. */
#define IPV6_MAX_BYTELEN 16