How to deliberately introduce a delay for incoming UDP packets

tc qdisc add dev eth1 root netem delay 250ms hack allows to do it globally for the given interface. It includes UDP packets.

It delays outgoing packets only although. For incoming packets you can route packets though a virtual router (created by separate network namespace and veth with netem attached to veth side of link).