pkt-gen: flip IPv4 address in ping-pong mode
(cherry picked from commit 9a7abd932727dbf593cda85b18de87855b2e7e06)