]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blob - arch/um/drivers/vde.h
Merge tag 'hsi-for-4.7' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-hsi
[mirror_ubuntu-zesty-kernel.git] / arch / um / drivers / vde.h
1 /*
2 * Copyright (C) 2007 Luca Bigliardi (shammash@artha.org).
3 * Licensed under the GPL.
4 */
5
6 #ifndef __UM_VDE_H__
7 #define __UM_VDE_H__
8
9 struct vde_data {
10 char *vde_switch;
11 char *descr;
12 void *args;
13 void *conn;
14 void *dev;
15 };
16
17 struct vde_init {
18 char *vde_switch;
19 char *descr;
20 int port;
21 char *group;
22 int mode;
23 };
24
25 extern const struct net_user_info vde_user_info;
26
27 extern void vde_init_libstuff(struct vde_data *vpri, struct vde_init *init);
28
29 extern int vde_user_read(void *conn, void *buf, int len);
30 extern int vde_user_write(void *conn, void *buf, int len);
31
32 #endif