Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 1 | # Copyright (c) 2018 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: |
| 5 | # |
| 6 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 7 | # |
| 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. |
| 13 | |
| 14 | add_definitions (-DWITH_LIBSSL=1) |
Damjan Marion | d16004d | 2018-08-26 10:14:52 +0200 | [diff] [blame] | 15 | include_directories(${OPENSSL_INCLUDE_DIR}) |
| 16 | |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 17 | unset(VNET_SOURCES) |
| 18 | unset(VNET_HEADERS) |
| 19 | unset(VNET_API_FILES) |
| 20 | unset(VNET_MULTIARCH_SOURCES) |
| 21 | |
| 22 | ############################################################################## |
| 23 | # Generic stuff |
| 24 | ############################################################################## |
| 25 | list(APPEND VNET_SOURCES |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 26 | buffer.c |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 27 | config.c |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 28 | devices/devices.c |
| 29 | devices/netlink.c |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 30 | flow/flow.c |
| 31 | flow/flow_cli.c |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 32 | handoff.c |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 33 | interface.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 34 | interface_api.c |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 35 | interface_cli.c |
| 36 | interface_format.c |
| 37 | interface_output.c |
| 38 | interface_stats.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 39 | misc.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 40 | ) |
| 41 | |
Filip Tehlar | 6266877 | 2019-03-04 03:33:32 -0800 | [diff] [blame] | 42 | list(APPEND VNET_MULTIARCH_SOURCES |
| 43 | interface_output.c |
| 44 | interface_stats.c |
Filip Tehlar | c3a0e8d | 2019-03-11 05:53:35 -0700 | [diff] [blame] | 45 | handoff.c |
Filip Tehlar | 6266877 | 2019-03-04 03:33:32 -0800 | [diff] [blame] | 46 | ) |
| 47 | |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 48 | list(APPEND VNET_HEADERS |
| 49 | api_errno.h |
| 50 | buffer.h |
| 51 | config.h |
| 52 | devices/devices.h |
| 53 | devices/netlink.h |
| 54 | flow/flow.h |
| 55 | global_funcs.h |
| 56 | handoff.h |
| 57 | interface.h |
| 58 | interface_funcs.h |
| 59 | ip/ip4_to_ip6.h |
| 60 | ip/ip6_to_ip4.h |
Benoît Ganne | 09267f7 | 2019-05-17 14:24:17 +0200 | [diff] [blame] | 61 | ip/ip_types_api.h |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 62 | l3_types.h |
| 63 | plugin/plugin.h |
| 64 | pipeline.h |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 65 | vnet.h |
| 66 | vnet_all_api_h.h |
| 67 | vnet_msg_enum.h |
| 68 | util/radix.h |
| 69 | util/refcount.h |
| 70 | ) |
| 71 | |
Benoît Ganne | 09267f7 | 2019-05-17 14:24:17 +0200 | [diff] [blame] | 72 | list(APPEND VNET_API_FILES |
| 73 | interface.api |
Benoît Ganne | d39495d | 2019-07-25 14:14:03 +0200 | [diff] [blame] | 74 | interface_types.api |
Benoît Ganne | 09267f7 | 2019-05-17 14:24:17 +0200 | [diff] [blame] | 75 | ip/ip_types.api |
| 76 | ) |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 77 | |
| 78 | ############################################################################## |
| 79 | # Policer infra |
| 80 | ############################################################################## |
| 81 | list(APPEND VNET_SOURCES |
| 82 | policer/node_funcs.c |
| 83 | policer/policer.c |
| 84 | policer/xlate.c |
| 85 | policer/policer_api.c |
| 86 | ) |
| 87 | |
Filip Tehlar | 30d9348 | 2019-03-06 04:28:32 -0800 | [diff] [blame] | 88 | list(APPEND VNET_MULTIARCH_SOURCES |
| 89 | policer/node_funcs.c |
| 90 | ) |
| 91 | |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 92 | list(APPEND VNET_HEADERS |
| 93 | policer/police.h |
| 94 | policer/policer.h |
| 95 | policer/xlate.h |
| 96 | ) |
| 97 | |
| 98 | list(APPEND VNET_API_FILES policer/policer.api) |
| 99 | |
| 100 | ############################################################################## |
| 101 | # Cop - junk filter |
| 102 | ############################################################################## |
| 103 | list(APPEND VNET_SOURCES |
| 104 | cop/cop.c |
| 105 | cop/node1.c |
| 106 | cop/ip4_whitelist.c |
| 107 | cop/ip6_whitelist.c |
| 108 | cop/cop_api.c |
| 109 | ) |
| 110 | |
Filip Tehlar | 1fc33b3 | 2019-03-05 01:22:04 -0800 | [diff] [blame] | 111 | list(APPEND VNET_MULTIARCH_SOURCES |
| 112 | cop/node1.c |
| 113 | cop/ip4_whitelist.c |
| 114 | cop/ip6_whitelist.c |
| 115 | ) |
| 116 | |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 117 | list(APPEND VNET_HEADERS |
| 118 | cop/cop.h |
| 119 | ) |
| 120 | |
| 121 | list(APPEND VNET_API_FILES cop/cop.api) |
| 122 | |
| 123 | ############################################################################## |
| 124 | # Layer 2 protocols go here |
| 125 | ############################################################################## |
| 126 | |
| 127 | ############################################################################## |
| 128 | # Layer 2 protocol: Ethernet |
| 129 | ############################################################################## |
| 130 | list(APPEND VNET_SOURCES |
Neale Ranns | de5b08f | 2018-08-29 06:37:18 -0700 | [diff] [blame] | 131 | ethernet/ethernet_types_api.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 132 | ethernet/format.c |
| 133 | ethernet/init.c |
| 134 | ethernet/interface.c |
Neale Ranns | de5b08f | 2018-08-29 06:37:18 -0700 | [diff] [blame] | 135 | ethernet/mac_address.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 136 | ethernet/node.c |
| 137 | ethernet/pg.c |
| 138 | ethernet/sfp.c |
| 139 | ethernet/p2p_ethernet.c |
| 140 | ethernet/p2p_ethernet_input.c |
| 141 | ethernet/p2p_ethernet_api.c |
| 142 | ) |
| 143 | |
Filip Tehlar | c3a0e8d | 2019-03-11 05:53:35 -0700 | [diff] [blame] | 144 | list(APPEND VNET_MULTIARCH_SOURCES |
| 145 | ethernet/node.c |
| 146 | ethernet/p2p_ethernet_input.c |
| 147 | ) |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 148 | |
| 149 | list(APPEND VNET_HEADERS |
| 150 | ethernet/error.def |
| 151 | ethernet/ethernet.h |
Jon Loeliger | 330bf93 | 2018-11-28 13:51:42 -0600 | [diff] [blame] | 152 | ethernet/mac_address.h |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 153 | ethernet/packet.h |
| 154 | ethernet/types.def |
| 155 | ethernet/sfp.h |
| 156 | ethernet/p2p_ethernet.h |
| 157 | ) |
| 158 | |
Benoît Ganne | d39495d | 2019-07-25 14:14:03 +0200 | [diff] [blame] | 159 | list(APPEND VNET_API_FILES |
| 160 | ethernet/p2p_ethernet.api |
| 161 | ethernet/ethernet_types.api) |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 162 | |
| 163 | ############################################################################## |
| 164 | # Layer 2 protocol: Ethernet bridging |
| 165 | ############################################################################## |
| 166 | list(APPEND VNET_SOURCES |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 167 | l2/feat_bitmap.c |
| 168 | l2/l2_api.c |
| 169 | l2/l2_bd.c |
| 170 | l2/l2_bvi.c |
Neale Ranns | 192b13f | 2019-03-15 02:16:20 -0700 | [diff] [blame] | 171 | l2/l2_bvi_node.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 172 | l2/l2_input_classify.c |
| 173 | l2/l2_output_classify.c |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 174 | l2/l2_efp_filter.c |
| 175 | l2/l2_fib.c |
| 176 | l2/l2_flood.c |
| 177 | l2/l2_fwd.c |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 178 | l2/l2_input.c |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 179 | l2/l2_input_vtr.c |
| 180 | l2/l2_learn.c |
| 181 | l2/l2_output.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 182 | l2/l2_in_out_acl.c |
Andrew Yourtchenko | a23cade | 2018-10-06 09:18:00 +0200 | [diff] [blame] | 183 | l2/l2_in_out_feat_arc.c |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 184 | l2/l2_patch.c |
| 185 | l2/l2_rw.c |
Neale Ranns | b474380 | 2018-09-05 09:13:57 -0700 | [diff] [blame] | 186 | l2/l2_uu_fwd.c |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 187 | l2/l2_vtr.c |
| 188 | l2/l2_xcrw.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 189 | ) |
| 190 | |
Neale Ranns | c25eb45 | 2018-09-12 06:53:03 -0400 | [diff] [blame] | 191 | list(APPEND VNET_MULTIARCH_SOURCES |
Neale Ranns | 192b13f | 2019-03-15 02:16:20 -0700 | [diff] [blame] | 192 | l2/l2_bvi_node.c |
Neale Ranns | c25eb45 | 2018-09-12 06:53:03 -0400 | [diff] [blame] | 193 | l2/l2_fwd.c |
| 194 | l2/l2_learn.c |
| 195 | l2/l2_output.c |
Damjan Marion | c3baf62 | 2018-11-06 13:33:27 +0100 | [diff] [blame] | 196 | l2/l2_patch.c |
Filip Tehlar | 44f0f71 | 2019-03-11 04:26:37 -0700 | [diff] [blame] | 197 | l2/l2_in_out_feat_arc.c |
| 198 | l2/l2_input_classify.c |
| 199 | l2/l2_input.c |
| 200 | l2/l2_output_classify.c |
| 201 | l2/l2_flood.c |
| 202 | l2/l2_uu_fwd.c |
| 203 | l2/l2_efp_filter.c |
| 204 | l2/l2_rw.c |
| 205 | l2/l2_xcrw.c |
| 206 | l2/l2_in_out_acl.c |
| 207 | l2/l2_input_vtr.c |
Neale Ranns | c25eb45 | 2018-09-12 06:53:03 -0400 | [diff] [blame] | 208 | ) |
Neale Ranns | eb1525f | 2018-09-09 04:41:02 -0400 | [diff] [blame] | 209 | |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 210 | list(APPEND VNET_HEADERS |
| 211 | l2/feat_bitmap.h |
| 212 | l2/l2_input.h |
| 213 | l2/l2_output.h |
| 214 | l2/l2_vtr.h |
| 215 | l2/l2_input_vtr.h |
| 216 | l2/l2_efp_filter.h |
| 217 | l2/l2_fwd.h |
| 218 | l2/l2_bd.h |
| 219 | l2/l2_bvi.h |
| 220 | l2/l2_flood.h |
| 221 | l2/l2_fib.h |
| 222 | l2/l2_rw.h |
| 223 | l2/l2_xcrw.h |
| 224 | l2/l2_classify.h |
| 225 | ) |
| 226 | |
| 227 | list(APPEND VNET_API_FILES l2/l2.api) |
| 228 | |
| 229 | ############################################################################## |
| 230 | # Layer 2 protocol: SRP |
| 231 | ############################################################################## |
| 232 | list(APPEND VNET_SOURCES |
| 233 | srp/format.c |
| 234 | srp/interface.c |
| 235 | srp/node.c |
| 236 | srp/pg.c |
| 237 | ) |
| 238 | |
| 239 | list(APPEND VNET_HEADERS |
| 240 | srp/packet.h |
| 241 | srp/srp.h |
| 242 | ) |
| 243 | |
| 244 | ############################################################################## |
| 245 | # Layer 2 protocol: PPP |
| 246 | ############################################################################## |
| 247 | list(APPEND VNET_SOURCES |
| 248 | ppp/node.c |
| 249 | ppp/pg.c |
| 250 | ppp/ppp.c |
| 251 | ) |
| 252 | |
| 253 | list(APPEND VNET_HEADERS |
| 254 | ppp/error.def |
| 255 | ppp/ppp.h |
| 256 | ppp/packet.h |
| 257 | ) |
| 258 | |
| 259 | ############################################################################## |
| 260 | # Layer 2 protocol: HDLC |
| 261 | ############################################################################## |
| 262 | list(APPEND VNET_SOURCES |
| 263 | hdlc/node.c |
| 264 | hdlc/pg.c |
| 265 | hdlc/hdlc.c |
| 266 | ) |
| 267 | |
| 268 | list(APPEND VNET_HEADERS |
| 269 | hdlc/error.def |
| 270 | hdlc/hdlc.h |
| 271 | hdlc/packet.h |
| 272 | ) |
| 273 | |
| 274 | ############################################################################## |
| 275 | # Layer 2 protocol: LLC |
| 276 | ############################################################################## |
| 277 | list(APPEND VNET_SOURCES |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 278 | llc/llc.c |
| 279 | llc/node.c |
| 280 | llc/pg.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 281 | ) |
| 282 | |
| 283 | list(APPEND VNET_HEADERS |
| 284 | llc/llc.h |
| 285 | ) |
| 286 | |
| 287 | ############################################################################## |
| 288 | # Layer 2 protocol: SNAP |
| 289 | ############################################################################## |
| 290 | list(APPEND VNET_SOURCES |
| 291 | snap/snap.c |
| 292 | snap/node.c |
| 293 | snap/pg.c |
| 294 | ) |
| 295 | |
| 296 | list(APPEND VNET_HEADERS |
| 297 | snap/snap.h |
| 298 | ) |
| 299 | |
| 300 | ############################################################################## |
| 301 | # Layer 2 / vxlan |
| 302 | ############################################################################## |
| 303 | list(APPEND VNET_SOURCES |
| 304 | vxlan/vxlan.c |
| 305 | vxlan/encap.c |
| 306 | vxlan/decap.c |
| 307 | vxlan/vxlan_api.c |
| 308 | ) |
| 309 | |
Filip Tehlar | e1714d3 | 2019-03-05 03:01:43 -0800 | [diff] [blame] | 310 | list(APPEND VNET_MULTIARCH_SOURCES |
| 311 | vxlan/encap.c |
| 312 | ) |
| 313 | |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 314 | list(APPEND VNET_HEADERS |
| 315 | vxlan/vxlan.h |
| 316 | vxlan/vxlan_packet.h |
| 317 | vxlan/vxlan_error.def |
| 318 | ) |
| 319 | |
Eyal Bari | a5679e8 | 2018-08-26 15:20:07 +0300 | [diff] [blame] | 320 | list(APPEND VNET_MULTIARCH_SOURCES vxlan/decap.c) |
| 321 | |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 322 | list(APPEND VNET_API_FILES vxlan/vxlan.api) |
| 323 | |
| 324 | ############################################################################## |
| 325 | # Layer 2 / Geneve |
| 326 | ############################################################################## |
| 327 | list(APPEND VNET_SOURCES |
| 328 | geneve/geneve.c |
| 329 | geneve/encap.c |
| 330 | geneve/decap.c |
| 331 | geneve/geneve_api.c |
| 332 | ) |
| 333 | |
Filip Tehlar | 55333d7 | 2019-03-05 00:36:04 -0800 | [diff] [blame] | 334 | list(APPEND VNET_MULTIARCH_SOURCES |
| 335 | geneve/encap.c |
| 336 | geneve/decap.c |
| 337 | ) |
| 338 | |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 339 | list(APPEND VNET_HEADERS |
| 340 | geneve/geneve.h |
| 341 | geneve/geneve_packet.h |
| 342 | geneve/geneve_error.def |
| 343 | ) |
| 344 | |
| 345 | list(APPEND VNET_API_FILES geneve/geneve.api) |
| 346 | |
| 347 | ############################################################################## |
| 348 | # Layer 2 / Bonding |
| 349 | ############################################################################## |
| 350 | list(APPEND VNET_SOURCES |
| 351 | bonding/cli.c |
| 352 | bonding/node.c |
| 353 | bonding/device.c |
| 354 | bonding/bond_api.c |
| 355 | ) |
| 356 | |
| 357 | list(APPEND VNET_HEADERS |
| 358 | bonding/node.h |
| 359 | ) |
| 360 | |
Damjan Marion | cefe134 | 2018-09-21 18:11:33 +0200 | [diff] [blame] | 361 | list(APPEND VNET_MULTIARCH_SOURCES bonding/node.c bonding/device.c) |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 362 | list(APPEND VNET_API_FILES bonding/bond.api) |
| 363 | |
| 364 | ############################################################################## |
| 365 | # Layer 2 / LLDP |
| 366 | ############################################################################## |
| 367 | list(APPEND VNET_SOURCES |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 368 | lldp/lldp_input.c |
| 369 | lldp/lldp_node.c |
| 370 | lldp/lldp_output.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 371 | lldp/lldp_cli.c |
| 372 | lldp/lldp_api.c |
| 373 | ) |
| 374 | |
| 375 | list(APPEND VNET_HEADERS |
| 376 | lldp/lldp_protocol.h |
| 377 | lldp/lldp.h |
| 378 | ) |
| 379 | |
| 380 | list(APPEND VNET_API_FILES lldp/lldp.api) |
| 381 | |
| 382 | ############################################################################## |
| 383 | # Layer 2/3 "classify" |
| 384 | ############################################################################## |
| 385 | list(APPEND VNET_SOURCES |
| 386 | classify/vnet_classify.c |
Dave Barach | 9137e54 | 2019-09-13 17:47:50 -0400 | [diff] [blame] | 387 | classify/trace_classify.h |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 388 | classify/ip_classify.c |
| 389 | classify/in_out_acl.c |
| 390 | classify/policer_classify.c |
| 391 | classify/flow_classify.c |
| 392 | classify/flow_classify_node.c |
| 393 | classify/vnet_classify.h |
| 394 | classify/classify_api.c |
| 395 | ) |
| 396 | |
Filip Tehlar | e8cb521 | 2019-03-06 04:50:34 -0800 | [diff] [blame] | 397 | list(APPEND VNET_MULTIARCH_SOURCES |
| 398 | classify/ip_classify.c |
| 399 | classify/flow_classify_node.c |
| 400 | ) |
| 401 | |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 402 | list(APPEND VNET_HEADERS |
| 403 | classify/vnet_classify.h |
Dave Barach | 9137e54 | 2019-09-13 17:47:50 -0400 | [diff] [blame] | 404 | classify/trace_classify.h |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 405 | classify/in_out_acl.h |
| 406 | classify/policer_classify.h |
| 407 | classify/flow_classify.h |
| 408 | ) |
| 409 | |
| 410 | list(APPEND VNET_API_FILES classify/classify.api) |
| 411 | |
| 412 | ############################################################################## |
| 413 | # Layer 3 protocols go here |
| 414 | ############################################################################## |
| 415 | |
| 416 | ############################################################################## |
| 417 | # Layer 3 protocol: IP v4/v6 |
| 418 | ############################################################################## |
| 419 | list(APPEND VNET_SOURCES |
| 420 | ip/format.c |
| 421 | ip/icmp4.c |
| 422 | ip/icmp6.c |
| 423 | ip/ip46_cli.c |
| 424 | ip/ip_types_api.c |
| 425 | ip/ip4_format.c |
| 426 | ip/ip4_forward.c |
| 427 | ip/ip4_punt_drop.c |
| 428 | ip/ip4_input.c |
| 429 | ip/ip4_options.c |
| 430 | ip/ip4_mtrie.c |
| 431 | ip/ip4_pg.c |
| 432 | ip/ip4_source_and_port_range_check.c |
| 433 | ip/ip4_source_check.c |
Klement Sekera | 896c896 | 2019-06-24 11:52:49 +0000 | [diff] [blame] | 434 | ip/reass/ip4_full_reass.c |
Klement Sekera | de34c35 | 2019-06-25 11:19:22 +0000 | [diff] [blame] | 435 | ip/reass/ip4_sv_reass.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 436 | ip/ip6_format.c |
| 437 | ip/ip6_forward.c |
| 438 | ip/ip6_ll_table.c |
| 439 | ip/ip6_ll_types.c |
| 440 | ip/ip6_punt_drop.c |
| 441 | ip/ip6_hop_by_hop.c |
| 442 | ip/ip6_input.c |
| 443 | ip/ip6_neighbor.c |
| 444 | ip/ip6_pg.c |
Klement Sekera | 896c896 | 2019-06-24 11:52:49 +0000 | [diff] [blame] | 445 | ip/reass/ip6_full_reass.c |
Klement Sekera | de34c35 | 2019-06-25 11:19:22 +0000 | [diff] [blame] | 446 | ip/reass/ip6_sv_reass.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 447 | ip/rd_cp.c |
| 448 | ip/ip_neighbor.c |
| 449 | ip/ip_api.c |
| 450 | ip/ip_checksum.c |
| 451 | ip/ip_frag.c |
| 452 | ip/ip.c |
| 453 | ip/ip_init.c |
| 454 | ip/ip_in_out_acl.c |
Neale Ranns | 9220775 | 2019-06-03 13:21:40 +0000 | [diff] [blame] | 455 | ip/ip_punt_drop.c |
Neale Ranns | ea93e48 | 2019-11-12 17:16:47 +0000 | [diff] [blame] | 456 | ip/ip_types.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 457 | ip/lookup.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 458 | ip/punt_api.c |
| 459 | ip/punt.c |
Neale Ranns | 50f0ac0 | 2019-05-15 02:13:37 -0700 | [diff] [blame] | 460 | ip/punt_node.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 461 | ) |
| 462 | |
Filip Tehlar | 26ea14e | 2019-03-11 05:30:21 -0700 | [diff] [blame] | 463 | list(APPEND VNET_MULTIARCH_SOURCES |
| 464 | ip/ip4_source_check.c |
| 465 | ip/ip4_punt_drop.c |
Klement Sekera | 896c896 | 2019-06-24 11:52:49 +0000 | [diff] [blame] | 466 | ip/reass/ip4_full_reass.c |
Filip Tehlar | 26ea14e | 2019-03-11 05:30:21 -0700 | [diff] [blame] | 467 | ip/ip6_hop_by_hop.c |
Klement Sekera | 896c896 | 2019-06-24 11:52:49 +0000 | [diff] [blame] | 468 | ip/reass/ip6_full_reass.c |
Klement Sekera | de34c35 | 2019-06-25 11:19:22 +0000 | [diff] [blame] | 469 | ip/reass/ip4_sv_reass.c |
| 470 | ip/ip6_hop_by_hop.c |
| 471 | ip/reass/ip6_full_reass.c |
| 472 | ip/reass/ip6_sv_reass.c |
Filip Tehlar | 26ea14e | 2019-03-11 05:30:21 -0700 | [diff] [blame] | 473 | ip/ip6_input.c |
| 474 | ip/ip6_punt_drop.c |
Neale Ranns | 50f0ac0 | 2019-05-15 02:13:37 -0700 | [diff] [blame] | 475 | ip/punt_node.c |
Filip Tehlar | 26ea14e | 2019-03-11 05:30:21 -0700 | [diff] [blame] | 476 | ip/ip_in_out_acl.c |
| 477 | ) |
| 478 | |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 479 | list(APPEND VNET_HEADERS |
| 480 | ip/format.h |
| 481 | ip/icmp46_packet.h |
| 482 | ip/icmp4.h |
| 483 | ip/icmp6.h |
| 484 | ip/igmp_packet.h |
| 485 | ip/ip4_error.h |
| 486 | ip/ip4.h |
| 487 | ip/ip4_mtrie.h |
| 488 | ip/ip4_packet.h |
| 489 | ip/ip6_error.h |
| 490 | ip/ip6.h |
| 491 | ip/ip6_hop_by_hop.h |
| 492 | ip/ip6_hop_by_hop_packet.h |
| 493 | ip/ip6_packet.h |
| 494 | ip/ip6_neighbor.h |
| 495 | ip/ip.h |
| 496 | ip/ip_packet.h |
| 497 | ip/ip_source_and_port_range_check.h |
| 498 | ip/ip_neighbor.h |
Neale Ranns | ea93e48 | 2019-11-12 17:16:47 +0000 | [diff] [blame] | 499 | ip/ip_types.h |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 500 | ip/lookup.h |
| 501 | ip/ports.def |
| 502 | ip/protocols.def |
| 503 | ip/punt_error.def |
| 504 | ip/punt.h |
| 505 | ) |
| 506 | |
| 507 | list(APPEND VNET_API_FILES |
| 508 | ip/ip.api |
| 509 | ip/rd_cp.api |
| 510 | ip/punt.api |
| 511 | ) |
| 512 | |
Damjan Marion | 3817350 | 2019-02-13 19:30:09 +0100 | [diff] [blame] | 513 | list(APPEND VNET_MULTIARCH_SOURCES |
| 514 | ip/ip4_forward.c |
| 515 | ip/ip6_forward.c |
| 516 | ip/ip4_input.c |
| 517 | ) |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 518 | |
| 519 | ############################################################################## |
| 520 | # Layer 2/3 ARP |
| 521 | ############################################################################## |
| 522 | list(APPEND VNET_SOURCES |
| 523 | ethernet/arp.c |
| 524 | ) |
| 525 | |
| 526 | list(APPEND VNET_HEADERS |
| 527 | ethernet/arp_packet.h |
| 528 | ethernet/arp.h |
| 529 | ) |
| 530 | |
| 531 | ############################################################################## |
| 532 | # Bidirectional Forwarding Detection |
| 533 | ############################################################################## |
| 534 | |
| 535 | list(APPEND VNET_HEADERS |
| 536 | bfd/bfd_protocol.h |
| 537 | bfd/bfd_main.h |
| 538 | bfd/bfd_api.h |
| 539 | bfd/bfd_udp.h |
| 540 | ) |
| 541 | |
| 542 | list(APPEND VNET_SOURCES |
| 543 | bfd/bfd_api.h |
| 544 | bfd/bfd_udp.c |
| 545 | bfd/bfd_main.c |
| 546 | bfd/bfd_protocol.c |
| 547 | bfd/bfd_cli.c |
| 548 | bfd/bfd_api.c |
| 549 | ) |
| 550 | |
| 551 | list(APPEND VNET_API_FILES bfd/bfd.api) |
| 552 | |
| 553 | ############################################################################## |
Damjan Marion | 91f17dc | 2019-03-18 18:59:25 +0100 | [diff] [blame] | 554 | # Crypto |
| 555 | ############################################################################## |
| 556 | |
| 557 | list(APPEND VNET_SOURCES |
| 558 | crypto/cli.c |
| 559 | crypto/crypto.c |
| 560 | crypto/format.c |
| 561 | ) |
| 562 | |
| 563 | list(APPEND VNET_HEADERS |
| 564 | crypto/crypto.h |
| 565 | ) |
| 566 | |
| 567 | ############################################################################## |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 568 | # Layer 3 protocol: IPSec |
| 569 | ############################################################################## |
| 570 | list(APPEND VNET_SOURCES |
| 571 | ipsec/ipsec.c |
| 572 | ipsec/ipsec_cli.c |
| 573 | ipsec/ipsec_format.c |
| 574 | ipsec/ipsec_input.c |
Neale Ranns | b71fa75 | 2019-04-04 12:43:36 +0000 | [diff] [blame] | 575 | ipsec/ipsec_punt.c |
Neale Ranns | 999c8ee | 2019-02-01 03:31:24 -0800 | [diff] [blame] | 576 | ipsec/ipsec_sa.c |
| 577 | ipsec/ipsec_spd.c |
| 578 | ipsec/ipsec_spd_policy.c |
Neale Ranns | c87b66c | 2019-02-07 07:26:12 -0800 | [diff] [blame] | 579 | ipsec/ipsec_tun.c |
| 580 | ipsec/ipsec_tun_in.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 581 | ipsec/esp_format.c |
| 582 | ipsec/esp_encrypt.c |
| 583 | ipsec/esp_decrypt.c |
| 584 | ipsec/ah_decrypt.c |
| 585 | ipsec/ah_encrypt.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 586 | ipsec/ipsec_api.c |
Prashant Maheshwari | dbf68c9 | 2019-11-14 12:42:59 +0530 | [diff] [blame] | 587 | ipsec/ipsec_types_api.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 588 | ) |
| 589 | |
Klement Sekera | b8f3544 | 2018-10-29 13:38:19 +0100 | [diff] [blame] | 590 | list(APPEND VNET_MULTIARCH_SOURCES |
| 591 | ipsec/esp_encrypt.c |
| 592 | ipsec/esp_decrypt.c |
| 593 | ipsec/ah_decrypt.c |
| 594 | ipsec/ah_encrypt.c |
Kingwel Xie | c69ac31 | 2019-02-04 01:49:29 -0800 | [diff] [blame] | 595 | ipsec/ipsec_output.c |
| 596 | ipsec/ipsec_input.c |
Neale Ranns | c87b66c | 2019-02-07 07:26:12 -0800 | [diff] [blame] | 597 | ipsec/ipsec_tun_in.c |
Klement Sekera | b8f3544 | 2018-10-29 13:38:19 +0100 | [diff] [blame] | 598 | ) |
| 599 | |
Prashant Maheshwari | dbf68c9 | 2019-11-14 12:42:59 +0530 | [diff] [blame] | 600 | list(APPEND VNET_API_FILES ipsec/ipsec_types.api) |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 601 | list(APPEND VNET_API_FILES ipsec/ipsec.api) |
| 602 | |
| 603 | list(APPEND VNET_SOURCES |
| 604 | ipsec/ipsec_output.c |
| 605 | ) |
| 606 | |
| 607 | list(APPEND VNET_HEADERS |
| 608 | ipsec/ipsec.h |
Neale Ranns | 918c161 | 2019-02-21 23:34:59 -0800 | [diff] [blame] | 609 | ipsec/ipsec_spd.h |
| 610 | ipsec/ipsec_spd_policy.h |
| 611 | ipsec/ipsec_sa.h |
Neale Ranns | 12989b5 | 2019-09-26 16:20:19 +0000 | [diff] [blame] | 612 | ipsec/ipsec_tun.h |
Prashant Maheshwari | dbf68c9 | 2019-11-14 12:42:59 +0530 | [diff] [blame] | 613 | ipsec/ipsec_types_api.h |
Neale Ranns | ba05e5d | 2019-06-07 05:17:07 -0700 | [diff] [blame] | 614 | ipsec/ipsec_punt.h |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 615 | ipsec/esp.h |
| 616 | ipsec/ah.h |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 617 | ) |
| 618 | |
| 619 | ############################################################################## |
| 620 | # Layer 3 protocol: osi |
| 621 | ############################################################################## |
| 622 | list(APPEND VNET_SOURCES |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 623 | osi/node.c |
| 624 | osi/osi.c |
| 625 | osi/pg.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 626 | ) |
| 627 | |
| 628 | list(APPEND VNET_HEADERS |
| 629 | osi/osi.h |
| 630 | ) |
| 631 | |
| 632 | ############################################################################## |
| 633 | # Layer 4 protocol: tcp |
| 634 | ############################################################################## |
| 635 | list(APPEND VNET_SOURCES |
| 636 | tcp/tcp_api.c |
| 637 | tcp/tcp_format.c |
| 638 | tcp/tcp_pg.c |
| 639 | tcp/tcp_syn_filter4.c |
| 640 | tcp/tcp_output.c |
| 641 | tcp/tcp_input.c |
| 642 | tcp/tcp_newreno.c |
Florin Coras | 2e31cc3 | 2018-09-25 14:00:34 -0700 | [diff] [blame] | 643 | tcp/tcp_cubic.c |
Florin Coras | 5281473 | 2019-06-12 15:38:19 -0700 | [diff] [blame] | 644 | tcp/tcp_bt.c |
Florin Coras | a436a42 | 2019-08-20 07:09:31 -0700 | [diff] [blame] | 645 | tcp/tcp_debug.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 646 | tcp/tcp.c |
| 647 | ) |
| 648 | |
Filip Tehlar | e275bed | 2019-03-06 00:06:56 -0800 | [diff] [blame] | 649 | list(APPEND VNET_MULTIARCH_SOURCES |
| 650 | tcp/tcp_input.c |
| 651 | tcp/tcp_output.c |
| 652 | tcp/tcp_syn_filter4.c |
| 653 | ) |
| 654 | |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 655 | list(APPEND VNET_HEADERS |
| 656 | tcp/tcp_packet.h |
| 657 | tcp/tcp_timer.h |
| 658 | tcp/tcp_debug.h |
| 659 | tcp/tcp.h |
| 660 | tcp/tcp_error.def |
| 661 | ) |
| 662 | |
| 663 | list(APPEND VNET_API_FILES tcp/tcp.api) |
| 664 | |
| 665 | ############################################################################## |
| 666 | # Layer 4 protocol: udp |
| 667 | ############################################################################## |
| 668 | list(APPEND VNET_SOURCES |
| 669 | udp/udp.c |
| 670 | udp/udp_input.c |
| 671 | udp/udp_format.c |
| 672 | udp/udp_local.c |
| 673 | udp/udp_pg.c |
| 674 | udp/udp_encap_node.c |
| 675 | udp/udp_encap.c |
| 676 | udp/udp_api.c |
| 677 | ) |
| 678 | |
Filip Tehlar | 2c49ffe | 2019-03-06 07:16:08 -0800 | [diff] [blame] | 679 | list(APPEND VNET_MULTIARCH_SOURCES |
| 680 | udp/udp_local.c |
| 681 | udp/udp_encap_node.c |
| 682 | ) |
| 683 | |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 684 | list(APPEND VNET_HEADERS |
| 685 | udp/udp_error.def |
| 686 | udp/udp.h |
| 687 | udp/udp_packet.h |
| 688 | ) |
| 689 | |
| 690 | list(APPEND VNET_API_FILES udp/udp.api) |
| 691 | |
| 692 | ############################################################################## |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 693 | # Tunnel protocol: gre |
| 694 | ############################################################################## |
| 695 | list(APPEND VNET_SOURCES |
| 696 | gre/gre.c |
| 697 | gre/node.c |
| 698 | gre/interface.c |
| 699 | gre/pg.c |
| 700 | gre/gre_api.c |
| 701 | ) |
| 702 | |
Filip Tehlar | 0fce11f | 2019-03-04 09:21:59 -0800 | [diff] [blame] | 703 | list(APPEND VNET_MULTIARCH_SOURCES |
| 704 | gre/node.c |
| 705 | gre/gre.c |
| 706 | ) |
| 707 | |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 708 | list(APPEND VNET_HEADERS |
| 709 | gre/gre.h |
| 710 | gre/packet.h |
| 711 | gre/error.def |
| 712 | ) |
| 713 | |
| 714 | list(APPEND VNET_API_FILES gre/gre.api) |
| 715 | |
| 716 | ############################################################################## |
| 717 | # Tunnel protocol: ipip |
| 718 | ############################################################################## |
| 719 | list(APPEND VNET_SOURCES |
| 720 | ipip/ipip.c |
| 721 | ipip/node.c |
| 722 | ipip/sixrd.c |
| 723 | ipip/ipip_api.c |
| 724 | ipip/ipip_cli.c |
Neale Ranns | 9534696 | 2019-11-25 13:04:44 +0000 | [diff] [blame] | 725 | ipip/ipip_types_api.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 726 | ) |
| 727 | |
Filip Tehlar | 7a542f4 | 2019-03-05 04:50:23 -0800 | [diff] [blame] | 728 | list(APPEND VNET_MULTIARCH_SOURCES |
| 729 | ipip/node.c |
| 730 | ) |
| 731 | |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 732 | list(APPEND VNET_HEADERS |
| 733 | ipip/ipip.h |
Neale Ranns | 9534696 | 2019-11-25 13:04:44 +0000 | [diff] [blame] | 734 | ipip/ipip_types_api.h |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 735 | ) |
| 736 | |
Neale Ranns | 9534696 | 2019-11-25 13:04:44 +0000 | [diff] [blame] | 737 | list(APPEND VNET_API_FILES |
| 738 | ipip/ipip_types.api |
| 739 | ipip/ipip.api |
| 740 | ) |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 741 | |
| 742 | ############################################################################## |
| 743 | # Tunnel protocol: l2tpv3 |
| 744 | ############################################################################## |
| 745 | list(APPEND VNET_SOURCES |
| 746 | l2tp/l2tp.c |
| 747 | l2tp/encap.c |
| 748 | l2tp/decap.c |
| 749 | l2tp/pg.c |
| 750 | l2tp/l2tp_api.c |
| 751 | ) |
| 752 | |
Filip Tehlar | c3a0e8d | 2019-03-11 05:53:35 -0700 | [diff] [blame] | 753 | list(APPEND VNET_MULTIARCH_SOURCES |
| 754 | l2tp/encap.c |
| 755 | l2tp/decap.c |
| 756 | ) |
| 757 | |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 758 | list(APPEND VNET_HEADERS |
| 759 | l2tp/l2tp.h |
| 760 | l2tp/packet.h |
| 761 | ) |
| 762 | |
| 763 | list(APPEND VNET_API_FILES l2tp/l2tp.api) |
| 764 | |
| 765 | ############################################################################## |
| 766 | # Tunnel protocol: gre+mpls |
| 767 | ############################################################################## |
| 768 | list(APPEND VNET_SOURCES |
| 769 | mpls/mpls.c |
| 770 | mpls/mpls_lookup.c |
| 771 | mpls/mpls_output.c |
| 772 | mpls/mpls_features.c |
| 773 | mpls/mpls_input.c |
| 774 | mpls/interface.c |
| 775 | mpls/mpls_tunnel.c |
| 776 | mpls/pg.c |
| 777 | mpls/mpls_api.c |
| 778 | ) |
| 779 | |
Filip Tehlar | 17fcd98 | 2019-03-05 04:32:11 -0800 | [diff] [blame] | 780 | list(APPEND VNET_MULTIARCH_SOURCES |
| 781 | mpls/mpls_output.c |
| 782 | mpls/mpls_input.c |
| 783 | mpls/mpls_lookup.c |
| 784 | mpls/mpls_features.c |
| 785 | ) |
| 786 | |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 787 | list(APPEND VNET_HEADERS |
| 788 | mpls/mpls.h |
| 789 | mpls/mpls_types.h |
| 790 | mpls/mpls_tunnel.h |
| 791 | mpls/packet.h |
| 792 | mpls/error.def |
| 793 | ) |
| 794 | |
| 795 | list(APPEND VNET_API_FILES mpls/mpls.api) |
| 796 | |
| 797 | ############################################################################## |
Mohsin Kazmi | 61b94c6 | 2018-08-20 18:32:39 +0200 | [diff] [blame] | 798 | # Tunnel protocol: vxlan-gbp |
| 799 | ############################################################################## |
| 800 | list(APPEND VNET_SOURCES |
| 801 | vxlan-gbp/decap.c |
| 802 | vxlan-gbp/encap.c |
| 803 | vxlan-gbp/vxlan_gbp_api.c |
| 804 | vxlan-gbp/vxlan_gbp.c |
Neale Ranns | 93cc3ee | 2018-10-10 07:22:51 -0700 | [diff] [blame] | 805 | vxlan-gbp/vxlan_gbp_packet.c |
Mohsin Kazmi | 61b94c6 | 2018-08-20 18:32:39 +0200 | [diff] [blame] | 806 | ) |
| 807 | |
Filip Tehlar | e1714d3 | 2019-03-05 03:01:43 -0800 | [diff] [blame] | 808 | list (APPEND VNET_MULTIARCH_SOURCES |
| 809 | vxlan-gbp/decap.c |
| 810 | vxlan-gbp/encap.c |
| 811 | ) |
| 812 | |
Mohsin Kazmi | 61b94c6 | 2018-08-20 18:32:39 +0200 | [diff] [blame] | 813 | list(APPEND VNET_HEADERS |
| 814 | vxlan-gbp/vxlan_gbp.h |
| 815 | vxlan-gbp/vxlan_gbp_packet.h |
| 816 | vxlan-gbp/vxlan_gbp_error.def |
| 817 | ) |
| 818 | |
| 819 | list(APPEND VNET_API_FILES vxlan-gbp/vxlan_gbp.api) |
| 820 | |
| 821 | ############################################################################## |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 822 | # Tunnel protocol: vxlan-gpe |
| 823 | ############################################################################## |
| 824 | |
| 825 | list(APPEND VNET_SOURCES |
| 826 | vxlan-gpe/vxlan_gpe.c |
| 827 | vxlan-gpe/encap.c |
| 828 | vxlan-gpe/decap.c |
| 829 | vxlan-gpe/vxlan_gpe_api.c |
| 830 | ) |
| 831 | |
Filip Tehlar | e1714d3 | 2019-03-05 03:01:43 -0800 | [diff] [blame] | 832 | list (APPEND VNET_MULTIARCH_SOURCES |
| 833 | vxlan-gpe/decap.c |
| 834 | ) |
| 835 | |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 836 | list(APPEND VNET_HEADERS |
| 837 | vxlan-gpe/vxlan_gpe.h |
| 838 | vxlan-gpe/vxlan_gpe_packet.h |
| 839 | vxlan-gpe/vxlan_gpe_error.def |
| 840 | ) |
| 841 | |
| 842 | list(APPEND VNET_API_FILES vxlan-gpe/vxlan_gpe.api) |
| 843 | |
| 844 | ############################################################################## |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 845 | # LISP control plane: lisp-cp |
| 846 | ############################################################################## |
| 847 | |
| 848 | list(APPEND VNET_SOURCES |
| 849 | lisp-cp/lisp_types.c |
| 850 | lisp-cp/lisp_cp_dpo.c |
| 851 | lisp-cp/control.c |
| 852 | lisp-cp/gid_dictionary.c |
| 853 | lisp-cp/lisp_msg_serdes.c |
| 854 | lisp-cp/packets.c |
| 855 | lisp-cp/one_cli.c |
| 856 | lisp-cp/lisp_cli.c |
| 857 | lisp-cp/one_api.c |
| 858 | lisp-cp/lisp_api.c |
| 859 | ) |
| 860 | |
| 861 | list(APPEND VNET_HEADERS |
| 862 | lisp-cp/lisp_types.h |
| 863 | lisp-cp/packets.h |
| 864 | lisp-cp/gid_dictionary.h |
| 865 | lisp-cp/lisp_cp_messages.h |
| 866 | lisp-cp/lisp_msg_serdes.h |
| 867 | lisp-cp/control.h |
| 868 | ) |
| 869 | |
| 870 | list(APPEND VNET_API_FILES lisp-cp/lisp.api) |
| 871 | list(APPEND VNET_API_FILES lisp-cp/one.api) |
| 872 | |
| 873 | ############################################################################## |
| 874 | # Tunnel protocol: lisp-gpe |
| 875 | ############################################################################## |
| 876 | |
| 877 | list(APPEND VNET_SOURCES |
| 878 | lisp-gpe/lisp_gpe.c |
| 879 | lisp-gpe/lisp_gpe_sub_interface.c |
| 880 | lisp-gpe/lisp_gpe_adjacency.c |
| 881 | lisp-gpe/lisp_gpe_tunnel.c |
| 882 | lisp-gpe/lisp_gpe_fwd_entry.c |
| 883 | lisp-gpe/lisp_gpe_tenant.c |
| 884 | lisp-gpe/interface.c |
| 885 | lisp-gpe/decap.c |
| 886 | lisp-gpe/lisp_gpe_api.c |
| 887 | ) |
| 888 | |
| 889 | list(APPEND VNET_HEADERS |
| 890 | lisp-gpe/lisp_gpe.h |
| 891 | lisp-gpe/lisp_gpe_fwd_entry.h |
| 892 | lisp-gpe/lisp_gpe_tenant.h |
| 893 | lisp-gpe/lisp_gpe_packet.h |
| 894 | lisp-gpe/lisp_gpe_error.def |
| 895 | ) |
| 896 | |
| 897 | list(APPEND VNET_API_FILES lisp-gpe/lisp_gpe.api) |
| 898 | |
| 899 | ############################################################################## |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 900 | # ipv6 segment routing |
| 901 | ############################################################################## |
| 902 | |
| 903 | list(APPEND VNET_SOURCES |
| 904 | srv6/sr.c |
| 905 | srv6/sr_localsid.c |
| 906 | srv6/sr_policy_rewrite.c |
| 907 | srv6/sr_steering.c |
| 908 | srv6/sr_api.c |
| 909 | ) |
| 910 | |
| 911 | list(APPEND VNET_HEADERS |
| 912 | srv6/sr_packet.h |
| 913 | srv6/sr.h |
| 914 | ) |
| 915 | |
| 916 | list(APPEND VNET_API_FILES srv6/sr.api) |
| 917 | |
| 918 | ############################################################################## |
| 919 | # mpls segment routing |
| 920 | ############################################################################## |
| 921 | |
| 922 | list(APPEND VNET_SOURCES |
| 923 | srmpls/sr_mpls_policy.c |
| 924 | srmpls/sr_mpls_steering.c |
| 925 | srmpls/sr_mpls_api.c |
| 926 | ) |
| 927 | |
| 928 | list(APPEND VNET_HEADERS |
| 929 | srmpls/sr_mpls.h |
| 930 | ) |
| 931 | |
| 932 | list(APPEND VNET_API_FILES srmpls/sr_mpls.api) |
| 933 | |
| 934 | ############################################################################## |
| 935 | # IPFIX / netflow v10 |
| 936 | ############################################################################## |
| 937 | list(APPEND VNET_SOURCES |
| 938 | ipfix-export/flow_report.c |
| 939 | ipfix-export/flow_api.c |
| 940 | ) |
| 941 | |
| 942 | list(APPEND VNET_HEADERS |
| 943 | ipfix-export/flow_report.h |
| 944 | ipfix-export/ipfix_info_elements.h |
| 945 | ipfix-export/ipfix_packet.h |
| 946 | ) |
| 947 | |
| 948 | list(APPEND VNET_API_FILES ipfix-export/ipfix_export.api) |
| 949 | |
| 950 | ############################################################################## |
Mohsin Kazmi | 29467b5 | 2019-10-08 19:42:38 +0200 | [diff] [blame] | 951 | # GSO |
| 952 | ############################################################################## |
| 953 | list(APPEND VNET_SOURCES |
| 954 | gso/cli.c |
| 955 | gso/gso.c |
| 956 | gso/gso_api.c |
| 957 | gso/node.c |
| 958 | ) |
| 959 | |
| 960 | list(APPEND VNET_HEADERS |
| 961 | gso/gso.h |
| 962 | ) |
| 963 | |
| 964 | list(APPEND VNET_API_FILES |
| 965 | gso/gso.api |
| 966 | ) |
| 967 | |
| 968 | ############################################################################## |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 969 | # IPFIX classify code |
| 970 | ############################################################################## |
| 971 | |
| 972 | list(APPEND VNET_SOURCES |
| 973 | ipfix-export/flow_report_classify.c |
| 974 | ) |
| 975 | |
| 976 | list(APPEND VNET_HEADERS |
| 977 | ipfix-export/flow_report_classify.h |
| 978 | ) |
| 979 | |
| 980 | ############################################################################## |
| 981 | # lawful intercept |
| 982 | ############################################################################## |
| 983 | |
| 984 | list(APPEND VNET_SOURCES |
| 985 | lawful-intercept/lawful_intercept.c |
| 986 | lawful-intercept/node.c |
| 987 | ) |
| 988 | |
Filip Tehlar | c3a0e8d | 2019-03-11 05:53:35 -0700 | [diff] [blame] | 989 | list(APPEND VNET_MULTIARCH_SOURCES |
| 990 | lawful-intercept/node.c |
| 991 | ) |
| 992 | |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 993 | list(APPEND VNET_HEADERS |
| 994 | lawful-intercept/lawful_intercept.h |
| 995 | ) |
| 996 | |
| 997 | ############################################################################## |
| 998 | # SPAN (port mirroring) |
| 999 | ############################################################################## |
| 1000 | |
| 1001 | list(APPEND VNET_SOURCES |
| 1002 | span/span_api.c |
| 1003 | span/span.c |
| 1004 | span/node.c |
| 1005 | ) |
| 1006 | |
Filip Tehlar | a79271f | 2019-03-05 03:46:40 -0800 | [diff] [blame] | 1007 | list(APPEND VNET_MULTIARCH_SOURCES |
| 1008 | span/node.c |
| 1009 | ) |
| 1010 | |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1011 | list(APPEND VNET_HEADERS |
| 1012 | span/span.h |
| 1013 | ) |
| 1014 | |
| 1015 | list(APPEND VNET_API_FILES span/span.api) |
| 1016 | |
| 1017 | ############################################################################## |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1018 | # Packet generator |
| 1019 | ############################################################################## |
| 1020 | |
| 1021 | list(APPEND VNET_SOURCES |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 1022 | pg/cli.c |
| 1023 | pg/edit.c |
| 1024 | pg/init.c |
| 1025 | pg/input.c |
| 1026 | pg/output.c |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 1027 | pg/stream.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1028 | pg/pg_api.c |
| 1029 | ) |
| 1030 | |
| 1031 | list(APPEND VNET_HEADERS |
| 1032 | pg/pg.h |
| 1033 | pg/edit.h |
| 1034 | ) |
| 1035 | |
| 1036 | list(APPEND VNET_API_FILES pg/pg.api) |
| 1037 | |
| 1038 | ############################################################################## |
| 1039 | # virtio |
| 1040 | ############################################################################## |
| 1041 | |
| 1042 | list(APPEND VNET_SOURCES |
Damjan Marion | f41244f | 2019-11-08 17:41:06 +0100 | [diff] [blame] | 1043 | devices/virtio/cli.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1044 | devices/virtio/device.c |
Damjan Marion | f41244f | 2019-11-08 17:41:06 +0100 | [diff] [blame] | 1045 | devices/virtio/format.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1046 | devices/virtio/node.c |
Damjan Marion | f41244f | 2019-11-08 17:41:06 +0100 | [diff] [blame] | 1047 | devices/virtio/pci.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1048 | devices/virtio/vhost_user.c |
| 1049 | devices/virtio/vhost_user_input.c |
| 1050 | devices/virtio/vhost_user_output.c |
| 1051 | devices/virtio/vhost_user_api.c |
| 1052 | devices/virtio/virtio.c |
Mohsin Kazmi | d6c15af | 2018-10-23 18:00:47 +0200 | [diff] [blame] | 1053 | devices/virtio/virtio_api.c |
Jakub Grajciar | 5d4c99f | 2019-09-26 10:21:59 +0200 | [diff] [blame] | 1054 | devices/virtio/virtio_types_api.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1055 | ) |
| 1056 | |
| 1057 | list(APPEND VNET_HEADERS |
Mohsin Kazmi | d6c15af | 2018-10-23 18:00:47 +0200 | [diff] [blame] | 1058 | devices/virtio/pci.h |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1059 | devices/virtio/virtio.h |
| 1060 | devices/virtio/vhost_user.h |
Jakub Grajciar | 5d4c99f | 2019-09-26 10:21:59 +0200 | [diff] [blame] | 1061 | devices/virtio/virtio_types_api.h |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1062 | ) |
| 1063 | |
| 1064 | list(APPEND VNET_MULTIARCH_SOURCES |
| 1065 | devices/virtio/vhost_user_input.c |
| 1066 | devices/virtio/vhost_user_output.c |
Filip Tehlar | 608996d | 2019-03-04 03:03:13 -0800 | [diff] [blame] | 1067 | devices/netmap/node.c |
| 1068 | devices/virtio/node.c |
| 1069 | devices/af_packet/node.c |
Filip Tehlar | aee7364 | 2019-03-13 05:50:44 -0700 | [diff] [blame] | 1070 | devices/virtio/device.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1071 | ) |
| 1072 | |
Mohsin Kazmi | d6c15af | 2018-10-23 18:00:47 +0200 | [diff] [blame] | 1073 | list(APPEND VNET_API_FILES |
| 1074 | devices/virtio/vhost_user.api |
| 1075 | devices/virtio/virtio.api |
Jakub Grajciar | 5d4c99f | 2019-09-26 10:21:59 +0200 | [diff] [blame] | 1076 | devices/virtio/virtio_types.api |
Mohsin Kazmi | d6c15af | 2018-10-23 18:00:47 +0200 | [diff] [blame] | 1077 | ) |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1078 | |
| 1079 | ############################################################################## |
| 1080 | # tap interface (with virtio backend) |
| 1081 | ############################################################################## |
| 1082 | |
| 1083 | list(APPEND VNET_SOURCES |
| 1084 | devices/tap/cli.c |
| 1085 | devices/tap/tap.c |
| 1086 | devices/tap/tapv2_api.c |
| 1087 | ) |
| 1088 | |
| 1089 | list(APPEND VNET_HEADERS |
| 1090 | devices/tap/tap.h |
| 1091 | ) |
| 1092 | |
| 1093 | list(APPEND VNET_API_FILES devices/tap/tapv2.api) |
| 1094 | |
| 1095 | ############################################################################## |
| 1096 | # tap interface (with virtio backend) |
| 1097 | ############################################################################## |
| 1098 | |
| 1099 | list(APPEND VNET_SOURCES |
| 1100 | devices/pipe/pipe_api.c |
| 1101 | devices/pipe/pipe.c |
| 1102 | ) |
| 1103 | |
| 1104 | list(APPEND VNET_HEADERS |
| 1105 | devices/pipe/pipe.h |
| 1106 | ) |
| 1107 | |
| 1108 | list(APPEND VNET_API_FILES devices/pipe/pipe.api) |
| 1109 | |
| 1110 | ############################################################################## |
| 1111 | # session managmeent |
| 1112 | ############################################################################## |
| 1113 | |
| 1114 | list(APPEND VNET_SOURCES |
| 1115 | session/session.c |
| 1116 | session/session_table.c |
| 1117 | session/session_rules_table.c |
| 1118 | session/session_lookup.c |
| 1119 | session/session_node.c |
| 1120 | session/transport.c |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 1121 | session/application.c |
Florin Coras | 623eb56 | 2019-02-03 19:28:34 -0800 | [diff] [blame] | 1122 | session/application_worker.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1123 | session/session_cli.c |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 1124 | session/application_interface.c |
Florin Coras | ba7d8f5 | 2019-02-22 13:11:38 -0800 | [diff] [blame] | 1125 | session/application_local.c |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 1126 | session/application_namespace.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1127 | session/segment_manager.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1128 | session/session_api.c |
| 1129 | ) |
| 1130 | |
| 1131 | list(APPEND VNET_HEADERS |
| 1132 | session/session.h |
| 1133 | session/session_table.h |
| 1134 | session/session_rules_table.h |
Florin Coras | 288eaab | 2019-02-03 15:26:14 -0800 | [diff] [blame] | 1135 | session/session_types.h |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1136 | session/session_lookup.h |
| 1137 | session/application.h |
| 1138 | session/transport.h |
Florin Coras | 1ee7830 | 2019-02-05 15:51:15 -0800 | [diff] [blame] | 1139 | session/transport_types.h |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1140 | session/application_interface.h |
Florin Coras | ba7d8f5 | 2019-02-22 13:11:38 -0800 | [diff] [blame] | 1141 | session/application_local.h |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1142 | session/application_namespace.h |
| 1143 | session/session_debug.h |
| 1144 | session/segment_manager.h |
| 1145 | session/mma_template.h |
| 1146 | session/mma_template.c |
| 1147 | session/mma_16.h |
| 1148 | session/mma_40.h |
| 1149 | ) |
| 1150 | |
| 1151 | list(APPEND VNET_API_FILES session/session.api) |
| 1152 | |
| 1153 | ############################################################################## |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1154 | # TLS protocol |
| 1155 | ############################################################################## |
| 1156 | |
| 1157 | list(APPEND VNET_SOURCES |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 1158 | tls/tls.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1159 | ) |
| 1160 | |
| 1161 | list(APPEND VNET_HEADERS |
| 1162 | tls/tls.h |
Florin Coras | 54a51fd | 2019-02-07 15:34:52 -0800 | [diff] [blame] | 1163 | tls/tls_test.h |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1164 | ) |
| 1165 | |
| 1166 | ############################################################################## |
| 1167 | # Linux packet interface |
| 1168 | ############################################################################## |
| 1169 | |
| 1170 | list(APPEND VNET_SOURCES |
| 1171 | devices/af_packet/af_packet.c |
| 1172 | devices/af_packet/device.c |
| 1173 | devices/af_packet/node.c |
| 1174 | devices/af_packet/cli.c |
| 1175 | devices/af_packet/af_packet_api.c |
| 1176 | ) |
| 1177 | |
Filip Tehlar | aee7364 | 2019-03-13 05:50:44 -0700 | [diff] [blame] | 1178 | list(APPEND VNET_MULTIARCH_SOURCES |
| 1179 | devices/netmap/device.c |
| 1180 | devices/af_packet/device.c |
| 1181 | ) |
| 1182 | |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1183 | list(APPEND VNET_HEADERS |
| 1184 | devices/af_packet/af_packet.h |
| 1185 | ) |
| 1186 | |
| 1187 | list(APPEND VNET_API_FILES devices/af_packet/af_packet.api) |
| 1188 | |
| 1189 | ############################################################################## |
| 1190 | # NETMAP interface |
| 1191 | ############################################################################## |
| 1192 | |
| 1193 | list(APPEND VNET_SOURCES |
| 1194 | devices/netmap/netmap.c |
| 1195 | devices/netmap/device.c |
| 1196 | devices/netmap/node.c |
| 1197 | devices/netmap/cli.c |
| 1198 | devices/netmap/netmap_api.c |
| 1199 | ) |
| 1200 | |
| 1201 | list(APPEND VNET_HEADERS |
| 1202 | devices/netmap/netmap.h |
| 1203 | ) |
| 1204 | |
| 1205 | list(APPEND VNET_API_FILES devices/netmap/netmap.api) |
| 1206 | |
| 1207 | ############################################################################## |
| 1208 | # Driver feature graph arc support |
| 1209 | ############################################################################## |
| 1210 | |
| 1211 | list(APPEND VNET_SOURCES |
| 1212 | feature/feature.c |
| 1213 | feature/feature_api.c |
| 1214 | feature/registration.c |
| 1215 | ) |
| 1216 | |
| 1217 | list(APPEND VNET_HEADERS |
| 1218 | feature/feature.h |
| 1219 | ) |
| 1220 | |
| 1221 | list(APPEND VNET_API_FILES feature/feature.api) |
| 1222 | |
| 1223 | ############################################################################## |
| 1224 | # Unix kernel related |
| 1225 | ############################################################################## |
| 1226 | |
| 1227 | # FIXME: unix/hgshm.c |
| 1228 | |
| 1229 | list(APPEND VNET_SOURCES |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 1230 | unix/gdb_funcs.c |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 1231 | unix/tuntap.c |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 1232 | ) |
| 1233 | |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1234 | list(APPEND VNET_HEADERS |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1235 | unix/tuntap.h |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 1236 | ) |
| 1237 | |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1238 | ############################################################################## |
| 1239 | # FIB |
| 1240 | ############################################################################## |
| 1241 | |
| 1242 | list(APPEND VNET_SOURCES |
| 1243 | fib/fib.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1244 | fib/ip4_fib.c |
| 1245 | fib/ip6_fib.c |
| 1246 | fib/mpls_fib.c |
| 1247 | fib/fib_table.c |
| 1248 | fib/fib_walk.c |
| 1249 | fib/fib_types.c |
| 1250 | fib/fib_node.c |
| 1251 | fib/fib_node_list.c |
| 1252 | fib/fib_entry.c |
| 1253 | fib/fib_entry_src.c |
Neale Ranns | 3bab8f9 | 2019-12-04 06:11:00 +0000 | [diff] [blame] | 1254 | fib/fib_entry_src_adj.c |
| 1255 | fib/fib_entry_src_api.c |
| 1256 | fib/fib_entry_src_drop.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1257 | fib/fib_entry_src_interface.c |
| 1258 | fib/fib_entry_src_interpose.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1259 | fib/fib_entry_src_lisp.c |
Neale Ranns | 3bab8f9 | 2019-12-04 06:11:00 +0000 | [diff] [blame] | 1260 | fib/fib_entry_src_mpls.c |
| 1261 | fib/fib_entry_src_simple.c |
| 1262 | fib/fib_entry_src_rr.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1263 | fib/fib_entry_cover.c |
| 1264 | fib/fib_entry_delegate.c |
Neale Ranns | 1f50bf8 | 2019-07-16 15:28:52 +0000 | [diff] [blame] | 1265 | fib/fib_entry_track.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1266 | fib/fib_path_list.c |
| 1267 | fib/fib_path.c |
| 1268 | fib/fib_path_ext.c |
Neale Ranns | 3bab8f9 | 2019-12-04 06:11:00 +0000 | [diff] [blame] | 1269 | fib/fib_source.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1270 | fib/fib_urpf_list.c |
| 1271 | fib/fib_attached_export.c |
| 1272 | fib/fib_api.c |
| 1273 | fib/fib_bfd.c |
| 1274 | ) |
| 1275 | |
| 1276 | list(APPEND VNET_HEADERS |
Damjan Marion | 2bfdda7 | 2018-08-24 21:36:42 +0200 | [diff] [blame] | 1277 | fib/fib.h |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1278 | fib/fib_api.h |
Damjan Marion | 2bfdda7 | 2018-08-24 21:36:42 +0200 | [diff] [blame] | 1279 | fib/ip4_fib.h |
Damjan Marion | 2bfdda7 | 2018-08-24 21:36:42 +0200 | [diff] [blame] | 1280 | fib/ip6_fib.h |
| 1281 | fib/fib_types.h |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1282 | fib/fib_table.h |
| 1283 | fib/fib_node.h |
Damjan Marion | 2bfdda7 | 2018-08-24 21:36:42 +0200 | [diff] [blame] | 1284 | fib/fib_node_list.h |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1285 | fib/fib_entry.h |
Damjan Marion | 2bfdda7 | 2018-08-24 21:36:42 +0200 | [diff] [blame] | 1286 | fib/fib_entry_delegate.h |
Neale Ranns | 3bab8f9 | 2019-12-04 06:11:00 +0000 | [diff] [blame] | 1287 | fib/fib_source.h |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1288 | ) |
| 1289 | |
Benoît Ganne | d39495d | 2019-07-25 14:14:03 +0200 | [diff] [blame] | 1290 | list(APPEND VNET_API_FILES fib/fib_types.api) |
| 1291 | |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1292 | ############################################################################## |
| 1293 | # ADJ |
| 1294 | ############################################################################## |
| 1295 | |
| 1296 | list(APPEND VNET_SOURCES |
| 1297 | adj/adj_nbr.c |
| 1298 | adj/adj_glean.c |
| 1299 | adj/adj_midchain.c |
Neale Ranns | 4c3ba81 | 2019-03-26 07:02:58 +0000 | [diff] [blame] | 1300 | adj/adj_midchain_delegate.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1301 | adj/adj_mcast.c |
| 1302 | adj/adj_l2.c |
| 1303 | adj/adj_nsh.c |
| 1304 | adj/adj.c |
| 1305 | adj/rewrite.c |
| 1306 | adj/adj_bfd.c |
| 1307 | adj/adj_delegate.c |
| 1308 | ) |
| 1309 | |
Filip Tehlar | 0b2c15d | 2019-03-04 02:52:54 -0800 | [diff] [blame] | 1310 | list(APPEND VNET_MULTIARCH_SOURCES |
| 1311 | adj/adj_nsh.c |
| 1312 | adj/adj_l2.c |
| 1313 | ) |
| 1314 | |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1315 | list(APPEND VNET_HEADERS |
| 1316 | adj/adj.h |
| 1317 | adj/adj_types.h |
| 1318 | adj/adj_glean.h |
| 1319 | adj/adj_nsh.h |
| 1320 | adj/adj_nbr.h |
Alberto Compagno | d8ca1e4 | 2019-08-12 11:43:19 +0200 | [diff] [blame] | 1321 | adj/adj_midchain.h |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1322 | adj/rewrite.h |
| 1323 | ) |
| 1324 | |
| 1325 | ############################################################################## |
| 1326 | # Data-Plane Objects |
| 1327 | ############################################################################## |
| 1328 | |
| 1329 | list(APPEND VNET_SOURCES |
| 1330 | dpo/dpo.c |
| 1331 | dpo/drop_dpo.c |
| 1332 | dpo/ip_null_dpo.c |
| 1333 | dpo/ip6_ll_dpo.c |
| 1334 | dpo/punt_dpo.c |
| 1335 | dpo/receive_dpo.c |
| 1336 | dpo/load_balance.c |
| 1337 | dpo/load_balance_map.c |
| 1338 | dpo/lookup_dpo.c |
| 1339 | dpo/classify_dpo.c |
| 1340 | dpo/replicate_dpo.c |
| 1341 | dpo/interface_rx_dpo.c |
| 1342 | dpo/interface_tx_dpo.c |
| 1343 | dpo/mpls_disposition.c |
| 1344 | dpo/mpls_label_dpo.c |
| 1345 | dpo/l3_proxy_dpo.c |
| 1346 | dpo/dvr_dpo.c |
Neale Ranns | 1dbcf30 | 2019-07-19 11:44:53 +0000 | [diff] [blame] | 1347 | dpo/pw_cw.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1348 | ) |
| 1349 | |
Filip Tehlar | eb9a27f | 2019-03-07 01:42:11 -0800 | [diff] [blame] | 1350 | list(APPEND VNET_MULTIARCH_SOURCES |
| 1351 | dpo/lookup_dpo.h |
| 1352 | dpo/mpls_disposition.c |
| 1353 | dpo/dvr_dpo.c |
| 1354 | dpo/mpls_label_dpo.c |
| 1355 | dpo/interface_rx_dpo.c |
| 1356 | ) |
| 1357 | |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1358 | list(APPEND VNET_HEADERS |
Damjan Marion | 2bfdda7 | 2018-08-24 21:36:42 +0200 | [diff] [blame] | 1359 | dpo/load_balance.h |
Damjan Marion | 2bfdda7 | 2018-08-24 21:36:42 +0200 | [diff] [blame] | 1360 | dpo/drop_dpo.h |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1361 | dpo/lookup_dpo.h |
| 1362 | dpo/punt_dpo.h |
Damjan Marion | 2bfdda7 | 2018-08-24 21:36:42 +0200 | [diff] [blame] | 1363 | dpo/classify_dpo.h |
| 1364 | dpo/receive_dpo.h |
| 1365 | dpo/ip_null_dpo.h |
| 1366 | dpo/replicate_dpo.h |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1367 | dpo/dpo.h |
| 1368 | ) |
| 1369 | |
| 1370 | ############################################################################## |
| 1371 | # Multicast FIB |
| 1372 | ############################################################################## |
| 1373 | |
| 1374 | list(APPEND VNET_SOURCES |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1375 | mfib/mfib_forward.c |
| 1376 | mfib/ip4_mfib.c |
| 1377 | mfib/ip6_mfib.c |
Neale Ranns | 097fa66 | 2018-05-01 05:17:55 -0700 | [diff] [blame] | 1378 | mfib/mfib_api.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1379 | mfib/mfib_types.c |
| 1380 | mfib/mfib_signal.c |
| 1381 | mfib/mfib_itf.c |
| 1382 | mfib/mfib_entry.c |
Neale Ranns | 9e829a8 | 2018-12-17 05:50:32 -0800 | [diff] [blame] | 1383 | mfib/mfib_entry.c |
| 1384 | mfib/mfib_entry_cover.c |
| 1385 | mfib/mfib_entry_delegate.c |
| 1386 | mfib/mfib_entry_src.c |
| 1387 | mfib/mfib_entry_src_rr.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1388 | mfib/mfib_table.c |
| 1389 | ) |
| 1390 | |
Filip Tehlar | 79c27eb | 2019-03-07 00:30:03 -0800 | [diff] [blame] | 1391 | list(APPEND VNET_MULTIARCH_SOURCES |
| 1392 | mfib/mfib_forward.c |
| 1393 | ) |
| 1394 | |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1395 | list(APPEND VNET_HEADERS |
| 1396 | mfib/ip4_mfib.h |
| 1397 | mfib/mfib_types.h |
| 1398 | mfib/mfib_table.h |
| 1399 | ) |
| 1400 | |
Benoît Ganne | d39495d | 2019-07-25 14:14:03 +0200 | [diff] [blame] | 1401 | list(APPEND VNET_API_FILES mfib/mfib_types.api) |
| 1402 | |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1403 | ############################################################################## |
| 1404 | # Utilities |
| 1405 | ############################################################################## |
| 1406 | |
| 1407 | list(APPEND VNET_SOURCES |
| 1408 | util/radix.c |
| 1409 | util/refcount.c |
Neale Ranns | c8352bc | 2018-08-29 10:23:58 -0700 | [diff] [blame] | 1410 | util/throttle.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1411 | util/trajectory.c |
| 1412 | ) |
| 1413 | |
Damjan Marion | ac5554c | 2018-08-30 22:56:59 +0200 | [diff] [blame] | 1414 | list(APPEND VNET_HEADERS |
| 1415 | util/throttle.h |
| 1416 | ) |
| 1417 | |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1418 | ############################################################################## |
| 1419 | # QoS |
| 1420 | ############################################################################## |
| 1421 | |
| 1422 | list(APPEND VNET_SOURCES |
| 1423 | qos/qos_types.c |
| 1424 | qos/qos_api.c |
| 1425 | qos/qos_egress_map.c |
| 1426 | qos/qos_record.c |
Filip Tehlar | 0bddf7e | 2019-03-04 08:14:07 -0800 | [diff] [blame] | 1427 | qos/qos_record_node.c |
Neale Ranns | 83832e7 | 2019-07-31 02:48:02 -0700 | [diff] [blame] | 1428 | qos/qos_store.c |
| 1429 | qos/qos_store_node.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1430 | qos/qos_mark.c |
Filip Tehlar | 0bddf7e | 2019-03-04 08:14:07 -0800 | [diff] [blame] | 1431 | qos/qos_mark_node.c |
| 1432 | ) |
| 1433 | |
| 1434 | list(APPEND VNET_MULTIARCH_SOURCES |
| 1435 | qos/qos_record_node.c |
| 1436 | qos/qos_mark_node.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1437 | ) |
| 1438 | |
| 1439 | list(APPEND VNET_API_FILES qos/qos.api) |
| 1440 | |
| 1441 | ############################################################################## |
| 1442 | # BIER |
| 1443 | ############################################################################## |
| 1444 | |
| 1445 | list(APPEND VNET_SOURCES |
| 1446 | bier/bier_bit_string.c |
| 1447 | bier/bier_entry.c |
| 1448 | bier/bier_fmask.c |
| 1449 | bier/bier_fmask_db.c |
| 1450 | bier/bier_input.c |
| 1451 | bier/bier_lookup.c |
| 1452 | bier/bier_output.c |
| 1453 | bier/bier_table.c |
| 1454 | bier/bier_types.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1455 | bier/bier_api.c |
| 1456 | bier/bier_drop.c |
| 1457 | bier/bier_update.c |
| 1458 | bier/bier_imp_node.c |
| 1459 | bier/bier_imp.c |
| 1460 | bier/bier_disp_entry.c |
| 1461 | bier/bier_disp_lookup_node.c |
| 1462 | bier/bier_disp_dispatch_node.c |
| 1463 | bier/bier_disp_table.c |
| 1464 | bier/bier_bift_table.c |
| 1465 | ) |
| 1466 | |
Filip Tehlar | a01e032 | 2019-03-05 03:34:52 -0800 | [diff] [blame] | 1467 | list(APPEND VNET_MULTIARCH_SOURCES |
| 1468 | bier/bier_disp_dispatch_node.c |
| 1469 | bier/bier_disp_lookup_node.c |
| 1470 | bier/bier_imp_node.c |
| 1471 | ) |
| 1472 | |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1473 | list(APPEND VNET_HEADERS |
Damjan Marion | 2bfdda7 | 2018-08-24 21:36:42 +0200 | [diff] [blame] | 1474 | bier/bier_types.h |
| 1475 | bier/bier_entry.h |
Damjan Marion | 2bfdda7 | 2018-08-24 21:36:42 +0200 | [diff] [blame] | 1476 | bier/bier_update.h |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1477 | bier/bier_table.h |
Damjan Marion | 2bfdda7 | 2018-08-24 21:36:42 +0200 | [diff] [blame] | 1478 | ) |
| 1479 | |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1480 | list(APPEND VNET_API_FILES bier/bier.api) |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 1481 | |
Florin Coras | 41c9e04 | 2018-09-11 00:10:41 -0700 | [diff] [blame] | 1482 | ############################################################################## |
Matus Fabian | b4515b4 | 2018-11-19 04:25:32 -0800 | [diff] [blame] | 1483 | # SYSLOG |
| 1484 | ############################################################################## |
| 1485 | |
| 1486 | list (APPEND VNET_SOURCES |
| 1487 | syslog/syslog_api.c |
| 1488 | syslog/syslog_udp.c |
| 1489 | syslog/syslog.c |
| 1490 | ) |
| 1491 | |
| 1492 | list(APPEND VNET_HEADERS |
| 1493 | syslog/syslog_udp.h |
| 1494 | syslog/syslog.h |
| 1495 | ) |
| 1496 | |
| 1497 | list(APPEND VNET_API_FILES syslog/syslog.api) |
| 1498 | |
| 1499 | ############################################################################## |
Neale Ranns | 5f8f617 | 2019-04-18 10:23:56 +0000 | [diff] [blame] | 1500 | # NHRP |
| 1501 | ############################################################################## |
| 1502 | |
| 1503 | list (APPEND VNET_SOURCES |
| 1504 | nhrp/nhrp_api.c |
| 1505 | nhrp/nhrp_cli.c |
| 1506 | nhrp/nhrp.c |
| 1507 | ) |
| 1508 | |
| 1509 | list(APPEND VNET_HEADERS |
| 1510 | nhrp/nhrp.h |
| 1511 | ) |
| 1512 | |
| 1513 | list(APPEND VNET_API_FILES nhrp/nhrp.api) |
| 1514 | |
| 1515 | ############################################################################## |
Florin Coras | 41c9e04 | 2018-09-11 00:10:41 -0700 | [diff] [blame] | 1516 | # VNET Library |
| 1517 | ############################################################################## |
| 1518 | |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1519 | add_vpp_library(vnet |
| 1520 | SOURCES ${VNET_SOURCES} |
| 1521 | MULTIARCH_SOURCES ${VNET_MULTIARCH_SOURCES} |
| 1522 | INSTALL_HEADERS ${VNET_HEADERS} |
| 1523 | API_FILES ${VNET_API_FILES} |
| 1524 | LINK_LIBRARIES vppinfra svm vlib ${OPENSSL_LIBRARIES} |
| 1525 | DEPENDS api_headers |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 1526 | ) |
Florin Coras | 41c9e04 | 2018-09-11 00:10:41 -0700 | [diff] [blame] | 1527 | |
| 1528 | ############################################################################## |