br_multicast.c (cf332bca56f4981cad19027f037fb4d661dcb172) br_multicast.c (d08c6bc08f72f74cd37f6b7954e3f708005518f9)
1/*
2 * Bridge multicast support.
3 *
4 * Copyright (c) 2010 Herbert Xu <herbert@gondor.apana.org.au>
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the Free
8 * Software Foundation; either version 2 of the License, or (at your option)

--- 1727 unchanged lines hidden (view full) ---

1736 struct net_bridge *br = from_timer(br, t, ip6_own_query.timer);
1737
1738 br_multicast_query_expired(br, &br->ip6_own_query, &br->ip6_querier);
1739}
1740#endif
1741
1742void br_multicast_init(struct net_bridge *br)
1743{
1/*
2 * Bridge multicast support.
3 *
4 * Copyright (c) 2010 Herbert Xu <herbert@gondor.apana.org.au>
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the Free
8 * Software Foundation; either version 2 of the License, or (at your option)

--- 1727 unchanged lines hidden (view full) ---

1736 struct net_bridge *br = from_timer(br, t, ip6_own_query.timer);
1737
1738 br_multicast_query_expired(br, &br->ip6_own_query, &br->ip6_querier);
1739}
1740#endif
1741
1742void br_multicast_init(struct net_bridge *br)
1743{
1744 br->hash_max = 512;
1744 br->hash_max = BR_MULTICAST_DEFAULT_HASH_MAX;
1745
1746 br->multicast_router = MDB_RTR_TYPE_TEMP_QUERY;
1747 br->multicast_last_member_count = 2;
1748 br->multicast_startup_query_count = 2;
1749
1750 br->multicast_last_member_interval = HZ;
1751 br->multicast_query_response_interval = 10 * HZ;
1752 br->multicast_startup_query_interval = 125 * HZ / 4;

--- 611 unchanged lines hidden ---
1745
1746 br->multicast_router = MDB_RTR_TYPE_TEMP_QUERY;
1747 br->multicast_last_member_count = 2;
1748 br->multicast_startup_query_count = 2;
1749
1750 br->multicast_last_member_interval = HZ;
1751 br->multicast_query_response_interval = 10 * HZ;
1752 br->multicast_startup_query_interval = 125 * HZ / 4;

--- 611 unchanged lines hidden ---