Next to snooping IGMP/MLD queries RFC4541, section 2.1.1.a) recommends to snoop multicast router advertisements to detect multicast routers. Multicast router advertisements are sent to an "all-snoopers" multicast address. To be able to receive them reliably, we need to join this group. Otherwise other snooping switches might refrain from forwarding these advertisements to us.
Showing the changes to include/uapi/linux (1 of 3 files). Show all
Unified · Split
| @@ -292,10 +292,11 @@ struct sockaddr_in { · 291 unmodified lines | ||
| 292 | 292 | #define IN_LOOPBACK(a) ((((long int) (a)) & 0xff000000) == 0x7f000000) |
| 293 | 293 | |
| 294 | 294 | /* Defines for Multicast INADDR */ |
| 295 | −#define INADDR_UNSPEC_GROUP 0xe0000000U /* 224.0.0.0 */ | |
| 296 | −#define INADDR_ALLHOSTS_GROUP 0xe0000001U /* 224.0.0.1 */ | |
| 297 | −#define INADDR_ALLRTRS_GROUP 0xe0000002U /* 224.0.0.2 */ | |
| 298 | −#define INADDR_MAX_LOCAL_GROUP 0xe00000ffU /* 224.0.0.255 */ | |
| 295 | +#define INADDR_UNSPEC_GROUP 0xe0000000U /* 224.0.0.0 */ | |
| 296 | +#define INADDR_ALLHOSTS_GROUP 0xe0000001U /* 224.0.0.1 */ | |
| 297 | +#define INADDR_ALLRTRS_GROUP 0xe0000002U /* 224.0.0.2 */ | |
| 298 | +#define INADDR_ALLSNOOPERS_GROUP 0xe000006aU /* 224.0.0.106 */ | |
| 299 | +#define INADDR_MAX_LOCAL_GROUP 0xe00000ffU /* 224.0.0.255 */ | |
| 299 | 300 | #endif |
| 300 | 301 | |
| 301 | 302 | /* <asm/byteorder.h> contains the htonl type stuff.. */ |