Squarish tophat shaped piece could go on the side of a wagon,or truck bed to hold a vertical timber for a " stake side" , or be used as a sliding latch for a horse stall or similar. (?).
The pegs ,one of which shows a slot cut on the tapered end could plug a barrels bung hole. That slotted peg could have been used in furniture ( like a milking stool).
Where locust wood was used they could last a hundred years often.
In tenon jointed beam construction ( like in barns) a round peg driven through a predrilled hole in joint held real well.