session_get_pdu
static ssize_t session_get_pdu(struct buf_read *, char **);
while ((len = session_get_pdu(tcp->rbuf, &buf)) > 0) {