slirp.h (452fcdbc49c59884c8c284268d64baa24fea11e1) | slirp.h (922a01a013d2270682a188258cbccacfecf8129c) |
---|---|
1/* 2 * QEMU System Emulator 3 * 4 * Copyright (c) 2003-2008 Fabrice Bellard 5 * 6 * Permission is hereby granted, free of charge, to any person obtaining a copy 7 * of this software and associated documentation files (the "Software"), to deal 8 * in the Software without restriction, including without limitation the rights --- 10 unchanged lines hidden (view full) --- 19 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 * THE SOFTWARE. 23 */ 24#ifndef QEMU_NET_SLIRP_H 25#define QEMU_NET_SLIRP_H 26 | 1/* 2 * QEMU System Emulator 3 * 4 * Copyright (c) 2003-2008 Fabrice Bellard 5 * 6 * Permission is hereby granted, free of charge, to any person obtaining a copy 7 * of this software and associated documentation files (the "Software"), to deal 8 * in the Software without restriction, including without limitation the rights --- 10 unchanged lines hidden (view full) --- 19 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 * THE SOFTWARE. 23 */ 24#ifndef QEMU_NET_SLIRP_H 25#define QEMU_NET_SLIRP_H 26 |
27#include "qemu-common.h" 28#include "qemu/option.h" | |
29 30#ifdef CONFIG_SLIRP 31 32void hmp_hostfwd_add(Monitor *mon, const QDict *qdict); 33void hmp_hostfwd_remove(Monitor *mon, const QDict *qdict); 34 35int net_slirp_redir(const char *redir_str); 36 37int net_slirp_smb(const char *exported_dir); 38 39void hmp_info_usernet(Monitor *mon, const QDict *qdict); 40 41#endif 42 43#endif /* QEMU_NET_SLIRP_H */ | 27 28#ifdef CONFIG_SLIRP 29 30void hmp_hostfwd_add(Monitor *mon, const QDict *qdict); 31void hmp_hostfwd_remove(Monitor *mon, const QDict *qdict); 32 33int net_slirp_redir(const char *redir_str); 34 35int net_slirp_smb(const char *exported_dir); 36 37void hmp_info_usernet(Monitor *mon, const QDict *qdict); 38 39#endif 40 41#endif /* QEMU_NET_SLIRP_H */ |