blob: 6fa282e896bed2d1938e480b9a92e664346c1de8 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
Jeff Dikecd1ae0e2007-10-16 01:27:29 -07002 * Copyright (C) 2001 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
Linus Torvalds1da177e2005-04-16 15:20:36 -07003 * Licensed under the GPL
4 */
5
Jeff Dikecd1ae0e2007-10-16 01:27:29 -07006#ifndef __DRIVERS_MCAST_H
7#define __DRIVERS_MCAST_H
8
Linus Torvalds1da177e2005-04-16 15:20:36 -07009#include "net_user.h"
10
11struct mcast_data {
12 char *addr;
13 unsigned short port;
14 void *mcast_addr;
15 int ttl;
16 void *dev;
17};
18
Jeff Dike5e7672e2006-09-27 01:50:33 -070019extern const struct net_user_info mcast_user_info;
Linus Torvalds1da177e2005-04-16 15:20:36 -070020
21extern int mcast_user_write(int fd, void *buf, int len,
22 struct mcast_data *pri);
23
Jeff Dikecd1ae0e2007-10-16 01:27:29 -070024#endif