diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2022-01-05 19:38:17 +0100 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2022-02-14 06:45:03 +0100 |
commit | 5d99ebea32756883267fbce7ea8103236449d97c (patch) | |
tree | 3a217e0c4623cdc21a541b688cee6fc526d67d0f /pimd/pim_rp.h | |
parent | pim6d: more TLV parse/encode IPv6 preparation (diff) | |
download | frr-5d99ebea32756883267fbce7ea8103236449d97c.tar.xz frr-5d99ebea32756883267fbce7ea8103236449d97c.zip |
pim6d: prepare/stub pim_rp_* functions for IPv6
These are sprinkled relatively widely through the PIM codebase, so for
the time being reduce the "compiler warning surface" by moving them
forward to proper types without actual implementations.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'pimd/pim_rp.h')
-rw-r--r-- | pimd/pim_rp.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pimd/pim_rp.h b/pimd/pim_rp.h index 595025e5c..c223402dd 100644 --- a/pimd/pim_rp.h +++ b/pimd/pim_rp.h @@ -65,17 +65,17 @@ int pim_rp_config_write(struct pim_instance *pim, struct vty *vty, void pim_rp_setup(struct pim_instance *pim); -int pim_rp_i_am_rp(struct pim_instance *pim, struct in_addr group); +int pim_rp_i_am_rp(struct pim_instance *pim, pim_addr group); void pim_rp_check_on_if_add(struct pim_interface *pim_ifp); void pim_i_am_rp_re_evaluate(struct pim_instance *pim); bool pim_rp_check_is_my_ip_address(struct pim_instance *pim, struct in_addr dest_addr); -int pim_rp_set_upstream_addr(struct pim_instance *pim, struct in_addr *up, - struct in_addr source, struct in_addr group); +int pim_rp_set_upstream_addr(struct pim_instance *pim, pim_addr *up, + pim_addr source, pim_addr group); -struct pim_rpf *pim_rp_g(struct pim_instance *pim, struct in_addr group); +struct pim_rpf *pim_rp_g(struct pim_instance *pim, pim_addr group); #define I_am_RP(P, G) pim_rp_i_am_rp ((P), (G)) #define RP(P, G) pim_rp_g ((P), (G)) |