1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Copyright (C) 2008 Everton da Silva Marques
14 #define PIM_NEXTHOP_LOOKUP_MAX (3) /* max. recursive route lookup */
18 struct pim_zlookup_nexthop
{
20 pim_addr nexthop_addr
;
22 uint32_t route_metric
;
23 uint8_t protocol_distance
;
26 void zclient_lookup_new(void);
27 void zclient_lookup_free(void);
29 int zclient_lookup_nexthop(struct pim_instance
*pim
,
30 struct pim_zlookup_nexthop nexthop_tab
[],
31 const int tab_size
, pim_addr addr
,
34 void pim_zlookup_show_ip_multicast(struct vty
*vty
);
36 int pim_zlookup_sg_statistics(struct channel_oil
*c_oil
);
37 #endif /* PIM_ZLOOKUP_H */