summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid Stevens <dlstevens@us.ibm.com>2003-04-22 09:51:48 -0700
committerArnaldo Carvalho de Melo <acme@conectiva.com.br>2003-04-22 09:51:48 -0700
commit3a3a07dedd6a3c2f3cc97aec5b347a3c3b997434 (patch)
treeabd0643ddfa23239465b581089c5ec2689648888 /include
parentc1f25dc7c596c44a9b56f7831fbd664cc2848543 (diff)
[IGMPv3/MPDv2]: Bug fixes and ipv4 multiprotocol API.
Diffstat (limited to 'include')
-rw-r--r--include/linux/igmp.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/linux/igmp.h b/include/linux/igmp.h
index 2cc2472d2eb2..8144cabdad06 100644
--- a/include/linux/igmp.h
+++ b/include/linux/igmp.h
@@ -191,7 +191,7 @@ struct ip_mc_list
(IGMPV3_MASK((value) >> (nbmant), nbexp) + (nbexp))))
#define IGMPV3_QQIC(value) IGMPV3_EXP(0x80, 4, 3, value)
-#define IGMPV3_MRC(value) IGMPV3_EXP(0x8000, 12, 3, value)
+#define IGMPV3_MRC(value) IGMPV3_EXP(0x80, 4, 3, value)
extern int ip_check_mc(struct in_device *dev, u32 mc_addr, u32 src_addr, u16 proto);
extern int igmp_rcv(struct sk_buff *);
@@ -199,10 +199,12 @@ 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);
extern void ip_mc_drop_socket(struct sock *sk);
extern int ip_mc_source(int add, int omode, struct sock *sk,
- struct ip_mreq_source *mreqs);
-extern int ip_mc_msfilter(struct sock *sk, struct ip_msfilter *msf);
+ struct ip_mreq_source *mreqs, int ifindex);
+extern int ip_mc_msfilter(struct sock *sk, struct ip_msfilter *msf,int ifindex);
extern int ip_mc_msfget(struct sock *sk, struct ip_msfilter *msf,
struct ip_msfilter *optval, int *optlen);
+extern int ip_mc_gsfget(struct sock *sk, struct group_filter *gsf,
+ struct group_filter *optval, int *optlen);
extern int ip_mc_sf_allow(struct sock *sk, u32 local, u32 rmt, int dif);
extern void ip_mr_init(void);
extern void ip_mc_init_dev(struct in_device *);