Home
last modified time | relevance | path

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

/external/qemu/slirp-android/
Dip_icmp.c114 if (ip_geth(ip->ip_dst) == alias_addr_ip) { in icmp_input()
131 so->so_faddr_ip = ip_geth(ip->ip_dst); in icmp_input()
133 so->so_laddr_ip = ip_geth(ip->ip_src); in icmp_input()
225 strcpy(bufa, inet_iptostr(ip_geth(ip->ip_src))); in icmp_error()
226 strcpy(bufb, inet_iptostr(ip_geth(ip->ip_dst))); in icmp_error()
Dtftp.c73 spt->client_ip = ip_geth(tp->ip.ip_src); in tftp_session_allocate()
90 if (spt->client_ip == ip_geth(tp->ip.ip_src)) { in tftp_session_find()
158 ip_geth(recv_tp->ip.ip_dst), in tftp_send_oack()
200 ip_geth(recv_tp->ip.ip_dst), in tftp_send_error()
248 ip_geth(recv_tp->ip.ip_dst), in tftp_send_data()
Dudp.c172 so->so_laddr_ip != ip_geth(ip->ip_src)) { in udp_input()
177 tmp->so_laddr_ip == ip_geth(ip->ip_src)) { in udp_input()
178 tmp->so_faddr_ip = ip_geth(ip->ip_dst); in udp_input()
209 so->so_laddr_ip = ip_geth(ip->ip_src); in udp_input()
221 so->so_faddr_ip = ip_geth(ip->ip_dst); /* XXX */ in udp_input()
Dbootp.c77 uint32_t req_addr = ip_geth(*paddr); in request_addr()
197 sock_address_init_inet(&daddr, ip_geth(*preq_addr), BOOTP_CLIENT); in bootp_reply()
212 sock_address_init_inet(&daddr, ip_geth(*preq_addr), BOOTP_CLIENT); in bootp_reply()
303 dprintf("nak'ed addr=%08x\n", ip_geth(*preq_addr)); in bootp_reply()
Dhelper.h53 ip_geth( ipaddr_t ip ) in ip_geth() function
94 return ip_geth(addr); in ip_read32h()
Dtcp_input.c364 (ip_geth(ti->ti_dst) & 0xff) == ex_ptr->ex_addr) in tcp_input()
376 uint32_t srcip = ip_geth(ti->ti_src); in tcp_input()
377 uint32_t dstip = ip_geth(ti->ti_dst); in tcp_input()
421 so->so_laddr_ip = ip_geth(ti->ti_src); in tcp_input()
423 so->so_faddr_ip = ip_geth(ti->ti_dst); in tcp_input()
Dip_input.c137 if (ip_geth(ip->ip_dst) != special_addr_ip) { in ip_input()
141 int host = ip_geth(ip->ip_dst) & 0xff; in ip_input()