Codpiece, or "Braguette". The fastening on the front panel of tights and pants since the Renaissance.