A lodging for soldiers in a garrison town (formerly usually near the rampart); a barracks.
a military prison
an enclosure protected by a wall of wooden posts
To enclose in a stockade.