diff options
| author | Rafael Zalamena <rzalamena@users.noreply.github.com> | 2020-10-07 12:07:09 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-07 12:07:09 -0300 |
| commit | bd407b54d26981f30a95bc316ea2ed965d070c53 (patch) | |
| tree | 6f09c1a81a5e54dd214878ad52a8f0e0e318982b /ospf6d/ospf6_top.h | |
| parent | 9cfb2747adc875a7aaa7f99a45a65f65234a2004 (diff) | |
| parent | 7df1f3623ec3fb47be4f3b8234c393067c69ab4d (diff) | |
Merge pull request #7058 from Niral-Networks/niral_dev_vrf_ospf6
ospf6d : Socket change for ospf6d vrf support.
Diffstat (limited to 'ospf6d/ospf6_top.h')
| -rw-r--r-- | ospf6d/ospf6_top.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ospf6d/ospf6_top.h b/ospf6d/ospf6_top.h index 806b4da1cf..a78b05d565 100644 --- a/ospf6d/ospf6_top.h +++ b/ospf6d/ospf6_top.h @@ -40,6 +40,8 @@ struct ospf6 { /* The relevant vrf_id */ vrf_id_t vrf_id; + char *name; /* VRF name */ + /* my router id */ in_addr_t router_id; @@ -92,11 +94,13 @@ struct ospf6 { struct timeval ts_spf_duration; /* Execution time of last SPF */ unsigned int last_spf_reason; /* Last SPF reason */ + int fd; /* Threads */ struct thread *t_spf_calc; /* SPF calculation timer. */ struct thread *t_ase_calc; /* ASE calculation timer. */ struct thread *maxage_remover; struct thread *t_distribute_update; /* Distirbute update timer. */ + struct thread *t_ospf6_receive; /* OSPF6 receive timer */ uint32_t ref_bandwidth; @@ -130,5 +134,6 @@ extern void ospf6_delete(struct ospf6 *o); extern void ospf6_router_id_update(void); extern void ospf6_maxage_remove(struct ospf6 *o); +extern void ospf6_instance_create(const char *name); #endif /* OSPF6_TOP_H */ |
