History

net: bridge: mcast: add support for blocked port groups

When excluding S,G entries we need a way to block a particular S,G,port. The new port group flag is managed based on the source's timer as per RFCs 3376 and 3810. When a source expires and its port group is in EXCLUDE mode, it will be blocked.

Nikolay Aleksandrov committed 6 years ago

Commit 9116ffb1 parent 8266a044 files · +47 −6Browse files

Showing the changes to include/uapi (1 of 4 files). Show all

Unified · Split

include/uapi/linux/if_bridge.h+1−0
@@ -519,6 +519,7 @@ struct br_mdb_entry { · 518 unmodified lines
519519 #define MDB_FLAGS_OFFLOAD (1 << 0)
520520 #define MDB_FLAGS_FAST_LEAVE (1 << 1)
521521 #define MDB_FLAGS_STAR_EXCL (1 << 2)
522+#define MDB_FLAGS_BLOCKED (1 << 3)
522523 __u8 flags;
523524 __u16 vid;
524525 struct {