bridge: Separate mirroring logic from forwarding logic.