Breeches, dear, breeches.
Also seen them referred to as "Dutch slops’ in reference to Cavalier-era clothing.
I can’t find the page on codpieces, however. I’m sure it’s out there somewhere.
The Auld Garb Monger’s Costumes for Manly Men
You ought to be able to find more info on these pages.