• Home
  • Raw
  • Download

Lines Matching refs:q

167     uint8_t *q;  in bootp_reply()  local
238 q = rbp->bp_vend; in bootp_reply()
239 memcpy(q, rfc1533_cookie, 4); in bootp_reply()
240 q += 4; in bootp_reply()
249 *q++ = RFC2132_MSG_TYPE; in bootp_reply()
250 *q++ = 1; in bootp_reply()
251 *q++ = DHCPOFFER; in bootp_reply()
253 *q++ = RFC2132_MSG_TYPE; in bootp_reply()
254 *q++ = 1; in bootp_reply()
255 *q++ = DHCPACK; in bootp_reply()
262 *q++ = RFC2132_SRV_ID; in bootp_reply()
263 *q++ = 4; in bootp_reply()
264 memcpy(q, &saddr_ip, 4); in bootp_reply()
265 q += 4; in bootp_reply()
267 *q++ = RFC1533_NETMASK; in bootp_reply()
268 *q++ = 4; in bootp_reply()
269 *q++ = 0xff; in bootp_reply()
270 *q++ = 0xff; in bootp_reply()
271 *q++ = 0xff; in bootp_reply()
272 *q++ = 0x00; in bootp_reply()
275 *q++ = RFC1533_GATEWAY; in bootp_reply()
276 *q++ = 4; in bootp_reply()
277 memcpy(q, &saddr_ip, 4); in bootp_reply()
278 q += 4; in bootp_reply()
280 *q++ = RFC1533_DNS; in bootp_reply()
281 *q++ = 4; in bootp_reply()
283 memcpy(q, &dns_addr, 4); in bootp_reply()
284 q += 4; in bootp_reply()
287 *q++ = RFC2132_LEASE_TIME; in bootp_reply()
288 *q++ = 4; in bootp_reply()
290 memcpy(q, &val, 4); in bootp_reply()
291 q += 4; in bootp_reply()
295 *q++ = RFC1533_HOSTNAME; in bootp_reply()
296 *q++ = val; in bootp_reply()
297 memcpy(q, slirp_hostname, val); in bootp_reply()
298 q += val; in bootp_reply()
305 *q++ = RFC2132_MSG_TYPE; in bootp_reply()
306 *q++ = 1; in bootp_reply()
307 *q++ = DHCPNAK; in bootp_reply()
309 *q++ = RFC2132_MESSAGE; in bootp_reply()
310 *q++ = sizeof(nak_msg) - 1; in bootp_reply()
311 memcpy(q, nak_msg, sizeof(nak_msg) - 1); in bootp_reply()
312 q += sizeof(nak_msg) - 1; in bootp_reply()
314 *q++ = RFC1533_END; in bootp_reply()