A tam o' shanter (in the British military often abbreviated to ToS) or "tammie" is a name given to the traditional Scottish bonnet worn by men. The name derives from Tam o' Shanter, the eponymous hero of the 1790 Robert Burns poem.