patch-2.3.6 linux/include/linux/igmp.h
Next file: linux/include/linux/inet.h
Previous file: linux/include/linux/i2o.h
Back to the patch index
Back to the overall index
- Lines: 21
- Date:
Wed Jun 9 14:45:36 1999
- Orig file:
v2.3.5/linux/include/linux/igmp.h
- Orig date:
Mon Jan 12 15:28:18 1998
diff -u --recursive --new-file v2.3.5/linux/include/linux/igmp.h linux/include/linux/igmp.h
@@ -101,19 +101,7 @@
char loaded;
};
-extern __inline__ int ip_check_mc(struct device *dev, u32 mc_addr)
-{
- struct in_device *in_dev = dev->ip_ptr;
- struct ip_mc_list *im;
-
- if (in_dev) {
- for (im=in_dev->mc_list; im; im=im->next)
- if (im->multiaddr == mc_addr)
- return 1;
- }
- return 0;
-}
-
+extern int ip_check_mc(struct 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);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)