Make asfd buffer type flag into an enum.