Green’s Dictionary of Slang

hamhead n.

[SE ham/hamburger + -head sfx (1)]

1. (US) a fool; thus ham-headed, stupid.

[US](con. 1914–18) L. Nason Three Lights from a Match 135: ‘Hey, ham-head,’ cried Rouge.
[US]‘Tom Pendleton’ Iron Orchard (1967) 37: You go tell that big hame-headed [sic] sonofabitch that you assigned me to bunk three.
D. Jenkins Slim & None 206: ‘[T]hat’s when Democrats were statesmen instead of hamheaded socialists and saboteurs’.

2. (US Und./prison) a police officer.

[US]J. Blake letter 12 Jan. in Joint (1972) 38: New Year’s Day two hamheads picked me up, took me in.