mirror of https://gitee.com/openkylin/linux.git
22 lines
349 B
C
22 lines
349 B
C
/*
|
|
* Copyright (C) 2001 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
|
|
* Licensed under the GPL
|
|
*/
|
|
|
|
#ifndef __DRIVERS_ETAP_H
|
|
#define __DRIVERS_ETAP_H
|
|
|
|
#include <net_user.h>
|
|
|
|
struct ethertap_data {
|
|
char *dev_name;
|
|
char *gate_addr;
|
|
int data_fd;
|
|
int control_fd;
|
|
void *dev;
|
|
};
|
|
|
|
extern const struct net_user_info ethertap_user_info;
|
|
|
|
#endif
|