aboutsummaryrefslogtreecommitdiff
path: root/include/net/slirp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/slirp.h')
-rw-r--r--include/net/slirp.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/net/slirp.h b/include/net/slirp.h
index 0502389c68..61e680b1e2 100644
--- a/include/net/slirp.h
+++ b/include/net/slirp.h
@@ -42,6 +42,11 @@ int net_slirp_smb(const char *exported_dir);
void do_info_usernet(Monitor *mon, const QDict *qdict);
+/* Given a VLAN ID and stack name string, look up the corresponding
+ * Slirp backend.
+ */
+Slirp *net_slirp_lookup(const char *vlan, const char *stack, Error **errp);
+
#endif
#endif /* QEMU_NET_SLIRP_H */