diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-02-22 08:15:38 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-02-22 08:15:38 -0500 |
| commit | 358eb355b9845d624c2cd552e7c8939d985b3b7a (patch) | |
| tree | a2141a20b113ab561dac38ca1cced5a429072b61 /lib/prefix.h | |
| parent | 4298f5e937a1fa689047697395f8b741fb9b3d15 (diff) | |
| parent | 4d9ad5dcd0244b4035d8f88f7a3478a450c74283 (diff) | |
Merge pull request #1749 from msablic/pim_mtrace_cc
pimd: Multicast traceroute client and router
Diffstat (limited to 'lib/prefix.h')
| -rw-r--r-- | lib/prefix.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/prefix.h b/lib/prefix.h index bcc2230607..5bf7d498c1 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 |
