blob: 54183a679fdd52092306edbe1d8fe064b0d0d6e9 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
Jeff Dikecd1ae0e2007-10-16 01:27:29 -07002 * Copyright (C) 2001 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
Linus Torvalds1da177e2005-04-16 15:20:36 -07003 * Licensed under the GPL
4 */
5
Jeff Dikecd1ae0e2007-10-16 01:27:29 -07006#ifndef __DRIVERS_ETAP_H
7#define __DRIVERS_ETAP_H
8
Al Viro37185b32012-10-08 03:27:32 +01009#include <net_user.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -070010
11struct ethertap_data {
12 char *dev_name;
13 char *gate_addr;
14 int data_fd;
15 int control_fd;
16 void *dev;
17};
18
Jeff Dike5e7672e2006-09-27 01:50:33 -070019extern const struct net_user_info ethertap_user_info;
Linus Torvalds1da177e2005-04-16 15:20:36 -070020
Jeff Dikecd1ae0e2007-10-16 01:27:29 -070021#endif