diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2021-08-19 11:36:16 +0200 | 
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2021-08-27 10:41:23 +0200 | 
| commit | e34e07e640989bff120acc2954536e3471134f88 (patch) | |
| tree | 1a3707044205877ad3b3228b3e9f316da9609015 /pimd/pim_ifchannel.h | |
| parent | 8268be3d16f1705f1ed4f1bdc0bb4ba538a6285d (diff) | |
pimd: de-circularize includes
pimd's include files are very interdependent.  Let's chop that down a
bit to gain some flexibility.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'pimd/pim_ifchannel.h')
| -rw-r--r-- | pimd/pim_ifchannel.h | 16 | 
1 files changed, 2 insertions, 14 deletions
diff --git a/pimd/pim_ifchannel.h b/pimd/pim_ifchannel.h index 7ec8191e56..52f02a660b 100644 --- a/pimd/pim_ifchannel.h +++ b/pimd/pim_ifchannel.h @@ -25,6 +25,8 @@  #include "if.h"  #include "prefix.h" +#include "pim_assert.h" +  struct pim_ifchannel;  #include "pim_upstream.h" @@ -39,20 +41,6 @@ enum pim_ifjoin_state {  	PIM_IFJOIN_PRUNE_PENDING_TMP,  }; -enum pim_ifassert_state { -	PIM_IFASSERT_NOINFO, -	PIM_IFASSERT_I_AM_WINNER, -	PIM_IFASSERT_I_AM_LOSER -}; - -struct pim_assert_metric { -	uint32_t rpt_bit_flag; -	uint32_t metric_preference; -	uint32_t route_metric; -	struct in_addr ip_address; /* neighbor router that sourced the Assert -				      message */ -}; -  /*    Flag to detect change in CouldAssert(S,G,I)  */  | 
