Lines Matching refs:decode_idx
1384 int decode_idx = -1;
1404 decode_idx = DHCP_OPTION_IDX_SUBNET_MASK;
1409 decode_idx = DHCP_OPTION_IDX_ROUTER;
1417 decode_idx = DHCP_OPTION_IDX_DNS_SERVER;
1421 decode_idx = DHCP_OPTION_IDX_LEASE_TIME;
1425 decode_idx = DHCP_OPTION_IDX_OVERLOAD;
1429 decode_idx = DHCP_OPTION_IDX_MSG_TYPE;
1433 decode_idx = DHCP_OPTION_IDX_SERVER_ID;
1437 decode_idx = DHCP_OPTION_IDX_T1;
1441 decode_idx = DHCP_OPTION_IDX_T2;
1453 LWIP_ASSERT("check decode_idx", decode_idx >= 0 && decode_idx < DHCP_OPTION_IDX_MAX);
1454 if (!dhcp_option_given(dhcp, decode_idx)) {
1460 dhcp_got_option(dhcp, decode_idx);
1461 dhcp_set_option_value(dhcp, decode_idx, htonl(value));
1464 decode_idx++;
1472 dhcp_got_option(dhcp, decode_idx);
1473 dhcp_set_option_value(dhcp, decode_idx, value);