diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2021-07-27 17:31:34 +0200 | 
|---|---|---|
| committer | Adriano Marto Reis <adrianomarto@gmail.com> | 2023-10-10 08:07:52 +1000 | 
| commit | 0c58d8368878f70dd23a566aaf96d3fcccbc5782 (patch) | |
| tree | 22066613b81f01891ada8225de6f49226ad5ee59 /ospf6d/ospf6_neighbor.h | |
| parent | 3d1482a9451039d94dce91f25dac8334354e1f92 (diff) | |
ospf6d: support unicast hellos on PtP/PtMP
Some lower layers still don't handle multicast correctly (or
efficiently.)  Add option to send unicast hellos on explicitly
configured neighbors for PtP/PtMP.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'ospf6d/ospf6_neighbor.h')
| -rw-r--r-- | ospf6d/ospf6_neighbor.h | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/ospf6d/ospf6_neighbor.h b/ospf6d/ospf6_neighbor.h index c629f09f1c..e8bbeaf078 100644 --- a/ospf6d/ospf6_neighbor.h +++ b/ospf6d/ospf6_neighbor.h @@ -161,9 +161,12 @@ struct ospf6_if_p2xp_neighcfg {  	bool cfg_cost : 1;  	uint32_t cost; +	uint16_t poll_interval;  	/* NULL if down */  	struct ospf6_neighbor *active; + +	struct event *t_unicast_hello;  };  /* Neighbor state */ @@ -220,6 +223,7 @@ void ospf6_neighbor_lladdr_set(struct ospf6_neighbor *on,  			       const struct in6_addr *addr);  struct ospf6_if_p2xp_neighcfg *ospf6_if_p2xp_find(struct ospf6_interface *oi,  						  const struct in6_addr *addr); +void ospf6_if_p2xp_up(struct ospf6_interface *oi);  uint32_t ospf6_neighbor_cost(struct ospf6_neighbor *on);  | 
