diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2020-09-11 15:55:04 -0300 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-11 15:55:04 -0300 | 
| commit | beb91114ec5fcfa2bca1c7c1358b39c6640aec4c (patch) | |
| tree | 2ded0df0de56d9e251e1b1abf6e81d364e35570a /isisd/isisd.h | |
| parent | a77bd0f4e6b7d63e6f66288d7ea715ae8c55feee (diff) | |
| parent | 1cbf96a8adf020ce6107ce26fb065d44373e14ce (diff) | |
Merge pull request #6789 from volta-networks/feat_ldp_igp_sync
ldpd: Add support for LDP-IGP Synchronization
Diffstat (limited to 'isisd/isisd.h')
| -rw-r--r-- | isisd/isisd.h | 5 | 
1 files changed, 5 insertions, 0 deletions
diff --git a/isisd/isisd.h b/isisd/isisd.h index c26a62dfac..d8df6eead9 100644 --- a/isisd/isisd.h +++ b/isisd/isisd.h @@ -35,6 +35,7 @@  #include "isis_lsp.h"  #include "isis_memory.h"  #include "qobj.h" +#include "ldp_sync.h"  #ifdef FABRICD  static const bool fabricd = true; @@ -93,6 +94,7 @@ struct isis {  	uint32_t circuit_ids_used[8];     /* 256 bits to track circuit ids 1 through 255 */  	struct route_table *ext_info[REDIST_PROTOCOL_COUNT]; +	struct ldp_sync_info_cmd ldp_sync_cmd; 	/* MPLS LDP-IGP Sync */  };  extern struct isis_master *im; @@ -275,6 +277,7 @@ extern unsigned long debug_flooding;  extern unsigned long debug_bfd;  extern unsigned long debug_tx_queue;  extern unsigned long debug_sr; +extern unsigned long debug_ldp_sync;  #define DEBUG_ADJ_PACKETS                (1<<0)  #define DEBUG_SNP_PACKETS                (1<<1) @@ -289,6 +292,7 @@ extern unsigned long debug_sr;  #define DEBUG_BFD                        (1<<10)  #define DEBUG_TX_QUEUE                   (1<<11)  #define DEBUG_SR                         (1<<12) +#define DEBUG_LDP_SYNC (1 << 13)  /* Debug related macro. */  #define IS_DEBUG_ADJ_PACKETS (debug_adj_pkt & DEBUG_ADJ_PACKETS) @@ -304,6 +308,7 @@ extern unsigned long debug_sr;  #define IS_DEBUG_BFD (debug_bfd & DEBUG_BFD)  #define IS_DEBUG_TX_QUEUE (debug_tx_queue & DEBUG_TX_QUEUE)  #define IS_DEBUG_SR (debug_sr & DEBUG_SR) +#define IS_DEBUG_LDP_SYNC (debug_ldp_sync & DEBUG_LDP_SYNC)  #define lsp_debug(...)                                                         \  	do {                                                                   \  | 
