[libvirt] [PATCH 1/7] util: refactor iptables APIs to share more code