diff options
| author | Louis Scalbert <louis.scalbert@6wind.com> | 2022-11-10 16:36:08 +0100 | 
|---|---|---|
| committer | Louis Scalbert <louis.scalbert@6wind.com> | 2023-04-18 11:33:15 +0200 | 
| commit | 9a65cf35da1d5653202a5355d60663a408ebdfa3 (patch) | |
| tree | 8b1eaea84d4284bd972bd6aa50435ae16a0e0656 /isisd/isis_affinitymap.h | |
| parent | 6f9598d1406246bd0b966e041f1caeccef138c6d (diff) | |
isisd: add affinity-map configuration hooks
Add affinity-map hooks to check the utilization of affinity-map in
flex-algo contexts before its deletion and to update local TLVs when the
affinity-map bit-position is updated.
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
Diffstat (limited to 'isisd/isis_affinitymap.h')
| -rw-r--r-- | isisd/isis_affinitymap.h | 25 | 
1 files changed, 25 insertions, 0 deletions
diff --git a/isisd/isis_affinitymap.h b/isisd/isis_affinitymap.h new file mode 100644 index 0000000000..c432e99f51 --- /dev/null +++ b/isisd/isis_affinitymap.h @@ -0,0 +1,25 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +/* IS-IS  affinity-map header + * Copyright 2023 6WIND S.A. + */ + +#ifndef __ISIS_AFFINITYMAP_H__ +#define __ISIS_AFFINITYMAP_H__ + +#include "lib/affinitymap.h" + +#ifndef FABRICD + +#ifdef __cplusplus +extern "C" { +#endif + +extern void isis_affinity_map_init(void); + +#ifdef __cplusplus +} +#endif + +#endif /* ifndef FABRICD */ + +#endif /* __ISIS_AFFINITYMAP_H__ */  | 
