tuntap.h 681 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * Copyright (C) 2001, 2002 Jeff Dike (jdike@karaya.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 struct net_user_info tuntap_user_info;
  16. #endif
  17. /*
  18. * Overrides for Emacs so that we follow Linus's tabbing style.
  19. * Emacs will notice this stuff at the end of the file and automatically
  20. * adjust the settings for this buffer only. This must remain at the end
  21. * of the file.
  22. * ---------------------------------------------------------------------------
  23. * Local variables:
  24. * c-file-style: "linux"
  25. * End:
  26. */