summaryrefslogtreecommitdiffstats
path: root/src/vnet.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet.am')
-rw-r--r--src/vnet.am32
1 files changed, 21 insertions, 11 deletions
diff --git a/src/vnet.am b/src/vnet.am
index 6e35df8713a..121d1a9c6a2 100644
--- a/src/vnet.am
+++ b/src/vnet.am
@@ -697,21 +697,31 @@ nobase_include_HEADERS += \
# ipv6 segment routing
########################################
-if WITH_LIBSSL
libvnet_la_SOURCES += \
- vnet/sr/sr.c \
- vnet/sr/sr_localsid.c \
- vnet/sr/sr_policy_rewrite.c \
- vnet/sr/sr_steering.c \
- vnet/sr/sr_api.c
-endif
+ vnet/srv6/sr.c \
+ vnet/srv6/sr_localsid.c \
+ vnet/srv6/sr_policy_rewrite.c \
+ vnet/srv6/sr_steering.c \
+ vnet/srv6/sr_api.c
nobase_include_HEADERS += \
- vnet/sr/sr_packet.h \
- vnet/sr/sr.h \
- vnet/sr/sr.api.h
+ vnet/srv6/sr_packet.h \
+ vnet/srv6/sr.h \
+ vnet/srv6/sr.api.h
+
+API_FILES += vnet/srv6/sr.api
+
+########################################
+# mpls segment routing
+########################################
+
+libvnet_la_SOURCES += \
+ vnet/srmpls/sr_mpls_policy.c \
+ vnet/srmpls/sr_mpls_steering.c
-API_FILES += vnet/sr/sr.api
+
+nobase_include_HEADERS += \
+ vnet/srmpls/sr.h
########################################
# IPFIX / netflow v10