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