Home
last modified time | relevance | path

Searched refs:optionptr (Results 1 – 2 of 2) sorted by relevance

/external/toybox/toys/pending/
Ddhcp.c255 static int dhcp_opt_size(uint8_t *optionptr) in dhcp_opt_size() argument
258 for(;optionptr[i] != 0xff; i++) if(optionptr[i] != 0x00) i += optionptr[i + 1] + 2 -1; in dhcp_opt_size()
Ddhcpd.c332 static int dhcp_opt_size(uint8_t *optionptr) in dhcp_opt_size() argument
335 for(;optionptr[i] != 0xff; i++) in dhcp_opt_size()
336 if(optionptr[i] != 0x00) i += optionptr[i + 1] + 2 -1; in dhcp_opt_size()