summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJiri Pirko <jiri@resnulli.us>2013-07-20 14:13:54 +0400
committerDavid S. Miller <davem@davemloft.net>2013-07-24 03:52:47 +0400
commit492b200efdd20b8fcfdac873f3cd8d4902386581 (patch)
tree71a8b0b141e7a44afcf18304911d036d5be77c6e /include
parent4aa5dee4d9997879adff858514844efab5a15a01 (diff)
downloadlinux-492b200efdd20b8fcfdac873f3cd8d4902386581.tar.xz
team: add support for sending multicast rejoins
Similar to what is implemented in bonding. User is able to ask team driver to send IGMP rejoins in case port is enabled or disabled. Using previously introduced netdev notifier. Signed-off-by: Jiri Pirko <jiri@resnulli.us> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/if_team.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/if_team.h b/include/linux/if_team.h
index b0b83683461e..a899dc24be15 100644
--- a/include/linux/if_team.h
+++ b/include/linux/if_team.h
@@ -200,6 +200,12 @@ struct team {
atomic_t count_pending;
struct delayed_work dw;
} notify_peers;
+ struct {
+ unsigned int count;
+ unsigned int interval; /* in ms */
+ atomic_t count_pending;
+ struct delayed_work dw;
+ } mcast_rejoin;
long mode_priv[TEAM_MODE_PRIV_LONGS];
};