From 12211791a9e6bb7002c3c24af68c2defa02ff747 Mon Sep 17 00:00:00 2001 From: Sarita Patra Date: Thu, 10 Nov 2022 22:55:53 -0800 Subject: [PATCH] pimd, pim6d: Introduce pnc_hash_walk_data structure This structure will contain pim_instance and interface data. Signed-off-by: Sarita Patra --- pimd/pim_nht.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pimd/pim_nht.h b/pimd/pim_nht.h index 240e61d98f..316b7b46ee 100644 --- a/pimd/pim_nht.h +++ b/pimd/pim_nht.h @@ -53,6 +53,11 @@ struct pim_nexthop_cache { uint32_t bsr_count; }; +struct pnc_hash_walk_data { + struct pim_instance *pim; + struct interface *ifp; +}; + int pim_parse_nexthop_update(ZAPI_CALLBACK_ARGS); int pim_find_or_track_nexthop(struct pim_instance *pim, pim_addr addr, struct pim_upstream *up, struct rp_info *rp, -- 2.39.5