umcast.h 497 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * Copyright (C) 2001 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
  3. * Licensed under the GPL
  4. */
  5. #ifndef __DRIVERS_UMCAST_H
  6. #define __DRIVERS_UMCAST_H
  7. #include <net_user.h>
  8. struct umcast_data {
  9. char *addr;
  10. unsigned short lport;
  11. unsigned short rport;
  12. void *listen_addr;
  13. void *remote_addr;
  14. int ttl;
  15. int unicast;
  16. void *dev;
  17. };
  18. extern const struct net_user_info umcast_user_info;
  19. extern int umcast_user_write(int fd, void *buf, int len,
  20. struct umcast_data *pri);
  21. #endif