Searched refs:so_faddr_ip (Results 1 – 8 of 8) sorted by relevance
/external/qemu/slirp-android/ |
D | tcp_subr.c | 76 n->ti_src = ip_seth(so->so_faddr_ip); in tcp_template() 432 if (slirp_should_drop(so->so_faddr_ip, so->so_faddr_port, IPPROTO_TCP)) { in tcp_fconnect() 441 so->so_faddr_ip, in tcp_fconnect() 452 so->so_faddr_ip, in tcp_fconnect() 465 so->so_faddr_ip, in tcp_fconnect() 497 if (slirp_should_net_forward(so->so_faddr_ip, so->so_faddr_port, in tcp_fconnect() 506 else if (is_qemu_special_address(so->so_faddr_ip, &faddr)) { in tcp_fconnect() 524 sock_ip = so->so_faddr_ip; /* original dst addr */ in tcp_fconnect() 557 so->so_faddr_ip, so->so_laddr_port, in tcp_fconnect() 634 so->so_faddr_ip = addr_ip; in tcp_connect() [all …]
|
D | udp.c | 226 tmp->so_faddr_ip = ip_geth(ip->ip_dst); in udp_input() 269 so->so_faddr_ip = ip_geth(ip->ip_dst); /* XXX */ in udp_input() 382 if ((so->so_faddr_ip & 0xffffff00) == special_addr_ip) { in udp_output_() 383 saddr_ip = so->so_faddr_ip; in udp_output_() 384 if ((so->so_faddr_ip & 0x000000ff) == 0xff) in udp_output_() 512 so->so_faddr_ip = alias_addr_ip; in udp_listen() 514 so->so_faddr_ip = addr_ip; in udp_listen()
|
D | ip_icmp.c | 131 so->so_faddr_ip = ip_geth(ip->ip_dst); in icmp_input() 140 if ((so->so_faddr_ip & 0xffffff00) == special_addr_ip) { in icmp_input() 142 int low = so->so_faddr_ip & 0xff; in icmp_input() 149 addr_ip = so->so_faddr_ip; in icmp_input()
|
D | socket.c | 40 so->so_faddr_ip == faddr && in solookup() 560 if ((so->so_faddr_ip & 0xffffff00) == special_addr_ip) { in sosendto() 562 int low = so->so_faddr_ip & 0xff; in sosendto() 569 addr_ip = so->so_faddr_ip; in sosendto() 664 so->so_faddr_ip = alias_addr_ip; in solisten() 666 so->so_faddr_ip = addr_ip; in solisten()
|
D | socket.h | 32 uint32_t so_faddr_ip; member
|
D | debug.c | 289 inet_iptostr(so->so_faddr_ip), so->so_faddr_port, 303 inet_iptostr(so->so_faddr_ip), so->so_faddr_port,
|
D | slirp.c | 1142 sock_address_init_inet(&foreign, so->so_faddr_ip, so->so_faddr_port); in _slirp_redir_loop() 1224 if ((so->so_faddr_ip & 0xffffff00) == in slirp_find_ctl_socket() 1332 qemu_put_be32(f, so->so_faddr_ip); in slirp_socket_save() 1439 so->so_faddr_ip = qemu_get_be32(f); in slirp_socket_load() 1473 if ((so->so_faddr_ip & 0xffffff00) != special_addr_ip) in slirp_state_load() 1478 (so->so_faddr_ip & 0xff) == ex_ptr->ex_addr && in slirp_state_load()
|
D | tcp_input.c | 384 so->so_faddr_ip != dstip) { in tcp_input() 423 so->so_faddr_ip = ip_geth(ti->ti_dst); in tcp_input() 647 if ((so->so_faddr_ip & 0xffffff00) == special_addr_ip) { in tcp_input() 648 int lastbyte=so->so_faddr_ip & 0xff; in tcp_input()
|