summaryrefslogtreecommitdiffstats
path: root/include/linux/igmp.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1999-10-09 00:00:47 +0000
committerRalf Baechle <ralf@linux-mips.org>1999-10-09 00:00:47 +0000
commitd6434e1042f3b0a6dfe1b1f615af369486f9b1fa (patch)
treee2be02f33984c48ec019c654051d27964e42c441 /include/linux/igmp.h
parent609d1e803baf519487233b765eb487f9ec227a18 (diff)
Merge with 2.3.19.
Diffstat (limited to 'include/linux/igmp.h')
-rw-r--r--include/linux/igmp.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/igmp.h b/include/linux/igmp.h
index f3f6c2363..0c971919f 100644
--- a/include/linux/igmp.h
+++ b/include/linux/igmp.h
@@ -95,13 +95,15 @@ struct ip_mc_list
struct ip_mc_list *next;
struct timer_list timer;
int users;
+ atomic_t refcnt;
+ spinlock_t lock;
char tm_running;
char reporter;
char unsolicit_count;
char loaded;
};
-extern int ip_check_mc(struct device *dev, u32 mc_addr);
+extern int ip_check_mc(struct in_device *dev, u32 mc_addr);
extern int igmp_rcv(struct sk_buff *, unsigned short);
extern int ip_mc_join_group(struct sock *sk, struct ip_mreqn *imr);
extern int ip_mc_leave_group(struct sock *sk, struct ip_mreqn *imr);