mcast.h 433 B

123456789101112131415161718192021222324
  1. /*
  2. * Copyright (C) 2001 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
  3. * Licensed under the GPL
  4. */
  5. #ifndef __DRIVERS_MCAST_H
  6. #define __DRIVERS_MCAST_H
  7. #include "net_user.h"
  8. struct mcast_data {
  9. char *addr;
  10. unsigned short port;
  11. void *mcast_addr;
  12. int ttl;
  13. void *dev;
  14. };
  15. extern const struct net_user_info mcast_user_info;
  16. extern int mcast_user_write(int fd, void *buf, int len,
  17. struct mcast_data *pri);
  18. #endif