diff options
| author | Javier Garcia <javier.garcia@voltanet.io> | 2021-01-22 10:38:12 +0100 | 
|---|---|---|
| committer | Javier Garcia <javier.garcia@voltanet.io> | 2021-03-05 12:12:47 +0100 | 
| commit | 749714731ee9a59ae39be77e7db3915ce3ad0bd8 (patch) | |
| tree | 2a50fcd5ce5c2f01ac381ba769c3d8f145768f9d /pathd/path_pcep_pcc.h | |
| parent | 40c1b0e6b8ad0a76f159885cb1a866f645b917fd (diff) | |
pceplib: Integrate pcelib into frr
Signed-off-by: Brady Johnson <brady@voltanet.io>
Co-authored-by: Javier Garcia <javier.garcia@voltanet.io>
Signed-off-by: Javier Garcia <javier.garcia@voltanet.io>
Diffstat (limited to 'pathd/path_pcep_pcc.h')
| -rw-r--r-- | pathd/path_pcep_pcc.h | 9 | 
1 files changed, 7 insertions, 2 deletions
diff --git a/pathd/path_pcep_pcc.h b/pathd/path_pcep_pcc.h index a466d92d50..c07a6ae541 100644 --- a/pathd/path_pcep_pcc.h +++ b/pathd/path_pcep_pcc.h @@ -113,13 +113,18 @@ void pcep_pcc_pathd_event_handler(struct ctrl_state *ctrl_state,  				  struct path *path);  void pcep_pcc_timeout_handler(struct ctrl_state *ctrl_state,  			      struct pcc_state *pcc_state, -			      enum pcep_ctrl_timer_type type, void *param); +			      enum pcep_ctrl_timeout_type type, void *param);  void pcep_pcc_sync_path(struct ctrl_state *ctrl_state,  			struct pcc_state *pcc_state, struct path *path);  void pcep_pcc_sync_done(struct ctrl_state *ctrl_state,  			struct pcc_state *pcc_state); +/* Send a report explicitly. When doing so the PCC may send multiple reports + * due to expectations from vendors for the first report to be with a DOWN + * status. The parameter is_stable is used for that purpose as a hint wheter + * to expect an update for the report */  void pcep_pcc_send_report(struct ctrl_state *ctrl_state, -			  struct pcc_state *pcc_state, struct path *path); +			  struct pcc_state *pcc_state, struct path *path, +			  bool is_stable);  int pcep_pcc_multi_pce_sync_path(struct ctrl_state *ctrl_state, int pcc_id,  				 struct pcc_state **pcc_state_list);  int pcep_pcc_multi_pce_remove_pcc(struct ctrl_state *ctrl_state,  | 
