pub fn write_list_nft<P: AsRef<Path>>( path: P, ipnets: &BTreeSet<IpNet>, mode: &str, header: &str, ) -> Result<()>
NFT 出力用の共通ヘルパー