codpiece

noun

1.
(15th-16th century) a flap for the crotch of men's tight-fitting breeches