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