Searched refs:opt_size (Results 1 – 2 of 2) sorted by relevance
727 size_t opt_size; in getinfo_ifnames() local755 opt = dhcp_ipc_get_data(reply, &opt_size, NULL); in getinfo_ifnames()756 if (opt_size > 2 && (opt->len == opt_size - 2)) { in getinfo_ifnames()757 *result = malloc(opt_size); in getinfo_ifnames()761 (void) memcpy(*result, opt, opt_size); in getinfo_ifnames()
112 uint_t opt_size = pl->len - BASE_PKT_SIZE; in dhcp_options_scan() local127 field_scan(pkt->options, &pkt->options[opt_size], pl->opts, in dhcp_options_scan()