Home
last modified time | relevance | path

Searched refs:preq_addr (Results 1 – 2 of 2) sorted by relevance

/external/qemu/slirp/
Dbootp.c107 const struct in_addr **preq_addr) in dhcp_decode() argument
113 *preq_addr = NULL; in dhcp_decode()
140 *preq_addr = (struct in_addr *)p; in dhcp_decode()
148 if (*pmsg_type == DHCPREQUEST && !*preq_addr && bp->bp_ciaddr.s_addr) { in dhcp_decode()
149 *preq_addr = &bp->bp_ciaddr; in dhcp_decode()
160 const struct in_addr *preq_addr; in bootp_reply() local
165 dhcp_decode(bp, &dhcp_msg_type, &preq_addr); in bootp_reply()
167 if (preq_addr) in bootp_reply()
168 dprintf(" req_addr=%08x\n", ntohl(preq_addr->s_addr)); in bootp_reply()
189 if (preq_addr) { in bootp_reply()
[all …]
/external/qemu/slirp-android/
Dbootp.c112 const ipaddr_t **preq_addr) in dhcp_decode() argument
118 *preq_addr = NULL; in dhcp_decode()
145 *preq_addr = (const ipaddr_t *)p; in dhcp_decode()
153 if (*pmsg_type == DHCPREQUEST && !*preq_addr && bp->bp_ciaddr) { in dhcp_decode()
154 *preq_addr = (const ipaddr_t*)&bp->bp_ciaddr; in dhcp_decode()
165 const ipaddr_t *preq_addr; in bootp_reply() local
170 dhcp_decode(bp, &dhcp_msg_type, &preq_addr); in bootp_reply()
172 if (preq_addr) { in bootp_reply()
173 dprintf(" req_addr=%08x\n", ntohl(*preq_addr)); in bootp_reply()
194 if (preq_addr) { in bootp_reply()
[all …]