Searched refs:option_find1 (Results 1 – 2 of 2) sorted by relevance
/external/dnsmasq/contrib/wrt/ |
D | dhcp_lease_time.c | 71 static unsigned char *option_find1(unsigned char *p, unsigned char *end, int opt, int minsize) in option_find1() function 101 if ((ret = option_find1(&mess->options[0], ((unsigned char *)mess) + size, opt_type, minsize))) in option_find() 105 …if (!(overload = option_find1(&mess->options[0], ((unsigned char *)mess) + size, OPTION_OVERLOAD, … in option_find() 110 (ret = option_find1(&mess->file[0], &mess->file[128], opt_type, minsize))) in option_find() 115 (ret = option_find1(&mess->sname[0], &mess->sname[64], opt_type, minsize))) in option_find()
|
/external/dnsmasq/src/ |
D | rfc2131.c | 96 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_SELEC… in dhcp_reply() 219 …if ((sopt = option_find1(option_ptr(opt, 0), option_ptr(opt, option_len(opt)), SUBOPT_SERVER_OR, I… in dhcp_reply() 236 if ((sopt = option_find1(option_ptr(opt, 0), option_ptr(opt, option_len(opt)), search, 1)) && in dhcp_reply() 724 …(opt = option_find1(option_ptr(opt, 0), option_ptr(opt, option_len(opt)), SUBOPT_PXE_BOOT_ITEM, 4)… in dhcp_reply() 1448 static unsigned char *option_find1(unsigned char *p, unsigned char *end, int opt, int minsize) in option_find1() function 1478 …if ((ret = option_find1(&mess->options[0] + sizeof(u32), ((unsigned char *)mess) + size, opt_type,… in option_find() 1482 …if (!(overload = option_find1(&mess->options[0] + sizeof(u32), ((unsigned char *)mess) + size, OPT… in option_find() 1487 (ret = option_find1(&mess->file[0], &mess->file[128], opt_type, minsize))) in option_find() 1492 (ret = option_find1(&mess->sname[0], &mess->sname[64], opt_type, minsize))) in option_find()
|