Lines Matching refs:uclass_len
37 unsigned char clid_len, hostname_len, uclass_len, vclass_len, shost_len; member
142 data.hostname_len + data.uclass_len + data.vclass_len + data.shost_len, 1)) in create_helper()
190 if (data.uclass_len != 0) { in create_helper()
191 unsigned char* end = buf + data.uclass_len; in create_helper()
192 buf[data.uclass_len - 1] = 0; /* don't trust zero-term */ in create_helper()
261 unsigned int uclass_len = 0, shost_len = 0; in queue_script() local
267 if (lease->userclass) uclass_len = lease->userclass_len; in queue_script()
273 sizeof(struct script_data) + clid_len + vclass_len + uclass_len + shost_len + hostname_len; in queue_script()
292 buf->uclass_len = uclass_len; in queue_script()
326 if (uclass_len != 0) { in queue_script()
327 memcpy(p, lease->userclass, uclass_len); in queue_script()
328 p += uclass_len; in queue_script()