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 |
| 387 | classify/ip_classify.c |
| 388 | classify/in_out_acl.c |
| 389 | classify/policer_classify.c |
| 390 | classify/flow_classify.c |
| 391 | classify/flow_classify_node.c |
| 392 | classify/vnet_classify.h |
| 393 | classify/classify_api.c |
| 394 | ) |
| 395 | |
Filip Tehlar | e8cb521 | 2019-03-06 04:50:34 -0800 | [diff] [blame] | 396 | list(APPEND VNET_MULTIARCH_SOURCES |
| 397 | classify/ip_classify.c |
| 398 | classify/flow_classify_node.c |
| 399 | ) |
| 400 | |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 401 | list(APPEND VNET_HEADERS |
| 402 | classify/vnet_classify.h |
| 403 | classify/in_out_acl.h |
| 404 | classify/policer_classify.h |
| 405 | classify/flow_classify.h |
| 406 | ) |
| 407 | |
| 408 | list(APPEND VNET_API_FILES classify/classify.api) |
| 409 | |
| 410 | ############################################################################## |
| 411 | # Layer 3 protocols go here |
| 412 | ############################################################################## |
| 413 | |
| 414 | ############################################################################## |
| 415 | # Layer 3 protocol: IP v4/v6 |
| 416 | ############################################################################## |
| 417 | list(APPEND VNET_SOURCES |
| 418 | ip/format.c |
| 419 | ip/icmp4.c |
| 420 | ip/icmp6.c |
| 421 | ip/ip46_cli.c |
| 422 | ip/ip_types_api.c |
| 423 | ip/ip4_format.c |
| 424 | ip/ip4_forward.c |
| 425 | ip/ip4_punt_drop.c |
| 426 | ip/ip4_input.c |
| 427 | ip/ip4_options.c |
| 428 | ip/ip4_mtrie.c |
| 429 | ip/ip4_pg.c |
| 430 | ip/ip4_source_and_port_range_check.c |
| 431 | ip/ip4_source_check.c |
| 432 | ip/ip4_reassembly.c |
| 433 | ip/ip6_format.c |
| 434 | ip/ip6_forward.c |
| 435 | ip/ip6_ll_table.c |
| 436 | ip/ip6_ll_types.c |
| 437 | ip/ip6_punt_drop.c |
| 438 | ip/ip6_hop_by_hop.c |
| 439 | ip/ip6_input.c |
| 440 | ip/ip6_neighbor.c |
| 441 | ip/ip6_pg.c |
| 442 | ip/ip6_reassembly.c |
| 443 | ip/rd_cp.c |
| 444 | ip/ip_neighbor.c |
| 445 | ip/ip_api.c |
| 446 | ip/ip_checksum.c |
| 447 | ip/ip_frag.c |
| 448 | ip/ip.c |
| 449 | ip/ip_init.c |
| 450 | ip/ip_in_out_acl.c |
Neale Ranns | 9220775 | 2019-06-03 13:21:40 +0000 | [diff] [blame] | 451 | ip/ip_punt_drop.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 452 | ip/lookup.c |
| 453 | ip/ping.c |
| 454 | ip/punt_api.c |
| 455 | ip/punt.c |
Neale Ranns | 50f0ac0 | 2019-05-15 02:13:37 -0700 | [diff] [blame] | 456 | ip/punt_node.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 457 | ) |
| 458 | |
Filip Tehlar | 26ea14e | 2019-03-11 05:30:21 -0700 | [diff] [blame] | 459 | list(APPEND VNET_MULTIARCH_SOURCES |
| 460 | ip/ip4_source_check.c |
| 461 | ip/ip4_punt_drop.c |
| 462 | ip/ip4_reassembly.c |
| 463 | ip/ip6_hop_by_hop.c |
| 464 | ip/ip6_reassembly.c |
| 465 | ip/ip6_input.c |
| 466 | ip/ip6_punt_drop.c |
Neale Ranns | 50f0ac0 | 2019-05-15 02:13:37 -0700 | [diff] [blame] | 467 | ip/punt_node.c |
Filip Tehlar | 26ea14e | 2019-03-11 05:30:21 -0700 | [diff] [blame] | 468 | ip/ip_in_out_acl.c |
| 469 | ) |
| 470 | |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 471 | list(APPEND VNET_HEADERS |
| 472 | ip/format.h |
| 473 | ip/icmp46_packet.h |
| 474 | ip/icmp4.h |
| 475 | ip/icmp6.h |
| 476 | ip/igmp_packet.h |
| 477 | ip/ip4_error.h |
| 478 | ip/ip4.h |
| 479 | ip/ip4_mtrie.h |
| 480 | ip/ip4_packet.h |
| 481 | ip/ip6_error.h |
| 482 | ip/ip6.h |
| 483 | ip/ip6_hop_by_hop.h |
| 484 | ip/ip6_hop_by_hop_packet.h |
| 485 | ip/ip6_packet.h |
| 486 | ip/ip6_neighbor.h |
| 487 | ip/ip.h |
| 488 | ip/ip_packet.h |
| 489 | ip/ip_source_and_port_range_check.h |
| 490 | ip/ip_neighbor.h |
| 491 | ip/lookup.h |
| 492 | ip/ports.def |
| 493 | ip/protocols.def |
| 494 | ip/punt_error.def |
| 495 | ip/punt.h |
| 496 | ) |
| 497 | |
| 498 | list(APPEND VNET_API_FILES |
| 499 | ip/ip.api |
| 500 | ip/rd_cp.api |
| 501 | ip/punt.api |
| 502 | ) |
| 503 | |
Damjan Marion | 3817350 | 2019-02-13 19:30:09 +0100 | [diff] [blame] | 504 | list(APPEND VNET_MULTIARCH_SOURCES |
| 505 | ip/ip4_forward.c |
| 506 | ip/ip6_forward.c |
| 507 | ip/ip4_input.c |
| 508 | ) |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 509 | |
| 510 | ############################################################################## |
| 511 | # Layer 2/3 ARP |
| 512 | ############################################################################## |
| 513 | list(APPEND VNET_SOURCES |
| 514 | ethernet/arp.c |
| 515 | ) |
| 516 | |
| 517 | list(APPEND VNET_HEADERS |
| 518 | ethernet/arp_packet.h |
| 519 | ethernet/arp.h |
| 520 | ) |
| 521 | |
| 522 | ############################################################################## |
| 523 | # Bidirectional Forwarding Detection |
| 524 | ############################################################################## |
| 525 | |
| 526 | list(APPEND VNET_HEADERS |
| 527 | bfd/bfd_protocol.h |
| 528 | bfd/bfd_main.h |
| 529 | bfd/bfd_api.h |
| 530 | bfd/bfd_udp.h |
| 531 | ) |
| 532 | |
| 533 | list(APPEND VNET_SOURCES |
| 534 | bfd/bfd_api.h |
| 535 | bfd/bfd_udp.c |
| 536 | bfd/bfd_main.c |
| 537 | bfd/bfd_protocol.c |
| 538 | bfd/bfd_cli.c |
| 539 | bfd/bfd_api.c |
| 540 | ) |
| 541 | |
| 542 | list(APPEND VNET_API_FILES bfd/bfd.api) |
| 543 | |
| 544 | ############################################################################## |
Damjan Marion | 91f17dc | 2019-03-18 18:59:25 +0100 | [diff] [blame] | 545 | # Crypto |
| 546 | ############################################################################## |
| 547 | |
| 548 | list(APPEND VNET_SOURCES |
| 549 | crypto/cli.c |
| 550 | crypto/crypto.c |
| 551 | crypto/format.c |
| 552 | ) |
| 553 | |
| 554 | list(APPEND VNET_HEADERS |
| 555 | crypto/crypto.h |
| 556 | ) |
| 557 | |
| 558 | ############################################################################## |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 559 | # Layer 3 protocol: IPSec |
| 560 | ############################################################################## |
| 561 | list(APPEND VNET_SOURCES |
| 562 | ipsec/ipsec.c |
| 563 | ipsec/ipsec_cli.c |
| 564 | ipsec/ipsec_format.c |
| 565 | ipsec/ipsec_input.c |
| 566 | ipsec/ipsec_if.c |
| 567 | ipsec/ipsec_if_in.c |
Neale Ranns | b71fa75 | 2019-04-04 12:43:36 +0000 | [diff] [blame] | 568 | ipsec/ipsec_punt.c |
Neale Ranns | 999c8ee | 2019-02-01 03:31:24 -0800 | [diff] [blame] | 569 | ipsec/ipsec_sa.c |
| 570 | ipsec/ipsec_spd.c |
| 571 | ipsec/ipsec_spd_policy.c |
Neale Ranns | c87b66c | 2019-02-07 07:26:12 -0800 | [diff] [blame] | 572 | ipsec/ipsec_tun.c |
| 573 | ipsec/ipsec_tun_in.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 574 | ipsec/esp_format.c |
| 575 | ipsec/esp_encrypt.c |
| 576 | ipsec/esp_decrypt.c |
| 577 | ipsec/ah_decrypt.c |
| 578 | ipsec/ah_encrypt.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 579 | ipsec/ipsec_api.c |
| 580 | ) |
| 581 | |
Klement Sekera | b8f3544 | 2018-10-29 13:38:19 +0100 | [diff] [blame] | 582 | list(APPEND VNET_MULTIARCH_SOURCES |
| 583 | ipsec/esp_encrypt.c |
| 584 | ipsec/esp_decrypt.c |
| 585 | ipsec/ah_decrypt.c |
| 586 | ipsec/ah_encrypt.c |
Kingwel Xie | c69ac31 | 2019-02-04 01:49:29 -0800 | [diff] [blame] | 587 | ipsec/ipsec_if_in.c |
| 588 | ipsec/ipsec_output.c |
| 589 | ipsec/ipsec_input.c |
Neale Ranns | c87b66c | 2019-02-07 07:26:12 -0800 | [diff] [blame] | 590 | ipsec/ipsec_tun_in.c |
Klement Sekera | b8f3544 | 2018-10-29 13:38:19 +0100 | [diff] [blame] | 591 | ) |
| 592 | |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 593 | list(APPEND VNET_API_FILES ipsec/ipsec.api) |
| 594 | |
| 595 | list(APPEND VNET_SOURCES |
| 596 | ipsec/ipsec_output.c |
| 597 | ) |
| 598 | |
| 599 | list(APPEND VNET_HEADERS |
| 600 | ipsec/ipsec.h |
Neale Ranns | 918c161 | 2019-02-21 23:34:59 -0800 | [diff] [blame] | 601 | ipsec/ipsec_spd.h |
| 602 | ipsec/ipsec_spd_policy.h |
| 603 | ipsec/ipsec_sa.h |
| 604 | ipsec/ipsec_if.h |
Neale Ranns | ba05e5d | 2019-06-07 05:17:07 -0700 | [diff] [blame] | 605 | ipsec/ipsec_punt.h |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 606 | ipsec/esp.h |
| 607 | ipsec/ah.h |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 608 | ) |
| 609 | |
| 610 | ############################################################################## |
| 611 | # Layer 3 protocol: osi |
| 612 | ############################################################################## |
| 613 | list(APPEND VNET_SOURCES |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 614 | osi/node.c |
| 615 | osi/osi.c |
| 616 | osi/pg.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 617 | ) |
| 618 | |
| 619 | list(APPEND VNET_HEADERS |
| 620 | osi/osi.h |
| 621 | ) |
| 622 | |
| 623 | ############################################################################## |
| 624 | # Layer 4 protocol: tcp |
| 625 | ############################################################################## |
| 626 | list(APPEND VNET_SOURCES |
| 627 | tcp/tcp_api.c |
| 628 | tcp/tcp_format.c |
| 629 | tcp/tcp_pg.c |
| 630 | tcp/tcp_syn_filter4.c |
| 631 | tcp/tcp_output.c |
| 632 | tcp/tcp_input.c |
| 633 | tcp/tcp_newreno.c |
Florin Coras | 2e31cc3 | 2018-09-25 14:00:34 -0700 | [diff] [blame] | 634 | tcp/tcp_cubic.c |
Florin Coras | 5281473 | 2019-06-12 15:38:19 -0700 | [diff] [blame] | 635 | tcp/tcp_bt.c |
Florin Coras | a436a42 | 2019-08-20 07:09:31 -0700 | [diff] [blame] | 636 | tcp/tcp_debug.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 637 | tcp/tcp.c |
| 638 | ) |
| 639 | |
Filip Tehlar | e275bed | 2019-03-06 00:06:56 -0800 | [diff] [blame] | 640 | list(APPEND VNET_MULTIARCH_SOURCES |
| 641 | tcp/tcp_input.c |
| 642 | tcp/tcp_output.c |
| 643 | tcp/tcp_syn_filter4.c |
| 644 | ) |
| 645 | |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 646 | list(APPEND VNET_HEADERS |
| 647 | tcp/tcp_packet.h |
| 648 | tcp/tcp_timer.h |
| 649 | tcp/tcp_debug.h |
| 650 | tcp/tcp.h |
| 651 | tcp/tcp_error.def |
| 652 | ) |
| 653 | |
| 654 | list(APPEND VNET_API_FILES tcp/tcp.api) |
| 655 | |
| 656 | ############################################################################## |
| 657 | # Layer 4 protocol: udp |
| 658 | ############################################################################## |
| 659 | list(APPEND VNET_SOURCES |
| 660 | udp/udp.c |
| 661 | udp/udp_input.c |
| 662 | udp/udp_format.c |
| 663 | udp/udp_local.c |
| 664 | udp/udp_pg.c |
| 665 | udp/udp_encap_node.c |
| 666 | udp/udp_encap.c |
| 667 | udp/udp_api.c |
| 668 | ) |
| 669 | |
Filip Tehlar | 2c49ffe | 2019-03-06 07:16:08 -0800 | [diff] [blame] | 670 | list(APPEND VNET_MULTIARCH_SOURCES |
| 671 | udp/udp_local.c |
| 672 | udp/udp_encap_node.c |
| 673 | ) |
| 674 | |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 675 | list(APPEND VNET_HEADERS |
| 676 | udp/udp_error.def |
| 677 | udp/udp.h |
| 678 | udp/udp_packet.h |
| 679 | ) |
| 680 | |
| 681 | list(APPEND VNET_API_FILES udp/udp.api) |
| 682 | |
| 683 | ############################################################################## |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 684 | # Tunnel protocol: gre |
| 685 | ############################################################################## |
| 686 | list(APPEND VNET_SOURCES |
| 687 | gre/gre.c |
| 688 | gre/node.c |
| 689 | gre/interface.c |
| 690 | gre/pg.c |
| 691 | gre/gre_api.c |
| 692 | ) |
| 693 | |
Filip Tehlar | 0fce11f | 2019-03-04 09:21:59 -0800 | [diff] [blame] | 694 | list(APPEND VNET_MULTIARCH_SOURCES |
| 695 | gre/node.c |
| 696 | gre/gre.c |
| 697 | ) |
| 698 | |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 699 | list(APPEND VNET_HEADERS |
| 700 | gre/gre.h |
| 701 | gre/packet.h |
| 702 | gre/error.def |
| 703 | ) |
| 704 | |
| 705 | list(APPEND VNET_API_FILES gre/gre.api) |
| 706 | |
| 707 | ############################################################################## |
| 708 | # Tunnel protocol: ipip |
| 709 | ############################################################################## |
| 710 | list(APPEND VNET_SOURCES |
| 711 | ipip/ipip.c |
| 712 | ipip/node.c |
| 713 | ipip/sixrd.c |
| 714 | ipip/ipip_api.c |
| 715 | ipip/ipip_cli.c |
| 716 | ) |
| 717 | |
Filip Tehlar | 7a542f4 | 2019-03-05 04:50:23 -0800 | [diff] [blame] | 718 | list(APPEND VNET_MULTIARCH_SOURCES |
| 719 | ipip/node.c |
| 720 | ) |
| 721 | |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 722 | list(APPEND VNET_HEADERS |
| 723 | ipip/ipip.h |
| 724 | ) |
| 725 | |
| 726 | list(APPEND VNET_API_FILES ipip/ipip.api) |
| 727 | |
| 728 | ############################################################################## |
| 729 | # Tunnel protocol: l2tpv3 |
| 730 | ############################################################################## |
| 731 | list(APPEND VNET_SOURCES |
| 732 | l2tp/l2tp.c |
| 733 | l2tp/encap.c |
| 734 | l2tp/decap.c |
| 735 | l2tp/pg.c |
| 736 | l2tp/l2tp_api.c |
| 737 | ) |
| 738 | |
Filip Tehlar | c3a0e8d | 2019-03-11 05:53:35 -0700 | [diff] [blame] | 739 | list(APPEND VNET_MULTIARCH_SOURCES |
| 740 | l2tp/encap.c |
| 741 | l2tp/decap.c |
| 742 | ) |
| 743 | |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 744 | list(APPEND VNET_HEADERS |
| 745 | l2tp/l2tp.h |
| 746 | l2tp/packet.h |
| 747 | ) |
| 748 | |
| 749 | list(APPEND VNET_API_FILES l2tp/l2tp.api) |
| 750 | |
| 751 | ############################################################################## |
| 752 | # Tunnel protocol: gre+mpls |
| 753 | ############################################################################## |
| 754 | list(APPEND VNET_SOURCES |
| 755 | mpls/mpls.c |
| 756 | mpls/mpls_lookup.c |
| 757 | mpls/mpls_output.c |
| 758 | mpls/mpls_features.c |
| 759 | mpls/mpls_input.c |
| 760 | mpls/interface.c |
| 761 | mpls/mpls_tunnel.c |
| 762 | mpls/pg.c |
| 763 | mpls/mpls_api.c |
| 764 | ) |
| 765 | |
Filip Tehlar | 17fcd98 | 2019-03-05 04:32:11 -0800 | [diff] [blame] | 766 | list(APPEND VNET_MULTIARCH_SOURCES |
| 767 | mpls/mpls_output.c |
| 768 | mpls/mpls_input.c |
| 769 | mpls/mpls_lookup.c |
| 770 | mpls/mpls_features.c |
| 771 | ) |
| 772 | |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 773 | list(APPEND VNET_HEADERS |
| 774 | mpls/mpls.h |
| 775 | mpls/mpls_types.h |
| 776 | mpls/mpls_tunnel.h |
| 777 | mpls/packet.h |
| 778 | mpls/error.def |
| 779 | ) |
| 780 | |
| 781 | list(APPEND VNET_API_FILES mpls/mpls.api) |
| 782 | |
| 783 | ############################################################################## |
Mohsin Kazmi | 61b94c6 | 2018-08-20 18:32:39 +0200 | [diff] [blame] | 784 | # Tunnel protocol: vxlan-gbp |
| 785 | ############################################################################## |
| 786 | list(APPEND VNET_SOURCES |
| 787 | vxlan-gbp/decap.c |
| 788 | vxlan-gbp/encap.c |
| 789 | vxlan-gbp/vxlan_gbp_api.c |
| 790 | vxlan-gbp/vxlan_gbp.c |
Neale Ranns | 93cc3ee | 2018-10-10 07:22:51 -0700 | [diff] [blame] | 791 | vxlan-gbp/vxlan_gbp_packet.c |
Mohsin Kazmi | 61b94c6 | 2018-08-20 18:32:39 +0200 | [diff] [blame] | 792 | ) |
| 793 | |
Filip Tehlar | e1714d3 | 2019-03-05 03:01:43 -0800 | [diff] [blame] | 794 | list (APPEND VNET_MULTIARCH_SOURCES |
| 795 | vxlan-gbp/decap.c |
| 796 | vxlan-gbp/encap.c |
| 797 | ) |
| 798 | |
Mohsin Kazmi | 61b94c6 | 2018-08-20 18:32:39 +0200 | [diff] [blame] | 799 | list(APPEND VNET_HEADERS |
| 800 | vxlan-gbp/vxlan_gbp.h |
| 801 | vxlan-gbp/vxlan_gbp_packet.h |
| 802 | vxlan-gbp/vxlan_gbp_error.def |
| 803 | ) |
| 804 | |
| 805 | list(APPEND VNET_API_FILES vxlan-gbp/vxlan_gbp.api) |
| 806 | |
| 807 | ############################################################################## |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 808 | # Tunnel protocol: vxlan-gpe |
| 809 | ############################################################################## |
| 810 | |
| 811 | list(APPEND VNET_SOURCES |
| 812 | vxlan-gpe/vxlan_gpe.c |
| 813 | vxlan-gpe/encap.c |
| 814 | vxlan-gpe/decap.c |
| 815 | vxlan-gpe/vxlan_gpe_api.c |
| 816 | ) |
| 817 | |
Filip Tehlar | e1714d3 | 2019-03-05 03:01:43 -0800 | [diff] [blame] | 818 | list (APPEND VNET_MULTIARCH_SOURCES |
| 819 | vxlan-gpe/decap.c |
| 820 | ) |
| 821 | |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 822 | list(APPEND VNET_HEADERS |
| 823 | vxlan-gpe/vxlan_gpe.h |
| 824 | vxlan-gpe/vxlan_gpe_packet.h |
| 825 | vxlan-gpe/vxlan_gpe_error.def |
| 826 | ) |
| 827 | |
| 828 | list(APPEND VNET_API_FILES vxlan-gpe/vxlan_gpe.api) |
| 829 | |
| 830 | ############################################################################## |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 831 | # LISP control plane: lisp-cp |
| 832 | ############################################################################## |
| 833 | |
| 834 | list(APPEND VNET_SOURCES |
| 835 | lisp-cp/lisp_types.c |
| 836 | lisp-cp/lisp_cp_dpo.c |
| 837 | lisp-cp/control.c |
| 838 | lisp-cp/gid_dictionary.c |
| 839 | lisp-cp/lisp_msg_serdes.c |
| 840 | lisp-cp/packets.c |
| 841 | lisp-cp/one_cli.c |
| 842 | lisp-cp/lisp_cli.c |
| 843 | lisp-cp/one_api.c |
| 844 | lisp-cp/lisp_api.c |
| 845 | ) |
| 846 | |
| 847 | list(APPEND VNET_HEADERS |
| 848 | lisp-cp/lisp_types.h |
| 849 | lisp-cp/packets.h |
| 850 | lisp-cp/gid_dictionary.h |
| 851 | lisp-cp/lisp_cp_messages.h |
| 852 | lisp-cp/lisp_msg_serdes.h |
| 853 | lisp-cp/control.h |
| 854 | ) |
| 855 | |
| 856 | list(APPEND VNET_API_FILES lisp-cp/lisp.api) |
| 857 | list(APPEND VNET_API_FILES lisp-cp/one.api) |
| 858 | |
| 859 | ############################################################################## |
| 860 | # Tunnel protocol: lisp-gpe |
| 861 | ############################################################################## |
| 862 | |
| 863 | list(APPEND VNET_SOURCES |
| 864 | lisp-gpe/lisp_gpe.c |
| 865 | lisp-gpe/lisp_gpe_sub_interface.c |
| 866 | lisp-gpe/lisp_gpe_adjacency.c |
| 867 | lisp-gpe/lisp_gpe_tunnel.c |
| 868 | lisp-gpe/lisp_gpe_fwd_entry.c |
| 869 | lisp-gpe/lisp_gpe_tenant.c |
| 870 | lisp-gpe/interface.c |
| 871 | lisp-gpe/decap.c |
| 872 | lisp-gpe/lisp_gpe_api.c |
| 873 | ) |
| 874 | |
| 875 | list(APPEND VNET_HEADERS |
| 876 | lisp-gpe/lisp_gpe.h |
| 877 | lisp-gpe/lisp_gpe_fwd_entry.h |
| 878 | lisp-gpe/lisp_gpe_tenant.h |
| 879 | lisp-gpe/lisp_gpe_packet.h |
| 880 | lisp-gpe/lisp_gpe_error.def |
| 881 | ) |
| 882 | |
| 883 | list(APPEND VNET_API_FILES lisp-gpe/lisp_gpe.api) |
| 884 | |
| 885 | ############################################################################## |
| 886 | # DHCP client |
| 887 | ############################################################################## |
| 888 | list(APPEND VNET_SOURCES |
| 889 | dhcp/client.c |
| 890 | dhcp/dhcp_client_detect.c |
| 891 | dhcp/dhcp6_client_common_dp.c |
| 892 | dhcp/dhcp6_pd_client_dp.c |
| 893 | dhcp/dhcp6_pd_client_cp.c |
| 894 | dhcp/dhcp6_ia_na_client_dp.c |
| 895 | dhcp/dhcp6_ia_na_client_cp.c |
| 896 | dhcp/dhcp_api.c |
| 897 | ) |
| 898 | |
Filip Tehlar | c3a0e8d | 2019-03-11 05:53:35 -0700 | [diff] [blame] | 899 | list(APPEND VNET_MULTIARCH_SOURCES |
| 900 | dhcp/dhcp_client_detect.c |
| 901 | ) |
| 902 | |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 903 | list(APPEND VNET_HEADERS |
| 904 | dhcp/client.h |
| 905 | dhcp/dhcp6_client_common_dp.h |
| 906 | dhcp/dhcp6_pd_client_dp.h |
| 907 | dhcp/dhcp6_ia_na_client_dp.h |
| 908 | ) |
| 909 | |
| 910 | list(APPEND VNET_API_FILES |
| 911 | dhcp/dhcp.api |
| 912 | dhcp/dhcp6_pd_client_cp.api |
| 913 | dhcp/dhcp6_ia_na_client_cp.api |
| 914 | ) |
| 915 | |
| 916 | ############################################################################## |
| 917 | # DHCP proxy |
| 918 | ############################################################################## |
| 919 | list(APPEND VNET_SOURCES |
| 920 | dhcp/dhcp6_proxy_node.c |
| 921 | dhcp/dhcp4_proxy_node.c |
| 922 | dhcp/dhcp_proxy.c |
| 923 | ) |
| 924 | |
| 925 | list(APPEND VNET_HEADERS |
| 926 | dhcp/dhcp4_packet.h |
| 927 | dhcp/dhcp6_packet.h |
| 928 | dhcp/dhcp_proxy.h |
| 929 | dhcp/dhcp6_proxy_error.def |
| 930 | dhcp/dhcp4_proxy_error.def |
| 931 | ) |
| 932 | |
| 933 | ############################################################################## |
| 934 | # ipv6 segment routing |
| 935 | ############################################################################## |
| 936 | |
| 937 | list(APPEND VNET_SOURCES |
| 938 | srv6/sr.c |
| 939 | srv6/sr_localsid.c |
| 940 | srv6/sr_policy_rewrite.c |
| 941 | srv6/sr_steering.c |
| 942 | srv6/sr_api.c |
| 943 | ) |
| 944 | |
| 945 | list(APPEND VNET_HEADERS |
| 946 | srv6/sr_packet.h |
| 947 | srv6/sr.h |
| 948 | ) |
| 949 | |
| 950 | list(APPEND VNET_API_FILES srv6/sr.api) |
| 951 | |
| 952 | ############################################################################## |
| 953 | # mpls segment routing |
| 954 | ############################################################################## |
| 955 | |
| 956 | list(APPEND VNET_SOURCES |
| 957 | srmpls/sr_mpls_policy.c |
| 958 | srmpls/sr_mpls_steering.c |
| 959 | srmpls/sr_mpls_api.c |
| 960 | ) |
| 961 | |
| 962 | list(APPEND VNET_HEADERS |
| 963 | srmpls/sr_mpls.h |
| 964 | ) |
| 965 | |
| 966 | list(APPEND VNET_API_FILES srmpls/sr_mpls.api) |
| 967 | |
| 968 | ############################################################################## |
| 969 | # IPFIX / netflow v10 |
| 970 | ############################################################################## |
| 971 | list(APPEND VNET_SOURCES |
| 972 | ipfix-export/flow_report.c |
| 973 | ipfix-export/flow_api.c |
| 974 | ) |
| 975 | |
| 976 | list(APPEND VNET_HEADERS |
| 977 | ipfix-export/flow_report.h |
| 978 | ipfix-export/ipfix_info_elements.h |
| 979 | ipfix-export/ipfix_packet.h |
| 980 | ) |
| 981 | |
| 982 | list(APPEND VNET_API_FILES ipfix-export/ipfix_export.api) |
| 983 | |
| 984 | ############################################################################## |
| 985 | # IPFIX classify code |
| 986 | ############################################################################## |
| 987 | |
| 988 | list(APPEND VNET_SOURCES |
| 989 | ipfix-export/flow_report_classify.c |
| 990 | ) |
| 991 | |
| 992 | list(APPEND VNET_HEADERS |
| 993 | ipfix-export/flow_report_classify.h |
| 994 | ) |
| 995 | |
| 996 | ############################################################################## |
| 997 | # lawful intercept |
| 998 | ############################################################################## |
| 999 | |
| 1000 | list(APPEND VNET_SOURCES |
| 1001 | lawful-intercept/lawful_intercept.c |
| 1002 | lawful-intercept/node.c |
| 1003 | ) |
| 1004 | |
Filip Tehlar | c3a0e8d | 2019-03-11 05:53:35 -0700 | [diff] [blame] | 1005 | list(APPEND VNET_MULTIARCH_SOURCES |
| 1006 | lawful-intercept/node.c |
| 1007 | ) |
| 1008 | |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1009 | list(APPEND VNET_HEADERS |
| 1010 | lawful-intercept/lawful_intercept.h |
| 1011 | ) |
| 1012 | |
| 1013 | ############################################################################## |
| 1014 | # SPAN (port mirroring) |
| 1015 | ############################################################################## |
| 1016 | |
| 1017 | list(APPEND VNET_SOURCES |
| 1018 | span/span_api.c |
| 1019 | span/span.c |
| 1020 | span/node.c |
| 1021 | ) |
| 1022 | |
Filip Tehlar | a79271f | 2019-03-05 03:46:40 -0800 | [diff] [blame] | 1023 | list(APPEND VNET_MULTIARCH_SOURCES |
| 1024 | span/node.c |
| 1025 | ) |
| 1026 | |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1027 | list(APPEND VNET_HEADERS |
| 1028 | span/span.h |
| 1029 | ) |
| 1030 | |
| 1031 | list(APPEND VNET_API_FILES span/span.api) |
| 1032 | |
| 1033 | ############################################################################## |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1034 | # Packet generator |
| 1035 | ############################################################################## |
| 1036 | |
| 1037 | list(APPEND VNET_SOURCES |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 1038 | pg/cli.c |
| 1039 | pg/edit.c |
| 1040 | pg/init.c |
| 1041 | pg/input.c |
| 1042 | pg/output.c |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 1043 | pg/stream.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1044 | pg/pg_api.c |
| 1045 | ) |
| 1046 | |
| 1047 | list(APPEND VNET_HEADERS |
| 1048 | pg/pg.h |
| 1049 | pg/edit.h |
| 1050 | ) |
| 1051 | |
| 1052 | list(APPEND VNET_API_FILES pg/pg.api) |
| 1053 | |
| 1054 | ############################################################################## |
| 1055 | # virtio |
| 1056 | ############################################################################## |
| 1057 | |
| 1058 | list(APPEND VNET_SOURCES |
| 1059 | devices/virtio/device.c |
| 1060 | devices/virtio/node.c |
| 1061 | devices/virtio/vhost_user.c |
| 1062 | devices/virtio/vhost_user_input.c |
| 1063 | devices/virtio/vhost_user_output.c |
| 1064 | devices/virtio/vhost_user_api.c |
| 1065 | devices/virtio/virtio.c |
Mohsin Kazmi | d6c15af | 2018-10-23 18:00:47 +0200 | [diff] [blame] | 1066 | devices/virtio/virtio_api.c |
| 1067 | devices/virtio/cli.c |
| 1068 | devices/virtio/pci.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1069 | ) |
| 1070 | |
| 1071 | list(APPEND VNET_HEADERS |
Mohsin Kazmi | d6c15af | 2018-10-23 18:00:47 +0200 | [diff] [blame] | 1072 | devices/virtio/pci.h |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1073 | devices/virtio/virtio.h |
| 1074 | devices/virtio/vhost_user.h |
| 1075 | ) |
| 1076 | |
| 1077 | list(APPEND VNET_MULTIARCH_SOURCES |
| 1078 | devices/virtio/vhost_user_input.c |
| 1079 | devices/virtio/vhost_user_output.c |
Filip Tehlar | 608996d | 2019-03-04 03:03:13 -0800 | [diff] [blame] | 1080 | devices/netmap/node.c |
| 1081 | devices/virtio/node.c |
| 1082 | devices/af_packet/node.c |
Filip Tehlar | aee7364 | 2019-03-13 05:50:44 -0700 | [diff] [blame] | 1083 | devices/virtio/device.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1084 | ) |
| 1085 | |
Mohsin Kazmi | d6c15af | 2018-10-23 18:00:47 +0200 | [diff] [blame] | 1086 | list(APPEND VNET_API_FILES |
| 1087 | devices/virtio/vhost_user.api |
| 1088 | devices/virtio/virtio.api |
| 1089 | ) |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1090 | |
| 1091 | ############################################################################## |
| 1092 | # tap interface (with virtio backend) |
| 1093 | ############################################################################## |
| 1094 | |
| 1095 | list(APPEND VNET_SOURCES |
| 1096 | devices/tap/cli.c |
| 1097 | devices/tap/tap.c |
| 1098 | devices/tap/tapv2_api.c |
| 1099 | ) |
| 1100 | |
| 1101 | list(APPEND VNET_HEADERS |
| 1102 | devices/tap/tap.h |
| 1103 | ) |
| 1104 | |
| 1105 | list(APPEND VNET_API_FILES devices/tap/tapv2.api) |
| 1106 | |
| 1107 | ############################################################################## |
| 1108 | # tap interface (with virtio backend) |
| 1109 | ############################################################################## |
| 1110 | |
| 1111 | list(APPEND VNET_SOURCES |
| 1112 | devices/pipe/pipe_api.c |
| 1113 | devices/pipe/pipe.c |
| 1114 | ) |
| 1115 | |
| 1116 | list(APPEND VNET_HEADERS |
| 1117 | devices/pipe/pipe.h |
| 1118 | ) |
| 1119 | |
| 1120 | list(APPEND VNET_API_FILES devices/pipe/pipe.api) |
| 1121 | |
| 1122 | ############################################################################## |
| 1123 | # session managmeent |
| 1124 | ############################################################################## |
| 1125 | |
| 1126 | list(APPEND VNET_SOURCES |
| 1127 | session/session.c |
| 1128 | session/session_table.c |
| 1129 | session/session_rules_table.c |
| 1130 | session/session_lookup.c |
| 1131 | session/session_node.c |
| 1132 | session/transport.c |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 1133 | session/application.c |
Florin Coras | 623eb56 | 2019-02-03 19:28:34 -0800 | [diff] [blame] | 1134 | session/application_worker.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1135 | session/session_cli.c |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 1136 | session/application_interface.c |
Florin Coras | ba7d8f5 | 2019-02-22 13:11:38 -0800 | [diff] [blame] | 1137 | session/application_local.c |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 1138 | session/application_namespace.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1139 | session/segment_manager.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1140 | session/session_api.c |
| 1141 | ) |
| 1142 | |
| 1143 | list(APPEND VNET_HEADERS |
| 1144 | session/session.h |
| 1145 | session/session_table.h |
| 1146 | session/session_rules_table.h |
Florin Coras | 288eaab | 2019-02-03 15:26:14 -0800 | [diff] [blame] | 1147 | session/session_types.h |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1148 | session/session_lookup.h |
| 1149 | session/application.h |
| 1150 | session/transport.h |
Florin Coras | 1ee7830 | 2019-02-05 15:51:15 -0800 | [diff] [blame] | 1151 | session/transport_types.h |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1152 | session/application_interface.h |
Florin Coras | ba7d8f5 | 2019-02-22 13:11:38 -0800 | [diff] [blame] | 1153 | session/application_local.h |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1154 | session/application_namespace.h |
| 1155 | session/session_debug.h |
| 1156 | session/segment_manager.h |
| 1157 | session/mma_template.h |
| 1158 | session/mma_template.c |
| 1159 | session/mma_16.h |
| 1160 | session/mma_40.h |
| 1161 | ) |
| 1162 | |
| 1163 | list(APPEND VNET_API_FILES session/session.api) |
| 1164 | |
| 1165 | ############################################################################## |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1166 | # TLS protocol |
| 1167 | ############################################################################## |
| 1168 | |
| 1169 | list(APPEND VNET_SOURCES |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 1170 | tls/tls.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1171 | ) |
| 1172 | |
| 1173 | list(APPEND VNET_HEADERS |
| 1174 | tls/tls.h |
Florin Coras | 54a51fd | 2019-02-07 15:34:52 -0800 | [diff] [blame] | 1175 | tls/tls_test.h |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1176 | ) |
| 1177 | |
| 1178 | ############################################################################## |
| 1179 | # Linux packet interface |
| 1180 | ############################################################################## |
| 1181 | |
| 1182 | list(APPEND VNET_SOURCES |
| 1183 | devices/af_packet/af_packet.c |
| 1184 | devices/af_packet/device.c |
| 1185 | devices/af_packet/node.c |
| 1186 | devices/af_packet/cli.c |
| 1187 | devices/af_packet/af_packet_api.c |
| 1188 | ) |
| 1189 | |
Filip Tehlar | aee7364 | 2019-03-13 05:50:44 -0700 | [diff] [blame] | 1190 | list(APPEND VNET_MULTIARCH_SOURCES |
| 1191 | devices/netmap/device.c |
| 1192 | devices/af_packet/device.c |
| 1193 | ) |
| 1194 | |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 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 |
Neale Ranns | 1f50bf8 | 2019-07-16 15:28:52 +0000 | [diff] [blame] | 1277 | fib/fib_entry_track.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1278 | fib/fib_path_list.c |
| 1279 | fib/fib_path.c |
| 1280 | fib/fib_path_ext.c |
| 1281 | fib/fib_urpf_list.c |
| 1282 | fib/fib_attached_export.c |
| 1283 | fib/fib_api.c |
| 1284 | fib/fib_bfd.c |
| 1285 | ) |
| 1286 | |
| 1287 | list(APPEND VNET_HEADERS |
Damjan Marion | 2bfdda7 | 2018-08-24 21:36:42 +0200 | [diff] [blame] | 1288 | fib/fib.h |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1289 | fib/fib_api.h |
Damjan Marion | 2bfdda7 | 2018-08-24 21:36:42 +0200 | [diff] [blame] | 1290 | fib/ip4_fib.h |
Damjan Marion | 2bfdda7 | 2018-08-24 21:36:42 +0200 | [diff] [blame] | 1291 | fib/ip6_fib.h |
| 1292 | fib/fib_types.h |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1293 | fib/fib_table.h |
| 1294 | fib/fib_node.h |
Damjan Marion | 2bfdda7 | 2018-08-24 21:36:42 +0200 | [diff] [blame] | 1295 | fib/fib_node_list.h |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1296 | fib/fib_entry.h |
Damjan Marion | 2bfdda7 | 2018-08-24 21:36:42 +0200 | [diff] [blame] | 1297 | fib/fib_entry_delegate.h |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1298 | ) |
| 1299 | |
Benoît Ganne | d39495d | 2019-07-25 14:14:03 +0200 | [diff] [blame] | 1300 | list(APPEND VNET_API_FILES fib/fib_types.api) |
| 1301 | |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1302 | ############################################################################## |
| 1303 | # ADJ |
| 1304 | ############################################################################## |
| 1305 | |
| 1306 | list(APPEND VNET_SOURCES |
| 1307 | adj/adj_nbr.c |
| 1308 | adj/adj_glean.c |
| 1309 | adj/adj_midchain.c |
Neale Ranns | 4c3ba81 | 2019-03-26 07:02:58 +0000 | [diff] [blame] | 1310 | adj/adj_midchain_delegate.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1311 | adj/adj_mcast.c |
| 1312 | adj/adj_l2.c |
| 1313 | adj/adj_nsh.c |
| 1314 | adj/adj.c |
| 1315 | adj/rewrite.c |
| 1316 | adj/adj_bfd.c |
| 1317 | adj/adj_delegate.c |
| 1318 | ) |
| 1319 | |
Filip Tehlar | 0b2c15d | 2019-03-04 02:52:54 -0800 | [diff] [blame] | 1320 | list(APPEND VNET_MULTIARCH_SOURCES |
| 1321 | adj/adj_nsh.c |
| 1322 | adj/adj_l2.c |
| 1323 | ) |
| 1324 | |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1325 | list(APPEND VNET_HEADERS |
| 1326 | adj/adj.h |
| 1327 | adj/adj_types.h |
| 1328 | adj/adj_glean.h |
| 1329 | adj/adj_nsh.h |
| 1330 | adj/adj_nbr.h |
Alberto Compagno | d8ca1e4 | 2019-08-12 11:43:19 +0200 | [diff] [blame] | 1331 | adj/adj_midchain.h |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1332 | adj/rewrite.h |
| 1333 | ) |
| 1334 | |
| 1335 | ############################################################################## |
| 1336 | # Data-Plane Objects |
| 1337 | ############################################################################## |
| 1338 | |
| 1339 | list(APPEND VNET_SOURCES |
| 1340 | dpo/dpo.c |
| 1341 | dpo/drop_dpo.c |
| 1342 | dpo/ip_null_dpo.c |
| 1343 | dpo/ip6_ll_dpo.c |
| 1344 | dpo/punt_dpo.c |
| 1345 | dpo/receive_dpo.c |
| 1346 | dpo/load_balance.c |
| 1347 | dpo/load_balance_map.c |
| 1348 | dpo/lookup_dpo.c |
| 1349 | dpo/classify_dpo.c |
| 1350 | dpo/replicate_dpo.c |
| 1351 | dpo/interface_rx_dpo.c |
| 1352 | dpo/interface_tx_dpo.c |
| 1353 | dpo/mpls_disposition.c |
| 1354 | dpo/mpls_label_dpo.c |
| 1355 | dpo/l3_proxy_dpo.c |
| 1356 | dpo/dvr_dpo.c |
Neale Ranns | 1dbcf30 | 2019-07-19 11:44:53 +0000 | [diff] [blame] | 1357 | dpo/pw_cw.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1358 | ) |
| 1359 | |
Filip Tehlar | eb9a27f | 2019-03-07 01:42:11 -0800 | [diff] [blame] | 1360 | list(APPEND VNET_MULTIARCH_SOURCES |
| 1361 | dpo/lookup_dpo.h |
| 1362 | dpo/mpls_disposition.c |
| 1363 | dpo/dvr_dpo.c |
| 1364 | dpo/mpls_label_dpo.c |
| 1365 | dpo/interface_rx_dpo.c |
| 1366 | ) |
| 1367 | |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1368 | list(APPEND VNET_HEADERS |
Damjan Marion | 2bfdda7 | 2018-08-24 21:36:42 +0200 | [diff] [blame] | 1369 | dpo/load_balance.h |
Damjan Marion | 2bfdda7 | 2018-08-24 21:36:42 +0200 | [diff] [blame] | 1370 | dpo/drop_dpo.h |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1371 | dpo/lookup_dpo.h |
| 1372 | dpo/punt_dpo.h |
Damjan Marion | 2bfdda7 | 2018-08-24 21:36:42 +0200 | [diff] [blame] | 1373 | dpo/classify_dpo.h |
| 1374 | dpo/receive_dpo.h |
| 1375 | dpo/ip_null_dpo.h |
| 1376 | dpo/replicate_dpo.h |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1377 | dpo/dpo.h |
| 1378 | ) |
| 1379 | |
| 1380 | ############################################################################## |
| 1381 | # Multicast FIB |
| 1382 | ############################################################################## |
| 1383 | |
| 1384 | list(APPEND VNET_SOURCES |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1385 | mfib/mfib_forward.c |
| 1386 | mfib/ip4_mfib.c |
| 1387 | mfib/ip6_mfib.c |
Neale Ranns | 097fa66 | 2018-05-01 05:17:55 -0700 | [diff] [blame] | 1388 | mfib/mfib_api.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1389 | mfib/mfib_types.c |
| 1390 | mfib/mfib_signal.c |
| 1391 | mfib/mfib_itf.c |
| 1392 | mfib/mfib_entry.c |
Neale Ranns | 9e829a8 | 2018-12-17 05:50:32 -0800 | [diff] [blame] | 1393 | mfib/mfib_entry.c |
| 1394 | mfib/mfib_entry_cover.c |
| 1395 | mfib/mfib_entry_delegate.c |
| 1396 | mfib/mfib_entry_src.c |
| 1397 | mfib/mfib_entry_src_rr.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1398 | mfib/mfib_table.c |
| 1399 | ) |
| 1400 | |
Filip Tehlar | 79c27eb | 2019-03-07 00:30:03 -0800 | [diff] [blame] | 1401 | list(APPEND VNET_MULTIARCH_SOURCES |
| 1402 | mfib/mfib_forward.c |
| 1403 | ) |
| 1404 | |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1405 | list(APPEND VNET_HEADERS |
| 1406 | mfib/ip4_mfib.h |
| 1407 | mfib/mfib_types.h |
| 1408 | mfib/mfib_table.h |
| 1409 | ) |
| 1410 | |
Benoît Ganne | d39495d | 2019-07-25 14:14:03 +0200 | [diff] [blame] | 1411 | list(APPEND VNET_API_FILES mfib/mfib_types.api) |
| 1412 | |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1413 | ############################################################################## |
| 1414 | # Utilities |
| 1415 | ############################################################################## |
| 1416 | |
| 1417 | list(APPEND VNET_SOURCES |
| 1418 | util/radix.c |
| 1419 | util/refcount.c |
Neale Ranns | c8352bc | 2018-08-29 10:23:58 -0700 | [diff] [blame] | 1420 | util/throttle.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1421 | util/trajectory.c |
| 1422 | ) |
| 1423 | |
Damjan Marion | ac5554c | 2018-08-30 22:56:59 +0200 | [diff] [blame] | 1424 | list(APPEND VNET_HEADERS |
| 1425 | util/throttle.h |
| 1426 | ) |
| 1427 | |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1428 | ############################################################################## |
| 1429 | # QoS |
| 1430 | ############################################################################## |
| 1431 | |
| 1432 | list(APPEND VNET_SOURCES |
| 1433 | qos/qos_types.c |
| 1434 | qos/qos_api.c |
| 1435 | qos/qos_egress_map.c |
| 1436 | qos/qos_record.c |
Filip Tehlar | 0bddf7e | 2019-03-04 08:14:07 -0800 | [diff] [blame] | 1437 | qos/qos_record_node.c |
Neale Ranns | 83832e7 | 2019-07-31 02:48:02 -0700 | [diff] [blame] | 1438 | qos/qos_store.c |
| 1439 | qos/qos_store_node.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1440 | qos/qos_mark.c |
Filip Tehlar | 0bddf7e | 2019-03-04 08:14:07 -0800 | [diff] [blame] | 1441 | qos/qos_mark_node.c |
| 1442 | ) |
| 1443 | |
| 1444 | list(APPEND VNET_MULTIARCH_SOURCES |
| 1445 | qos/qos_record_node.c |
| 1446 | qos/qos_mark_node.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1447 | ) |
| 1448 | |
| 1449 | list(APPEND VNET_API_FILES qos/qos.api) |
| 1450 | |
| 1451 | ############################################################################## |
| 1452 | # BIER |
| 1453 | ############################################################################## |
| 1454 | |
| 1455 | list(APPEND VNET_SOURCES |
| 1456 | bier/bier_bit_string.c |
| 1457 | bier/bier_entry.c |
| 1458 | bier/bier_fmask.c |
| 1459 | bier/bier_fmask_db.c |
| 1460 | bier/bier_input.c |
| 1461 | bier/bier_lookup.c |
| 1462 | bier/bier_output.c |
| 1463 | bier/bier_table.c |
| 1464 | bier/bier_types.c |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1465 | bier/bier_api.c |
| 1466 | bier/bier_drop.c |
| 1467 | bier/bier_update.c |
| 1468 | bier/bier_imp_node.c |
| 1469 | bier/bier_imp.c |
| 1470 | bier/bier_disp_entry.c |
| 1471 | bier/bier_disp_lookup_node.c |
| 1472 | bier/bier_disp_dispatch_node.c |
| 1473 | bier/bier_disp_table.c |
| 1474 | bier/bier_bift_table.c |
| 1475 | ) |
| 1476 | |
Filip Tehlar | a01e032 | 2019-03-05 03:34:52 -0800 | [diff] [blame] | 1477 | list(APPEND VNET_MULTIARCH_SOURCES |
| 1478 | bier/bier_disp_dispatch_node.c |
| 1479 | bier/bier_disp_lookup_node.c |
| 1480 | bier/bier_imp_node.c |
| 1481 | ) |
| 1482 | |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1483 | list(APPEND VNET_HEADERS |
Damjan Marion | 2bfdda7 | 2018-08-24 21:36:42 +0200 | [diff] [blame] | 1484 | bier/bier_types.h |
| 1485 | bier/bier_entry.h |
Damjan Marion | 2bfdda7 | 2018-08-24 21:36:42 +0200 | [diff] [blame] | 1486 | bier/bier_update.h |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1487 | bier/bier_table.h |
Damjan Marion | 2bfdda7 | 2018-08-24 21:36:42 +0200 | [diff] [blame] | 1488 | ) |
| 1489 | |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1490 | list(APPEND VNET_API_FILES bier/bier.api) |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 1491 | |
Florin Coras | 41c9e04 | 2018-09-11 00:10:41 -0700 | [diff] [blame] | 1492 | ############################################################################## |
Matus Fabian | b4515b4 | 2018-11-19 04:25:32 -0800 | [diff] [blame] | 1493 | # SYSLOG |
| 1494 | ############################################################################## |
| 1495 | |
| 1496 | list (APPEND VNET_SOURCES |
| 1497 | syslog/syslog_api.c |
| 1498 | syslog/syslog_udp.c |
| 1499 | syslog/syslog.c |
| 1500 | ) |
| 1501 | |
| 1502 | list(APPEND VNET_HEADERS |
| 1503 | syslog/syslog_udp.h |
| 1504 | syslog/syslog.h |
| 1505 | ) |
| 1506 | |
| 1507 | list(APPEND VNET_API_FILES syslog/syslog.api) |
| 1508 | |
| 1509 | ############################################################################## |
Florin Coras | 41c9e04 | 2018-09-11 00:10:41 -0700 | [diff] [blame] | 1510 | # VNET Library |
| 1511 | ############################################################################## |
| 1512 | |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 1513 | add_vpp_library(vnet |
| 1514 | SOURCES ${VNET_SOURCES} |
| 1515 | MULTIARCH_SOURCES ${VNET_MULTIARCH_SOURCES} |
| 1516 | INSTALL_HEADERS ${VNET_HEADERS} |
| 1517 | API_FILES ${VNET_API_FILES} |
| 1518 | LINK_LIBRARIES vppinfra svm vlib ${OPENSSL_LIBRARIES} |
| 1519 | DEPENDS api_headers |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 1520 | ) |
Florin Coras | 41c9e04 | 2018-09-11 00:10:41 -0700 | [diff] [blame] | 1521 | |
| 1522 | ############################################################################## |