diff options
Diffstat (limited to 'arch/um/drivers/mcast.h')
-rw-r--r-- | arch/um/drivers/mcast.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/arch/um/drivers/mcast.h b/arch/um/drivers/mcast.h new file mode 100644 index 000000000000..a2c6db243458 --- /dev/null +++ b/arch/um/drivers/mcast.h | |||
@@ -0,0 +1,30 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2001 Jeff Dike (jdike@karaya.com) | ||
3 | * Licensed under the GPL | ||
4 | */ | ||
5 | |||
6 | #include "net_user.h" | ||
7 | |||
8 | struct mcast_data { | ||
9 | char *addr; | ||
10 | unsigned short port; | ||
11 | void *mcast_addr; | ||
12 | int ttl; | ||
13 | void *dev; | ||
14 | }; | ||
15 | |||
16 | extern struct net_user_info mcast_user_info; | ||
17 | |||
18 | extern int mcast_user_write(int fd, void *buf, int len, | ||
19 | struct mcast_data *pri); | ||
20 | |||
21 | /* | ||
22 | * Overrides for Emacs so that we follow Linus's tabbing style. | ||
23 | * Emacs will notice this stuff at the end of the file and automatically | ||
24 | * adjust the settings for this buffer only. This must remain at the end | ||
25 | * of the file. | ||
26 | * --------------------------------------------------------------------------- | ||
27 | * Local variables: | ||
28 | * c-file-style: "linux" | ||
29 | * End: | ||
30 | */ | ||