r_protocol
static int r_protocol(u_char b, mousestatus_t *act);
if ((flags = r_protocol(buf[pos++], &action0)) == 0)