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