Changed struct in_addr source_addr to struct PIM_ADDR source_addr
which is to be used in both IPv4 and IPv6(Both MLD and IGMP).
Reviewed-by: Mobashshera Rasool <mrasool@vmware.com>
Signed-off-by: sarita patra <saritap@vmware.com>
struct gm_sock {
int fd;
struct interface *interface;
- struct in_addr ifaddr;
+ pim_addr ifaddr;
time_t sock_creation;
struct thread *t_igmp_read; /* read: IGMP sockets */
struct thread
*t_igmp_query_timer; /* timer: issue IGMP general queries */
struct thread *t_other_querier_timer; /* timer: other querier present */
- pim_addr querier_addr; /* IP address of the querier */
+ pim_addr querier_addr; /* IP address of the querier */
int querier_query_interval; /* QQI */
int querier_robustness_variable; /* QRV */
int startup_query_count;
#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;