What is a post sunk in the ground to receive the bars closing a passage into a field called?

barpost — A post sunk in the ground to receive the bars closing a passage into a field. (Webster's 1913.)

Sources