forked from Mirror/frr

This commit adds datastructures and helper functions required to support SRv6 in staticd. * List of locators * List of SIDs * Data structure to represent an SRv6 SID * Functions to allocate/deallocate an SRv6 SID * Functions to allocate, deallocate and lookup a locator * Function to initialize/Cleanup SRv6 Signed-off-by: Yuqing Zhao <galadriel.zyq@alibaba-inc.com>
47 lines
960 B
Plaintext
47 lines
960 B
Plaintext
#
|
|
# staticd
|
|
#
|
|
|
|
if STATICD
|
|
noinst_LIBRARIES += staticd/libstatic.a
|
|
sbin_PROGRAMS += staticd/staticd
|
|
vtysh_daemons += staticd
|
|
man8 += $(MANBUILD)/frr-staticd.8
|
|
endif
|
|
|
|
staticd_libstatic_a_SOURCES = \
|
|
staticd/static_bfd.c \
|
|
staticd/static_debug.c \
|
|
staticd/static_nht.c \
|
|
staticd/static_routes.c \
|
|
staticd/static_zebra.c \
|
|
staticd/static_vrf.c \
|
|
staticd/static_vty.c \
|
|
staticd/static_nb.c \
|
|
staticd/static_nb_config.c \
|
|
staticd/static_srv6.c \
|
|
# end
|
|
|
|
noinst_HEADERS += \
|
|
staticd/static_debug.h \
|
|
staticd/static_nht.h \
|
|
staticd/static_zebra.h \
|
|
staticd/static_routes.h \
|
|
staticd/static_vty.h \
|
|
staticd/static_vrf.h \
|
|
staticd/static_nb.h \
|
|
staticd/static_srv6.h \
|
|
# end
|
|
|
|
clippy_scan += \
|
|
staticd/static_vty.c \
|
|
# end
|
|
|
|
staticd_staticd_SOURCES = staticd/static_main.c
|
|
staticd_staticd_LDADD = staticd/libstatic.a lib/libfrr.la $(LIBCAP) $(LIBYANG_LIBS)
|
|
|
|
nodist_staticd_staticd_SOURCES = \
|
|
yang/frr-bfdd.yang.c \
|
|
yang/frr-staticd.yang.c \
|
|
# end
|