]> git.proxmox.com Git - mirror_frr.git/blobdiff - pimd/pim_neighbor.h
Merge pull request #11934 from sri-mohan1/sri-eigrp-dbg1
[mirror_frr.git] / pimd / pim_neighbor.h
index b461098a602d8274656071fc01a72239f5ac1ea8..a2a2df9e04d35b56ed7ba6e3f081e24b3ce889ba 100644 (file)
 #include "prefix.h"
 
 #include "pim_tlv.h"
+#include "pim_iface.h"
+#include "pim_str.h"
 
 struct pim_neighbor {
        int64_t creation; /* timestamp of creation */
-       struct in_addr source_addr;
+       pim_addr source_addr;
        pim_hello_options hello_options;
        uint16_t holdtime;
        uint16_t propagation_delay_msec;
@@ -49,7 +51,7 @@ 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_by_secondary(struct interface *ifp,
                                                    struct prefix *src);
 struct pim_neighbor *pim_neighbor_find_if(struct interface *ifp);
@@ -58,7 +60,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,