Derived from the word wallop, which is onomatopoeia (a sound word) for an impact of some sort, it is a Scottish slang term for a penis, usually a large penis.
It is also used to refer to unpleasant people, much like dick, cock, prick and knob would be used in conversation.