Clunking relating to the sway bar usually is due to the bar being cracked. Usually. Well, on cars I have actual experience with. I would say clunking is usually a ball joint, hub/bearing assembly, tie rod, or blown strut/mount. In motion over bumps, it's likely a hub/bearing, strut, mount, or ball joint. In turning, it's usually a tie rod, or if it is sway bar related, that's when you'll hear it.
Edit: endlinks will clunk whenever the
they want, because they hate you, as far as I recall.