Searched refs:optionptr (Results 1 – 2 of 2) sorted by relevance
216 static int dhcp_opt_size(uint8_t *optionptr) in dhcp_opt_size() argument219 for(;optionptr[i] != 0xff; i++) if(optionptr[i] != 0x00) i += optionptr[i + 1] + 2 -1; in dhcp_opt_size()
258 static int dhcp_opt_size(uint8_t *optionptr) in dhcp_opt_size() argument261 for(;optionptr[i] != 0xff; i++) if(optionptr[i] != 0x00) i += optionptr[i + 1] + 2 -1; in dhcp_opt_size()