diff options
author | Carmine Scarpitta <carmine.scarpitta@uniroma2.it> | 2022-10-29 01:28:30 +0200 |
---|---|---|
committer | Carmine Scarpitta <carmine.scarpitta@uniroma2.it> | 2022-11-08 22:44:23 +0100 |
commit | 7e975421bda03fdd34ec81dd17a0c02c36ebb31a (patch) | |
tree | c0c007211e7d4cc779c43ff9c44c677b7992965c /zebra/zebra_srv6.h | |
parent | lib,zebra: Add SRv6 uSID info to VTY output (diff) | |
download | frr-7e975421bda03fdd34ec81dd17a0c02c36ebb31a.tar.xz frr-7e975421bda03fdd34ec81dd17a0c02c36ebb31a.zip |
zebra: Add helpers to notify locator add/delete
In this commit, we add two helper functions
`zebra_notify_srv6_locator_add` and `zebra_notify_srv6_locator_delete`.
These functions are used to notify locator additions/deletions to
zclients.
Signed-off-by: Carmine Scarpitta <carmine.scarpitta@uniroma2.it>
Diffstat (limited to 'zebra/zebra_srv6.h')
-rw-r--r-- | zebra/zebra_srv6.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/zebra/zebra_srv6.h b/zebra/zebra_srv6.h index 84fcc305b..f320b9ca0 100644 --- a/zebra/zebra_srv6.h +++ b/zebra/zebra_srv6.h @@ -61,6 +61,9 @@ extern void zebra_srv6_locator_add(struct srv6_locator *locator); extern void zebra_srv6_locator_delete(struct srv6_locator *locator); extern struct srv6_locator *zebra_srv6_locator_lookup(const char *name); +void zebra_notify_srv6_locator_add(struct srv6_locator *locator); +void zebra_notify_srv6_locator_delete(struct srv6_locator *locator); + extern void zebra_srv6_init(void); extern struct zebra_srv6 *zebra_srv6_get_default(void); extern bool zebra_srv6_is_enable(void); |