|
@@ -28,38 +28,38 @@
|
|
#include "qapi-types.h"
|
|
#include "qapi-types.h"
|
|
|
|
|
|
int net_init_dump(const NetClientOptions *opts, const char *name,
|
|
int net_init_dump(const NetClientOptions *opts, const char *name,
|
|
- NetClientState *peer);
|
|
|
|
|
|
+ NetClientState *peer, Error **errp);
|
|
|
|
|
|
#ifdef CONFIG_SLIRP
|
|
#ifdef CONFIG_SLIRP
|
|
int net_init_slirp(const NetClientOptions *opts, const char *name,
|
|
int net_init_slirp(const NetClientOptions *opts, const char *name,
|
|
- NetClientState *peer);
|
|
|
|
|
|
+ NetClientState *peer, Error **errp);
|
|
#endif
|
|
#endif
|
|
|
|
|
|
int net_init_hubport(const NetClientOptions *opts, const char *name,
|
|
int net_init_hubport(const NetClientOptions *opts, const char *name,
|
|
- NetClientState *peer);
|
|
|
|
|
|
+ NetClientState *peer, Error **errp);
|
|
|
|
|
|
int net_init_socket(const NetClientOptions *opts, const char *name,
|
|
int net_init_socket(const NetClientOptions *opts, const char *name,
|
|
- NetClientState *peer);
|
|
|
|
|
|
+ NetClientState *peer, Error **errp);
|
|
|
|
|
|
int net_init_tap(const NetClientOptions *opts, const char *name,
|
|
int net_init_tap(const NetClientOptions *opts, const char *name,
|
|
- NetClientState *peer);
|
|
|
|
|
|
+ NetClientState *peer, Error **errp);
|
|
|
|
|
|
int net_init_bridge(const NetClientOptions *opts, const char *name,
|
|
int net_init_bridge(const NetClientOptions *opts, const char *name,
|
|
- NetClientState *peer);
|
|
|
|
|
|
+ NetClientState *peer, Error **errp);
|
|
|
|
|
|
int net_init_l2tpv3(const NetClientOptions *opts, const char *name,
|
|
int net_init_l2tpv3(const NetClientOptions *opts, const char *name,
|
|
- NetClientState *peer);
|
|
|
|
|
|
+ NetClientState *peer, Error **errp);
|
|
#ifdef CONFIG_VDE
|
|
#ifdef CONFIG_VDE
|
|
int net_init_vde(const NetClientOptions *opts, const char *name,
|
|
int net_init_vde(const NetClientOptions *opts, const char *name,
|
|
- NetClientState *peer);
|
|
|
|
|
|
+ NetClientState *peer, Error **errp);
|
|
#endif
|
|
#endif
|
|
|
|
|
|
#ifdef CONFIG_NETMAP
|
|
#ifdef CONFIG_NETMAP
|
|
int net_init_netmap(const NetClientOptions *opts, const char *name,
|
|
int net_init_netmap(const NetClientOptions *opts, const char *name,
|
|
- NetClientState *peer);
|
|
|
|
|
|
+ NetClientState *peer, Error **errp);
|
|
#endif
|
|
#endif
|
|
|
|
|
|
int net_init_vhost_user(const NetClientOptions *opts, const char *name,
|
|
int net_init_vhost_user(const NetClientOptions *opts, const char *name,
|
|
- NetClientState *peer);
|
|
|
|
|
|
+ NetClientState *peer, Error **errp);
|
|
|
|
|
|
#endif /* QEMU_NET_CLIENTS_H */
|
|
#endif /* QEMU_NET_CLIENTS_H */
|