etap.h 629 B

123456789101112131415161718192021222324252627
  1. /*
  2. * Copyright (C) 2001 Jeff Dike (jdike@karaya.com)
  3. * Licensed under the GPL
  4. */
  5. #include "net_user.h"
  6. struct ethertap_data {
  7. char *dev_name;
  8. char *gate_addr;
  9. int data_fd;
  10. int control_fd;
  11. void *dev;
  12. };
  13. extern struct net_user_info ethertap_user_info;
  14. /*
  15. * Overrides for Emacs so that we follow Linus's tabbing style.
  16. * Emacs will notice this stuff at the end of the file and automatically
  17. * adjust the settings for this buffer only. This must remain at the end
  18. * of the file.
  19. * ---------------------------------------------------------------------------
  20. * Local variables:
  21. * c-file-style: "linux"
  22. * End:
  23. */