xref: /linux/arch/um/os-Linux/drivers/etap.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 
6cd1ae0e4SJeff Dike #ifndef __DRIVERS_ETAP_H
7cd1ae0e4SJeff Dike #define __DRIVERS_ETAP_H
8cd1ae0e4SJeff Dike 
937185b33SAl Viro #include <net_user.h>
101da177e4SLinus Torvalds 
111da177e4SLinus Torvalds struct ethertap_data {
121da177e4SLinus Torvalds 	char *dev_name;
131da177e4SLinus Torvalds 	char *gate_addr;
141da177e4SLinus Torvalds 	int data_fd;
151da177e4SLinus Torvalds 	int control_fd;
161da177e4SLinus Torvalds 	void *dev;
171da177e4SLinus Torvalds };
181da177e4SLinus Torvalds 
195e7672ecSJeff Dike extern const struct net_user_info ethertap_user_info;
201da177e4SLinus Torvalds 
21cd1ae0e4SJeff Dike #endif
22