evtag_peek
int evtag_peek(struct evbuffer *evbuf, ev_uint32_t *ptag);
if (evtag_peek(tmp, &tag) == -1) {