Lines Matching defs:opt_len
258 uchar_t **opt, uint8_t *opt_len)
275 *opt_len = olen;
562 uint8_t opt_len, mtype, cid[DHCP_MAX_OPT_SIZE], cid_len;
572 if (get_dhcpv4_option(dh4, end, CD_DHCP_TYPE, &opt, &opt_len) != 0 ||
573 opt_len != 1) {
586 if (get_dhcpv4_option(dh4, end, CD_CLIENT_ID, &opt, &opt_len) == 0 &&
587 opt_len >= 2) {
588 bcopy(opt, cid, opt_len);
589 cid_len = opt_len;
625 &opt, &opt_len) != 0 || opt_len != sizeof (ipaddr)) {
659 uint8_t opt_len, mtype;
664 if (get_dhcpv4_option(dh4, end, CD_DHCP_TYPE, &opt, &opt_len) != 0 ||
665 opt_len != 1) {