Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
Jeff Dike | cd1ae0e | 2007-10-16 01:27:29 -0700 | [diff] [blame] | 2 | * Copyright (C) 2001 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3 | * Licensed under the GPL |
| 4 | */ |
| 5 | |
Jeff Dike | cd1ae0e | 2007-10-16 01:27:29 -0700 | [diff] [blame] | 6 | #ifndef __DRIVERS_MCAST_H |
| 7 | #define __DRIVERS_MCAST_H |
| 8 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 9 | #include "net_user.h" |
| 10 | |
| 11 | struct mcast_data { |
| 12 | char *addr; |
| 13 | unsigned short port; |
| 14 | void *mcast_addr; |
| 15 | int ttl; |
| 16 | void *dev; |
| 17 | }; |
| 18 | |
Jeff Dike | 5e7672e | 2006-09-27 01:50:33 -0700 | [diff] [blame] | 19 | extern const struct net_user_info mcast_user_info; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 20 | |
| 21 | extern int mcast_user_write(int fd, void *buf, int len, |
| 22 | struct mcast_data *pri); |
| 23 | |
Jeff Dike | cd1ae0e | 2007-10-16 01:27:29 -0700 | [diff] [blame] | 24 | #endif |