tuntap.h 336 B

12345678910111213141516171819202122
  1. /*
  2. * Copyright (C) 2001 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
  3. * Licensed under the GPL
  4. */
  5. #ifndef __UM_TUNTAP_H
  6. #define __UM_TUNTAP_H
  7. #include "net_user.h"
  8. struct tuntap_data {
  9. char *dev_name;
  10. int fixed_config;
  11. char *gate_addr;
  12. int fd;
  13. void *dev;
  14. };
  15. extern const struct net_user_info tuntap_user_info;
  16. #endif