tap_v2: move netlink code to separate file