enum filter_result => enum class msg_type