1/* 2 * Copyright (C) 2001 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) 3 * Licensed under the GPL 4 */ 5 6#ifndef __DRIVERS_MCAST_H 7#define __DRIVERS_MCAST_H 8 9#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 19extern const struct net_user_info mcast_user_info; 20 21extern int mcast_user_write(int fd, void *buf, int len, 22 struct mcast_data *pri); 23 24#endif 25