diff options
| author | Mladen Sablic <mladen.sablic@gmail.com> | 2018-02-12 23:41:33 +0100 | 
|---|---|---|
| committer | Mladen Sablic <mladen.sablic@gmail.com> | 2018-02-19 23:13:55 +0100 | 
| commit | 4d9ad5dcd0244b4035d8f88f7a3478a450c74283 (patch) | |
| tree | 961109b12d71391f4ea372ecb6083070127a518c /lib/prefix.h | |
| parent | 6ac12ea313530f6d4effa843b10f224cc3586fbd (diff) | |
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.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  | 
