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