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