Home
last modified time | relevance | path

Searched refs:option_ptr (Results 1 – 3 of 3) sorted by relevance

/external/dnsmasq/src/
Drfc2131.c82 #define option_ptr(opt, i) ((void *)&(((unsigned char *)(opt))[2u+(unsigned int)(i)])) macro
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()
238 memcmp(option_ptr(sopt, 0), vendor->data, vendor->len) == 0) in dhcp_reply()
255 clid = option_ptr(opt, 0); in dhcp_reply()
504 unsigned char *pp, *op = option_ptr(opt, 0); in dhcp_reply()
545 memcpy(daemon->dhcp_buff, option_ptr(opt, 0), len); in dhcp_reply()
617 if (memcmp_masked(o->val, option_ptr(opt, 0), o->len, o->u.wildcard_mask)) in dhcp_reply()
623 if (memcmp(o->val, option_ptr(opt, i), o->len) == 0) in dhcp_reply()
[all …]
/external/dnsmasq/contrib/wrt/
Ddhcp_lease_time.c54 #define option_ptr(opt) ((void *)&(((unsigned char *)(opt))[2])) macro
126 unsigned char *p = option_ptr(opt); in option_uint()
/external/dnsmasq/contrib/lease-access/
Dlease.access.patch490 memcpy(req_options, option_ptr(opt, 0), option_len(opt));