blob: cab0379e6142cb08358e2a532203e3b5d47800a1 [file] [log] [blame]
Alex Dewardbddf422019-08-25 10:49:16 +01001/* SPDX-License-Identifier: GPL-2.0 */
Jeff Dikead43c352007-10-16 01:26:48 -07002/*
3 * Copyright (C) 2007 Luca Bigliardi (shammash@artha.org).
Jeff Dikead43c352007-10-16 01:26:48 -07004 */
5
6#ifndef __UM_VDE_H__
7#define __UM_VDE_H__
8
9struct vde_data {
10 char *vde_switch;
11 char *descr;
12 void *args;
13 void *conn;
14 void *dev;
15};
16
17struct vde_init {
18 char *vde_switch;
19 char *descr;
20 int port;
21 char *group;
22 int mode;
23};
24
25extern const struct net_user_info vde_user_info;
26
27extern void vde_init_libstuff(struct vde_data *vpri, struct vde_init *init);
28
29extern int vde_user_read(void *conn, void *buf, int len);
30extern int vde_user_write(void *conn, void *buf, int len);
31
32#endif