Lines Matching refs:ndop
646 struct dhcp_opt **dop, *ndop; in parse_option() local
1707 for (dl = 0, ndop = *dop; dl < *dop_len; dl++, ndop++) in parse_option()
1711 if (ndop->option == u || ndop->type == 0) in parse_option()
1715 ndop = NULL; in parse_option()
1717 ndop = NULL; in parse_option()
1718 if (ndop == NULL) { in parse_option()
1719 if ((ndop = realloc(*dop, in parse_option()
1726 *dop = ndop; in parse_option()
1727 ndop = &(*dop)[(*dop_len)++]; in parse_option()
1728 ndop->embopts = NULL; in parse_option()
1729 ndop->embopts_len = 0; in parse_option()
1730 ndop->encopts = NULL; in parse_option()
1731 ndop->encopts_len = 0; in parse_option()
1733 free_dhcp_opt_embenc(ndop); in parse_option()
1734 ndop->option = (uint32_t)u; /* could have been 0 */ in parse_option()
1735 ndop->type = t; in parse_option()
1736 ndop->len = (size_t)l; in parse_option()
1737 ndop->var = np; in parse_option()
1740 *ldop = ndop; in parse_option()
1742 *edop = ndop; in parse_option()