Military Uniform Question

by hoopsgators

What are the side flaps in these pants called? They seem to appear on higher ranking officers. What exactly is their purpose aside from an extension of the pockets? http://imgur.com/X2nCzRY

Second_Mate

These are riding breeches.