Headwear with a flap on the back; also called a flap cap or a neck cape. 

Typically used as a sunshield in everyday use. Specialized headgear may also cover protection against rain, wind and debris.
neck flap