Searched refs:option_find1 (Results 1 - 2 of 2) sorted by relevance

/external/dnsmasq/contrib/wrt/
H A Ddhcp_lease_time.c71 static unsigned char *option_find1(unsigned char *p, unsigned char *end, int opt, int minsize) function
101 if ((ret = option_find1(&mess->options[0], ((unsigned char *)mess) + size, opt_type, minsize)))
105 if (!(overload = option_find1(&mess->options[0], ((unsigned char *)mess) + size, OPTION_OVERLOAD, 1)))
110 (ret = option_find1(&mess->file[0], &mess->file[128], opt_type, minsize)))
115 (ret = option_find1(&mess->sname[0], &mess->sname[64], opt_type, minsize)))
/external/dnsmasq/src/
H A Drfc2131.c96 static unsigned char *option_find1(unsigned char *p, unsigned char *end, int opt, int minsize);
215 if ((sopt = option_find1(option_ptr(opt, 0), option_ptr(opt, option_len(opt)), SUBOPT_SUBNET_SELECT, INADDRSZ)))
219 if ((sopt = option_find1(option_ptr(opt, 0), option_ptr(opt, option_len(opt)), SUBOPT_SERVER_OR, INADDRSZ)))
236 if ((sopt = option_find1(option_ptr(opt, 0), option_ptr(opt, option_len(opt)), search, 1)) &&
724 (opt = option_find1(option_ptr(opt, 0), option_ptr(opt, option_len(opt)), SUBOPT_PXE_BOOT_ITEM, 4)))
1448 static unsigned char *option_find1(unsigned char *p, unsigned char *end, int opt, int minsize) function
1478 if ((ret = option_find1(&mess->options[0] + sizeof(u32), ((unsigned char *)mess) + size, opt_type, minsize)))
1482 if (!(overload = option_find1(&mess->options[0] + sizeof(u32), ((unsigned char *)mess) + size, OPTION_OVERLOAD, 1)))
1487 (ret = option_find1(&mess->file[0], &mess->file[128], opt_type, minsize)))
1492 (ret = option_find1(
[all...]

Completed in 31 milliseconds