Home
last modified time | relevance | path

Searched refs:guest_port (Results 1 – 7 of 7) sorted by relevance

/external/qemu/slirp/
Dlibslirp.h27 struct in_addr guest_addr, int guest_port);
29 int guest_port);
36 void slirp_socket_recv(int addr_low_byte, int guest_port, const uint8_t *buf,
38 size_t slirp_socket_can_recv(int addr_low_byte, int guest_port);
Dslirp.c785 struct in_addr guest_addr, int guest_port) in slirp_redir() argument
789 htons(guest_port), 0)) in slirp_redir()
793 htons(guest_port), 0)) in slirp_redir()
800 int guest_port) in slirp_add_exec() argument
803 addr_low_byte, htons(guest_port)); in slirp_add_exec()
816 static struct socket *slirp_find_ctl_socket(int addr_low_byte, int guest_port) in slirp_find_ctl_socket() argument
825 && htons(so->so_fport) == guest_port) in slirp_find_ctl_socket()
832 size_t slirp_socket_can_recv(int addr_low_byte, int guest_port) in slirp_socket_can_recv() argument
840 so = slirp_find_ctl_socket(addr_low_byte, guest_port); in slirp_socket_can_recv()
851 void slirp_socket_recv(int addr_low_byte, int guest_port, const uint8_t *buf, in slirp_socket_recv() argument
[all …]
/external/qemu/slirp-android/
Dlibslirp.h103 uint32_t guest_addr, int guest_port);
110 int guest_port);
117 void slirp_socket_recv(int addr_low_byte, int guest_port, const uint8_t *buf,
119 size_t slirp_socket_can_recv(int addr_low_byte, int guest_port);
Dslirp.c1180 uint32_t guest_ip, int guest_port) in slirp_redir() argument
1185 guest_port, 0)) in slirp_redir()
1188 if (!solisten(host_port, guest_ip, guest_port, 0)) in slirp_redir()
1203 int guest_port) in slirp_add_exec() argument
1206 addr_low_byte, htons(guest_port)); in slirp_add_exec()
1219 static struct socket *slirp_find_ctl_socket(int addr_low_byte, int guest_port) in slirp_find_ctl_socket() argument
1228 && so->so_faddr_port == guest_port) in slirp_find_ctl_socket()
1235 size_t slirp_socket_can_recv(int addr_low_byte, int guest_port) in slirp_socket_can_recv() argument
1243 so = slirp_find_ctl_socket(addr_low_byte, guest_port); in slirp_socket_can_recv()
1254 void slirp_socket_recv(int addr_low_byte, int guest_port, const uint8_t *buf, in slirp_socket_recv() argument
[all …]
/external/qemu/android/
Dconsole.c85 int guest_port; member
140 int guest_port ) in control_global_add_redir() argument
162 redir->guest_port = guest_port; in control_global_add_redir()
830 redir->guest_port ); in do_redir_list()
895 int len, host_proto, host_port, guest_port; in do_redir_add() local
912 len = redir_parse_guest_port( args, &guest_port ); in do_redir_add()
927 D(("pattern hport=%d gport=%d proto=%d\n", host_port, guest_port, host_proto )); in do_redir_add()
929 guest_ip, guest_port ) < 0 ) in do_redir_add()
935 if (slirp_redir(host_proto, host_port, guest_ip, guest_port) < 0) { in do_redir_add()
/external/qemu/net/
Dnet.c821 int host_port, guest_port; in slirp_redirection() local
856 guest_port = strtol(p, &r, 0); in slirp_redirection()
861 if (slirp_redir(is_udp, host_port, guest_addr, guest_port) < 0) { in slirp_redirection()
Dnet-android.c924 int host_port, guest_port; in slirp_redirection() local
959 guest_port = strtol(p, &r, 0); in slirp_redirection()
964 if (slirp_redir(is_udp, host_port, guest_addr, guest_port) < 0) { in slirp_redirection()