2 * Copyright (c) 1995 Danny Gasparovski.
4 * Please read the file COPYRIGHT for the
5 * terms and conditions of the copyright.
14 SlirpWriteCb write_cb;
16 struct in_addr ex_addr; /* Server address */
17 int ex_fport; /* Port to telnet to */
18 char *ex_exec; /* Command line of what to exec */
19 struct gfwd_list *ex_next;
29 #define EMU_REALAUDIO 0x5
30 #define EMU_RLOGIN 0x6
33 #define EMU_NOCONNECT 0x10 /* Don't connect */
50 struct slirp_quehead {
51 struct slirp_quehead *qh_link;
52 struct slirp_quehead *qh_rlink;
55 void slirp_insque(void *, void *);
56 void slirp_remque(void *);
57 int fork_exec(struct socket *so, const char *ex);
60 add_guestfwd(struct gfwd_list **ex_ptr,
61 SlirpWriteCb write_cb, void *opaque,
62 struct in_addr addr, int port);
65 add_exec(struct gfwd_list **ex_ptr, const char *cmdline,
66 struct in_addr addr, int port);