io_uring: do not always copy iovec in io_req_map_rw()
[linux/fpc-iii.git] / arch / um / drivers / vde.h
blobcab0379e6142cb08358e2a532203e3b5d47800a1
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Copyright (C) 2007 Luca Bigliardi (shammash@artha.org).
4 */
6 #ifndef __UM_VDE_H__
7 #define __UM_VDE_H__
9 struct vde_data {
10 char *vde_switch;
11 char *descr;
12 void *args;
13 void *conn;
14 void *dev;
17 struct vde_init {
18 char *vde_switch;
19 char *descr;
20 int port;
21 char *group;
22 int mode;
25 extern const struct net_user_info vde_user_info;
27 extern void vde_init_libstuff(struct vde_data *vpri, struct vde_init *init);
29 extern int vde_user_read(void *conn, void *buf, int len);
30 extern int vde_user_write(void *conn, void *buf, int len);
32 #endif