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