xref: /linux/arch/um/os-Linux/drivers/tuntap.h (revision 0be3ff0c)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Copyright (C) 2001 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
4  */
5 
6 #ifndef __UM_TUNTAP_H
7 #define __UM_TUNTAP_H
8 
9 #include <net_user.h>
10 
11 struct tuntap_data {
12 	char *dev_name;
13 	int fixed_config;
14 	char *gate_addr;
15 	int fd;
16 	void *dev;
17 };
18 
19 extern const struct net_user_info tuntap_user_info;
20 
21 #endif
22