• Home
  • Raw
  • Download

Lines Matching refs:option_ptr

82 #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()
655 unsigned char *ucp = option_ptr(opt, 0); in dhcp_reply()
681 if (memcmp(vendor->data, option_ptr(opt, i), vendor->len) == 0) in dhcp_reply()
713 strncmp(option_ptr(opt, 0), "PXEClient", 9) == 0) in dhcp_reply()
717 memcpy(pxe_uuid, option_ptr(opt, 0), 17); 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()
741 memcpy(save71, option_ptr(opt, 0), 4); in dhcp_reply()
827 memcpy(req_options, option_ptr(opt, 0), option_len(opt)); in dhcp_reply()
844 …log_packet("DHCPDECLINE", option_ptr(opt, 0), emac, emac_len, iface_name, daemon->dhcp_buff, mess-… in dhcp_reply()
940 …log_packet("DHCPDISCOVER", opt ? option_ptr(opt, 0) : NULL, emac, emac_len, iface_name, message, m… in dhcp_reply()
1148 unsigned char *ucp = option_ptr(opt, 0); in dhcp_reply()
1163 unsigned char *ucp = option_ptr(opt, 0); in dhcp_reply()
1175 unsigned char *ucp = option_ptr(opt, 0); in dhcp_reply()
1373 p = option_ptr(opt, 0); in sanitise()
1435 print_mac(daemon->namebuff, option_ptr(start, 0), trunc); in log_options()
1504 memcpy(&ret, option_ptr(opt, offset), INADDRSZ); in option_addr_arr()
1519 unsigned char *p = option_ptr(opt, offset); in option_uint()
1784 if (len == 0 || memcmp(dopt->u.vendor_class, option_ptr(opt, i), len) == 0) in match_vendor_opts()