Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
Jeff Dike | cd1ae0e | 2007-10-16 01:27:29 -0700 | [diff] [blame] | 2 | * Copyright (C) 2001 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3 | * Licensed under the GPL |
4 | */ | ||||
5 | |||||
Jeff Dike | cd1ae0e | 2007-10-16 01:27:29 -0700 | [diff] [blame] | 6 | #ifndef __DRIVERS_ETAP_H |
7 | #define __DRIVERS_ETAP_H | ||||
8 | |||||
Al Viro | 37185b3 | 2012-10-08 03:27:32 +0100 | [diff] [blame] | 9 | #include <net_user.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 10 | |
11 | struct ethertap_data { | ||||
12 | char *dev_name; | ||||
13 | char *gate_addr; | ||||
14 | int data_fd; | ||||
15 | int control_fd; | ||||
16 | void *dev; | ||||
17 | }; | ||||
18 | |||||
Jeff Dike | 5e7672e | 2006-09-27 01:50:33 -0700 | [diff] [blame] | 19 | extern const struct net_user_info ethertap_user_info; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 20 | |
Jeff Dike | cd1ae0e | 2007-10-16 01:27:29 -0700 | [diff] [blame] | 21 | #endif |