Lines Matching refs:ucp
655 unsigned char *ucp = option_ptr(opt, 0); in dhcp_reply() local
657 for (j = 0; j < option_len(opt); j += ucp[j] + 1); in dhcp_reply()
661 tmp = j + ucp[j] + 1; in dhcp_reply()
662 ucp[j] = 0; in dhcp_reply()
1148 unsigned char *ucp = option_ptr(opt, 0); in dhcp_reply() local
1150 if (len != 0 && ucp[0] == 0) in dhcp_reply()
1151 ucp++, len--; in dhcp_reply()
1155 memcpy(lease->userclass, ucp, len); in dhcp_reply()
1163 unsigned char *ucp = option_ptr(opt, 0); in dhcp_reply() local
1167 memcpy(lease->vendorclass, ucp, len); in dhcp_reply()
1175 unsigned char *ucp = option_ptr(opt, 0); in dhcp_reply() local
1179 memcpy(lease->supplied_hostname, ucp, len); in dhcp_reply()