diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-05-19 22:00:00 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-07-24 19:51:35 +0200 |
commit | 25b787a28780e33da3afef6130589dbe8fa3c243 (patch) | |
tree | 2e92ce8ff2d2af7f86a4b2132972cfc7b6a0b4fc /pimd/pim_nht.h | |
parent | pimd: More refactor for 'struct pim_instance *' for pim_nht.c (diff) | |
download | frr-25b787a28780e33da3afef6130589dbe8fa3c243.tar.xz frr-25b787a28780e33da3afef6130589dbe8fa3c243.zip |
pimd: Remove pimg from pim_nht.c in totality
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_nht.h')
-rw-r--r-- | pimd/pim_nht.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/pimd/pim_nht.h b/pimd/pim_nht.h index 6ed57c9ec..01cfa6ff0 100644 --- a/pimd/pim_nht.h +++ b/pimd/pim_nht.h @@ -58,16 +58,19 @@ struct pim_nexthop_cache *pim_nexthop_cache_add(struct pim_instance *pim, struct pim_nexthop_cache *pim_nexthop_cache_find(struct pim_instance *pim, struct pim_rpf *rpf); uint32_t pim_compute_ecmp_hash(struct prefix *src, struct prefix *grp); -int pim_ecmp_nexthop_search(struct pim_nexthop_cache *pnc, +int pim_ecmp_nexthop_search(struct pim_instance *pim, + struct pim_nexthop_cache *pnc, struct pim_nexthop *nexthop, struct prefix *src, struct prefix *grp, int neighbor_needed); -int pim_ecmp_nexthop_lookup(struct pim_nexthop *nexthop, struct in_addr addr, +int pim_ecmp_nexthop_lookup(struct pim_instance *pim, + struct pim_nexthop *nexthop, struct in_addr addr, struct prefix *src, struct prefix *grp, int neighbor_needed); void pim_sendmsg_zebra_rnh(struct zclient *zclient, struct pim_instance *pim, struct pim_nexthop_cache *pnc, int command); -int pim_update_rp_nh(struct pim_nexthop_cache *pnc); -void pim_resolve_upstream_nh(struct prefix *nht_p); -int pim_ecmp_fib_lookup_if_vif_index(struct in_addr addr, struct prefix *src, +int pim_update_rp_nh(struct pim_instance *pim, struct pim_nexthop_cache *pnc); +void pim_resolve_upstream_nh(struct pim_instance *pim, struct prefix *nht_p); +int pim_ecmp_fib_lookup_if_vif_index(struct pim_instance *pim, + struct in_addr addr, struct prefix *src, struct prefix *grp); #endif |