• Home
  • Raw
  • Download

Lines Matching refs:option_ptr

82 #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()
579 unsigned char* ucp = option_ptr(opt, 0); in dhcp_reply()
603 if (memcmp(vendor->data, option_ptr(opt, i), vendor->len) == 0) { in dhcp_reply()
632 strncmp(option_ptr(opt, 0), "PXEClient", 9) == 0) { in dhcp_reply()
634 memcpy(pxe_uuid, option_ptr(opt, 0), 17); in dhcp_reply()
641 (opt = option_find1(option_ptr(opt, 0), option_ptr(opt, option_len(opt)), in dhcp_reply()
656 memcpy(save71, option_ptr(opt, 0), 4); in dhcp_reply()
736 memcpy(req_options, option_ptr(opt, 0), option_len(opt)); in dhcp_reply()
751 log_packet("DHCPDECLINE", option_ptr(opt, 0), emac, emac_len, iface_name, in dhcp_reply()
842 log_packet("DHCPDISCOVER", opt ? option_ptr(opt, 0) : NULL, emac, emac_len, iface_name, in dhcp_reply()
1019 unsigned char* ucp = option_ptr(opt, 0); in dhcp_reply()
1032 unsigned char* ucp = option_ptr(opt, 0); in dhcp_reply()
1042 unsigned char* ucp = option_ptr(opt, 0); in dhcp_reply()
1217 p = option_ptr(opt, 0); in sanitise()
1259 print_mac(daemon->namebuff, option_ptr(start, 0), trunc); in log_options()
1320 memcpy(&ret, option_ptr(opt, offset), INADDRSZ); in option_addr_arr()
1333 unsigned char* p = option_ptr(opt, offset); in option_uint()
1550 if (len == 0 || memcmp(dopt->u.vendor_class, option_ptr(opt, i), len) == 0) { in match_vendor_opts()