pt_writebuf
if (pt_writebuf(h2buf, p->pt, 0, 0, 0) == -1)
if (pt_writebuf(pbuf, re->prefix, 0, 0, 0) == -1)
int pt_writebuf(struct ibuf *, struct pt_entry *, int, int, uint32_t);
if (pt_writebuf(buf, pt, 1, has_ap, path_id_tx) == -1)
if (pt_writebuf(buf, p->pt, withdraw, has_ap, p->path_id_tx) ==