Home
last modified time | relevance | path

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

/external/dnsmasq/src/
Drfc2131.c82 #define option_ptr(opt, i) ((void*) &(((unsigned char*) (opt))[2u + (unsigned int) (i)])) macro
202 if ((sopt = option_find1(option_ptr(opt, 0), option_ptr(opt, option_len(opt)), in dhcp_reply()
207 if ((sopt = option_find1(option_ptr(opt, 0), option_ptr(opt, option_len(opt)), in dhcp_reply()
224 if ((sopt = option_find1(option_ptr(opt, 0), option_ptr(opt, option_len(opt)), in dhcp_reply()
227 memcmp(option_ptr(sopt, 0), vendor->data, vendor->len) == 0) { in dhcp_reply()
242 clid = option_ptr(opt, 0); in dhcp_reply()
453 unsigned char *pp, *op = option_ptr(opt, 0); in dhcp_reply()
486 memcpy(daemon->dhcp_buff, option_ptr(opt, 0), len); in dhcp_reply()
547 if (memcmp_masked(o->val, option_ptr(opt, 0), o->len, o->u.wildcard_mask)) matched = 1; in dhcp_reply()
550 if (memcmp(o->val, option_ptr(opt, i), o->len) == 0) { in dhcp_reply()
[all …]