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