1 # Copyright (c) 2015 Cisco and/or its affiliates.
2 # Licensed under the Apache License, Version 2.0 (the "License");
3 # you may not use this file except in compliance with the License.
4 # You may obtain a copy of the License at:
6 # http://www.apache.org/licenses/LICENSE-2.0
8 # Unless required by applicable law or agreed to in writing, software
9 # distributed under the License is distributed on an "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 # See the License for the specific language governing permissions and
12 # limitations under the License.
15 ########################################
16 # iOAM Proof of Transit
17 ########################################
20 ioam/lib-pot/pot_util.c \
21 ioam/encap/ip6_ioam_pot.c \
22 ioam/lib-pot/pot_util.h \
23 ioam/lib-pot/math64.h \
24 ioam/lib-pot/pot_api.c
26 IOAM_POT_NOINST_HDR = \
27 ioam/lib-pot/pot_all_api_h.h \
28 ioam/lib-pot/pot_msg_enum.h \
29 ioam/lib-pot/pot.api.h \
30 ioam/lib-pot/pot_util.h \
33 IOAM_POT_API = ioam/lib-pot/pot.api
35 ioam_pot_test_plugin_la_SOURCES = \
36 ioam/lib-pot/pot_test.c \
37 ioam/lib-pot/pot_plugin.api.h
39 vppapitestplugins_LTLIBRARIES += ioam_pot_test_plugin.la
41 ########################################
42 # iOAM trace export for IPv6
43 ########################################
46 ioam/export/ioam_export.c \
48 ioam/export/ioam_export.api.h \
49 ioam/export/ioam_export_thread.c
51 IOAM_EXPORT_NOINST_HDR = \
52 ioam/export/ioam_export_all_api_h.h \
53 ioam/export/ioam_export_msg_enum.h \
54 ioam/export/ioam_export.api.h
56 IOAM_EXPORT_API = ioam/export/ioam_export.api
58 ioam_export_test_plugin_la_SOURCES = \
59 ioam/export/ioam_export_test.c \
60 ioam/export/ioam_export_plugin.api.h
62 vppapitestplugins_LTLIBRARIES += ioam_export_test_plugin.la
64 ########################################
66 ########################################
68 ioam/lib-trace/trace_util.c \
69 ioam/encap/ip6_ioam_trace.c \
70 ioam/lib-trace/trace_util.h \
71 ioam/lib-trace/trace_api.c
73 IOAM_TRACE_NOINST_HDR = \
74 ioam/export/ioam_export_all_api_h.h \
75 ioam/lib-trace/trace_all_api_h.h \
76 ioam/lib-trace/trace_msg_enum.h \
77 ioam/lib-trace/trace.api.h \
78 ioam/lib-trace/trace_util.h
80 IOAM_TRACE_API = ioam/lib-trace/trace.api
82 ioam_trace_test_plugin_la_SOURCES = \
83 ioam/lib-trace/trace_test.c \
84 ioam/lib-trace/trace_plugin.api.h
86 vppapitestplugins_LTLIBRARIES += ioam_trace_test_plugin.la
88 ########################################
90 ########################################
91 IOAM_VXLAN_GPE_SRC = \
92 ioam/lib-vxlan-gpe/ioam_encap.c \
93 ioam/lib-vxlan-gpe/ioam_decap.c \
94 ioam/lib-vxlan-gpe/ioam_transit.c \
95 ioam/lib-vxlan-gpe/ioam_pop.c \
96 ioam/lib-vxlan-gpe/vxlan_gpe_api.c \
97 ioam/lib-vxlan-gpe/vxlan_gpe_ioam_trace.c \
98 ioam/lib-vxlan-gpe/vxlan_gpe_ioam.c \
99 ioam/export-vxlan-gpe/vxlan_gpe_ioam_export.c \
100 ioam/export-vxlan-gpe/vxlan_gpe_node.c \
101 ioam/export-vxlan-gpe/vxlan_gpe_ioam_export.api.h\
102 ioam/export-vxlan-gpe/vxlan_gpe_ioam_export_thread.c
104 IOAM_VXLAN_GPE_NOINST_HDR = \
105 ioam/export/ioam_export_all_api_h.h \
106 ioam/lib-vxlan-gpe/vxlan_gpe_all_api_h.h \
107 ioam/lib-vxlan-gpe/vxlan_gpe_msg_enum.h \
108 ioam/lib-vxlan-gpe/ioam_vxlan_gpe.api.h \
109 ioam/lib-vxlan-gpe/vxlan_gpe_ioam_util.h \
110 ioam/lib-vxlan-gpe/vxlan_gpe_ioam_packet.h \
111 ioam/lib-vxlan-gpe/vxlan_gpe_ioam.h \
112 ioam/export-vxlan-gpe/vxlan_gpe_ioam_export_all_api_h.h \
113 ioam/export-vxlan-gpe/vxlan_gpe_ioam_export_msg_enum.h \
114 ioam/export-vxlan-gpe/vxlan_gpe_ioam_export.api.h
116 IOAM_VXLAN_GPE_API = ioam/lib-vxlan-gpe/ioam_vxlan_gpe.api
117 IOAM_VXLAN_GPE_API += ioam/export-vxlan-gpe/vxlan_gpe_ioam_export.api
119 ioam_vxlan_gpe_test_plugin_la_SOURCES = \
120 ioam/lib-vxlan-gpe/vxlan_gpe_test.c \
121 ioam/lib-vxlan-gpe/vxlan_gpe_plugin.api.h
123 vppapitestplugins_LTLIBRARIES += ioam_vxlan_gpe_test_plugin.la
125 vxlan_gpe_ioam_export_test_plugin_la_SOURCES = \
126 ioam/export-vxlan-gpe/vxlan_gpe_ioam_export_test.c \
127 ioam/export-vxlan-gpe/vxlan_gpe_ioam_export_plugin.api.h
129 vppapitestplugins_LTLIBRARIES += vxlan_gpe_ioam_export_test_plugin.la
131 ########################################
133 ########################################
136 ioam/encap/ip6_ioam_e2e.c \
137 ioam/encap/ip6_ioam_seqno.c \
138 ioam/encap/ip6_ioam_seqno_analyse.c
140 IOAM_E2E_NOINST_HDR = \
141 ioam/encap/ip6_ioam_e2e.h \
142 ioam/encap/ip6_ioam_seqno.h
144 ########################################
146 ########################################
148 ioam_plugin_la_SOURCES = \
152 $(IOAM_VXLAN_GPE_SRC) \
159 $(IOAM_VXLAN_GPE_API)
162 $(IOAM_POT_NOINST_HDR) \
163 $(IOAM_EXPORT_NOINST_HDR) \
164 $(IOAM_TRACE_NOINST_HDR) \
165 $(IOAM_VXLAN_GPE_NOINST_HDR) \
166 $(IOAM_E2E_NOINST_HDR)
168 vppplugins_LTLIBRARIES += ioam_plugin.la