diff options
author | Jiri Pirko <jiri@resnulli.us> | 2013-07-20 12:13:54 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-07-23 16:52:47 -0700 |
commit | 492b200efdd20b8fcfdac873f3cd8d4902386581 (patch) | |
tree | 71a8b0b141e7a44afcf18304911d036d5be77c6e /include/linux/if_team.h | |
parent | 4aa5dee4d9997879adff858514844efab5a15a01 (diff) | |
download | linux-rt-492b200efdd20b8fcfdac873f3cd8d4902386581.tar.gz |
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/linux/if_team.h')
-rw-r--r-- | include/linux/if_team.h | 6 |
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]; }; |