Lines Matching refs:shost_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()
205 if (data.shost_len != 0) { in create_helper()
206 buf[data.shost_len - 1] = 0; /* don't trust zero-term */ in create_helper()
210 buf += data.shost_len; in create_helper()
261 unsigned int uclass_len = 0, shost_len = 0; in queue_script() local
268 if (lease->supplied_hostname) shost_len = lease->supplied_hostname_len; in queue_script()
273 sizeof(struct script_data) + clid_len + vclass_len + uclass_len + shost_len + hostname_len; in queue_script()
293 buf->shost_len = shost_len; in queue_script()
330 if (shost_len != 0) { in queue_script()
331 memcpy(p, lease->supplied_hostname, shost_len); in queue_script()
332 p += shost_len; in queue_script()