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