diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-12-20 10:34:04 -0500 | 
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-01-04 12:21:00 -0500 | 
| commit | 36417fcc20b4a21b26a4e63902caca2eecbad4ed (patch) | |
| tree | da63cbef60f00c6ae2d61ad084ea3cab62d00f5f /pimd/pim_instance.h | |
| parent | 763ec244cfbbcd61e9e3a2dfcdf134cc8ec48925 (diff) | |
pimd: Create a `struct pim_router` and move thread master into it
Create a `struct pim_router` and move the thread master into it.
Future commits will further move global varaibles into the pim_router
structure.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_instance.h')
| -rw-r--r-- | pimd/pim_instance.h | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/pimd/pim_instance.h b/pimd/pim_instance.h index b447075e9a..3b4acb2073 100644 --- a/pimd/pim_instance.h +++ b/pimd/pim_instance.h @@ -42,6 +42,10 @@ enum pim_spt_switchover {  	PIM_SPT_INFINITY,  }; +struct pim_router { +	struct thread_master *master; +}; +  /* Per VRF PIM DB */  struct pim_instance {  	vrf_id_t vrf_id;  | 
