diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2022-01-14 17:47:14 +0100 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2022-02-14 06:45:03 +0100 |
commit | 9bb93fa04e58742f4afb97697381af69cddcabd4 (patch) | |
tree | 54d6553f70d37c4a638b44f3388c172d77882113 /pimd/pim_neighbor.h | |
parent | pim6d: IPv6-adjust various pim_sgaddr uses (diff) | |
download | frr-9bb93fa04e58742f4afb97697381af69cddcabd4.tar.xz frr-9bb93fa04e58742f4afb97697381af69cddcabd4.zip |
pim6d: IPv6-adjust neigh->source_addr
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'pimd/pim_neighbor.h')
-rw-r--r-- | pimd/pim_neighbor.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pimd/pim_neighbor.h b/pimd/pim_neighbor.h index 12c469ae2..2673d2248 100644 --- a/pimd/pim_neighbor.h +++ b/pimd/pim_neighbor.h @@ -51,7 +51,9 @@ struct pim_neighbor { void pim_neighbor_timer_reset(struct pim_neighbor *neigh, uint16_t holdtime); void pim_neighbor_free(struct pim_neighbor *neigh); struct pim_neighbor *pim_neighbor_find(struct interface *ifp, - struct in_addr source_addr); + pim_addr source_addr); +struct pim_neighbor *pim_neighbor_find_prefix(struct interface *ifp, + const struct prefix *src_prefix); struct pim_neighbor *pim_neighbor_find_by_secondary(struct interface *ifp, struct prefix *src); struct pim_neighbor *pim_neighbor_find_if(struct interface *ifp); @@ -60,7 +62,7 @@ struct pim_neighbor *pim_neighbor_find_if(struct interface *ifp); #define PIM_NEIGHBOR_SEND_DELAY 0 #define PIM_NEIGHBOR_SEND_NOW 1 struct pim_neighbor * -pim_neighbor_add(struct interface *ifp, struct in_addr source_addr, +pim_neighbor_add(struct interface *ifp, pim_addr source_addr, pim_hello_options hello_options, uint16_t holdtime, uint16_t propagation_delay, uint16_t override_interval, uint32_t dr_priority, uint32_t generation_id, |