buf_add
buf_add(buf, &hdr, sizeof(hdr));
buf_add(buf, &len, sizeof(len));
buf_add(buf, reason, len);
buf_add(buf, &hdr, sizeof(hdr));
buf_add(buf, lease, sizeof(struct client_lease));
buf_add(buf, &fn_len, sizeof(fn_len));
buf_add(buf, lease->filename, fn_len);
buf_add(buf, &sn_len, sizeof(sn_len));
buf_add(buf, lease->server_name, sn_len);
buf_add(buf, &pr_len, sizeof(pr_len));
buf_add(buf, prefix, pr_len);
buf_add(buf, &lease->options[i].len,
buf_add(buf, lease->options[i].data,
buf_add(buf, &hdr, sizeof(hdr));
buf_add(buf, &hdr, sizeof(hdr));
buf_add(buf, &ret, sizeof(ret));
void buf_add(struct buf *, void *, size_t);