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