Home
last modified time | relevance | path

Searched refs:opt_buffer (Results 1 – 3 of 3) sorted by relevance

/netbsd-src/usr.bin/rump_dhcpclient/
H A Ddhcp.c59 static uint8_t *opt_buffer; variable
204 free(opt_buffer); in free_option_buffer()
225 if (!opt_buffer) { in get_option()
226 opt_buffer = xmalloc(sizeof(*dhcp)); in get_option()
232 bp = opt_buffer; in get_option()
276 return (const uint8_t *)opt_buffer; in get_option()
/netbsd-src/external/bsd/dhcpcd/dist/src/
H A Ddhcpcd.h219 uint8_t *opt_buffer; member
H A Ddhcp.c246 (bp - ctx->opt_buffer); in get_option()
249 nb = realloc(ctx->opt_buffer, bl + l); in get_option()
252 ctx->opt_buffer = nb; in get_option()
254 bp = ctx->opt_buffer + pos; in get_option()
257 bp = ctx->opt_buffer; in get_option()
273 return (const uint8_t *)ctx->opt_buffer; in get_option()
3849 free(ctx->opt_buffer); in dhcp_free()
3850 ctx->opt_buffer = NULL; in dhcp_free()