xref: /linux/arch/um/os-Linux/drivers/tuntap.h (revision 976e3645923bdd2fe7893aae33fd7a21098bfb28)
1*97870c34SAlex Dewar /* SPDX-License-Identifier: GPL-2.0 */
21da177e4SLinus Torvalds /*
3cd1ae0e4SJeff Dike  * Copyright (C) 2001 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
41da177e4SLinus Torvalds  */
51da177e4SLinus Torvalds 
61da177e4SLinus Torvalds #ifndef __UM_TUNTAP_H
71da177e4SLinus Torvalds #define __UM_TUNTAP_H
81da177e4SLinus Torvalds 
937185b33SAl Viro #include <net_user.h>
101da177e4SLinus Torvalds 
111da177e4SLinus Torvalds struct tuntap_data {
121da177e4SLinus Torvalds 	char *dev_name;
131da177e4SLinus Torvalds 	int fixed_config;
141da177e4SLinus Torvalds 	char *gate_addr;
151da177e4SLinus Torvalds 	int fd;
161da177e4SLinus Torvalds 	void *dev;
171da177e4SLinus Torvalds };
181da177e4SLinus Torvalds 
195e7672ecSJeff Dike extern const struct net_user_info tuntap_user_info;
201da177e4SLinus Torvalds 
211da177e4SLinus Torvalds #endif
22