/external/qemu/slirp/ |
D | libslirp.h | 27 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);
|
D | slirp.c | 785 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/ |
D | libslirp.h | 103 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);
|
D | slirp.c | 1180 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/ |
D | console.c | 85 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/ |
D | net.c | 821 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()
|
D | net-android.c | 924 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()
|