br_multicast.c (1fafc7a9353ef68e1b8d4bb130cb6402cf7dfd5a) br_multicast.c (d4c4f07df16c767b8efbc44e7cdf795fac326b33)
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)

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

23#include <linux/skbuff.h>
24#include <linux/slab.h>
25#include <linux/timer.h>
26#include <net/ip.h>
27#if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE)
28#include <net/ipv6.h>
29#include <net/mld.h>
30#include <net/addrconf.h>
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)

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

23#include <linux/skbuff.h>
24#include <linux/slab.h>
25#include <linux/timer.h>
26#include <net/ip.h>
27#if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE)
28#include <net/ipv6.h>
29#include <net/mld.h>
30#include <net/addrconf.h>
31#include <net/ip6_checksum.h>
31#endif
32
33#include "br_private.h"
34
35#if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE)
36static inline int ipv6_is_local_multicast(const struct in6_addr *addr)
37{
38 if (ipv6_addr_is_multicast(addr) &&

--- 1773 unchanged lines hidden ---
32#endif
33
34#include "br_private.h"
35
36#if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE)
37static inline int ipv6_is_local_multicast(const struct in6_addr *addr)
38{
39 if (ipv6_addr_is_multicast(addr) &&

--- 1773 unchanged lines hidden ---