tuntap.h 336 字节
Newer Older
L
Linus Torvalds 已提交
1
/* 
J
Jeff Dike 已提交
2
 * Copyright (C) 2001 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
L
Linus Torvalds 已提交
3 4 5 6 7 8
 * Licensed under the GPL
 */

#ifndef __UM_TUNTAP_H
#define __UM_TUNTAP_H

9
#include <net_user.h>
L
Linus Torvalds 已提交
10 11 12 13 14 15 16 17 18

struct tuntap_data {
	char *dev_name;
	int fixed_config;
	char *gate_addr;
	int fd;
	void *dev;
};

J
Jeff Dike 已提交
19
extern const struct net_user_info tuntap_user_info;
L
Linus Torvalds 已提交
20 21

#endif