ID_LAST_MSG
priv->flags |= ID_LAST_MSG;
if (priv->flags & ID_LAST_MSG)
if (priv->flags & ID_LAST_MSG) {
if (priv->pos == msg->len && !(priv->flags & ID_LAST_MSG))