
4.4 Client Implementation 341
1315 optinfo.elapsed_time = (int32_t)et;
1316 }
1317
1318 /* option request options */
1319 if (ev->state != DHCP6S_RELEASE &&
1320 dhcp6_copy_list(&optinfo.reqopt_list, &ifp->reqopt_list)) {
1321 dprintf(LOG_ERR, FNAME, "failed to copy requested options");
1322 goto end;
1323 }
1324
1325 /* configuration information specified as event data */
1326 for (evd = TAILQ_FIRST(&ev->data_list); evd;
1327 evd = TAILQ_NEXT(evd, link)) {
1328 switch(evd->type) {
1329 case DHCP6_EVDATA_IAPD:
1330 if (dhcp6_copy_list(&optinfo.iapd_list,
1331 (struct dhcp6_list *)evd->data)) {
1332 dprintf(LOG_NOTICE, FNAME,
1333 "failed to add an IAPD");
1334 ...