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