Lines Matching refs:OPT_LEN
87 if (i + 1 + optionptr[i + OPT_LEN] >= length) {
98 if (i + 1 + optionptr[i + OPT_LEN] >= length) {
103 i += optionptr[OPT_LEN] + 2;
119 i += optionptr[OPT_LEN + i] + 2;
133 else i += optionptr[i + OPT_LEN] + 2;
146 if (end + string[OPT_LEN] + 2 + 1 >= 308) {
152 memcpy(optionptr + end, string, string[OPT_LEN] + 2);
153 optionptr[end + string[OPT_LEN] + 2] = DHCP_END;
154 return string[OPT_LEN] + 2;
169 option[OPT_LEN] = len;