Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 1 | # Copyright (c) 2015 Cisco and/or its affiliates. |
| 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 | 724f64c | 2017-01-11 11:11:00 +0100 | [diff] [blame] | 14 | lib_LTLIBRARIES += libvnet.la |
| 15 | |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 16 | libvnet_la_SOURCES = |
Damjan Marion | c74a86a | 2017-01-16 14:00:03 +0100 | [diff] [blame] | 17 | libvnet_la_DEPENDENCIES = \ |
| 18 | libvppinfra.la \ |
| 19 | libvlib.la \ |
| 20 | libsvmdb.la \ |
| 21 | libsvm.la \ |
Dave Barach | 654ceaf | 2017-03-29 16:59:02 -0400 | [diff] [blame] | 22 | libvlibmemory.la |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 23 | |
Damjan Marion | c3a814b | 2017-02-28 19:22:22 +0100 | [diff] [blame] | 24 | libvnet_la_LIBADD = $(libvnet_la_DEPENDENCIES) -lm -lpthread -ldl -lrt |
Damjan Marion | 45a00c4 | 2017-01-08 15:34:50 +0100 | [diff] [blame] | 25 | |
Damjan Marion | a9a951f | 2017-01-16 22:06:10 +0100 | [diff] [blame] | 26 | if WITH_LIBSSL |
Damjan Marion | 45a00c4 | 2017-01-08 15:34:50 +0100 | [diff] [blame] | 27 | libvnet_la_LIBADD += -lcrypto |
| 28 | endif |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 29 | |
| 30 | ######################################## |
| 31 | # Generic stuff |
| 32 | ######################################## |
| 33 | libvnet_la_SOURCES += \ |
Damjan Marion | bd846cd | 2017-11-21 13:12:41 +0100 | [diff] [blame] | 34 | vnet/buffer.c \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 35 | vnet/config.c \ |
| 36 | vnet/devices/devices.c \ |
| 37 | vnet/handoff.c \ |
| 38 | vnet/interface.c \ |
| 39 | vnet/interface_api.c \ |
| 40 | vnet/interface_cli.c \ |
| 41 | vnet/interface_format.c \ |
| 42 | vnet/interface_output.c \ |
| 43 | vnet/misc.c \ |
Neale Ranns | fa5d198 | 2017-02-20 14:19:51 -0800 | [diff] [blame] | 44 | vnet/replication.c |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 45 | |
| 46 | nobase_include_HEADERS += \ |
| 47 | vnet/api_errno.h \ |
| 48 | vnet/buffer.h \ |
| 49 | vnet/config.h \ |
| 50 | vnet/devices/devices.h \ |
| 51 | vnet/global_funcs.h \ |
| 52 | vnet/handoff.h \ |
| 53 | vnet/interface.h \ |
| 54 | vnet/interface.api.h \ |
| 55 | vnet/interface_funcs.h \ |
Matus Fabian | a774b53 | 2017-05-02 03:15:22 -0700 | [diff] [blame] | 56 | vnet/ip/ip4_to_ip6.h \ |
| 57 | vnet/ip/ip6_to_ip4.h \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 58 | vnet/l3_types.h \ |
| 59 | vnet/pipeline.h \ |
| 60 | vnet/replication.h \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 61 | vnet/vnet.h \ |
| 62 | vnet/vnet_all_api_h.h \ |
Gabriel Ganne | 5842c78 | 2017-01-30 13:44:04 +0100 | [diff] [blame] | 63 | vnet/vnet_msg_enum.h \ |
| 64 | vnet/util/radix.h |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 65 | |
| 66 | API_FILES += vnet/interface.api |
| 67 | |
| 68 | ######################################## |
| 69 | # Policer infra |
| 70 | ######################################## |
| 71 | |
| 72 | libvnet_la_SOURCES += \ |
| 73 | vnet/policer/node_funcs.c \ |
| 74 | vnet/policer/policer.c \ |
Pavel Kotucek | d9aad29 | 2017-01-25 08:45:38 +0100 | [diff] [blame] | 75 | vnet/policer/xlate.c \ |
| 76 | vnet/policer/policer_api.c |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 77 | |
| 78 | nobase_include_HEADERS += \ |
| 79 | vnet/policer/police.h \ |
| 80 | vnet/policer/policer.h \ |
Pavel Kotucek | d9aad29 | 2017-01-25 08:45:38 +0100 | [diff] [blame] | 81 | vnet/policer/xlate.h \ |
| 82 | vnet/policer/policer.api.h |
| 83 | |
| 84 | API_FILES += vnet/policer/policer.api |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 85 | |
| 86 | ######################################## |
| 87 | # Cop - junk filter |
| 88 | ######################################## |
| 89 | |
| 90 | libvnet_la_SOURCES += \ |
| 91 | vnet/cop/cop.c \ |
| 92 | vnet/cop/node1.c \ |
| 93 | vnet/cop/ip4_whitelist.c \ |
Pavel Kotucek | 884cf26 | 2017-01-25 08:27:15 +0100 | [diff] [blame] | 94 | vnet/cop/ip6_whitelist.c \ |
| 95 | vnet/cop/cop_api.c |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 96 | |
| 97 | nobase_include_HEADERS += \ |
Pavel Kotucek | 884cf26 | 2017-01-25 08:27:15 +0100 | [diff] [blame] | 98 | vnet/cop/cop.h \ |
| 99 | vnet/cop/cop.api.h |
| 100 | |
| 101 | API_FILES += vnet/cop/cop.api |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 102 | |
| 103 | ######################################## |
| 104 | # Layer 2 protocols go here |
| 105 | ######################################## |
| 106 | |
| 107 | ######################################## |
| 108 | # Layer 2 protocol: Ethernet |
| 109 | ######################################## |
| 110 | libvnet_la_SOURCES += \ |
| 111 | vnet/ethernet/arp.c \ |
| 112 | vnet/ethernet/format.c \ |
| 113 | vnet/ethernet/init.c \ |
| 114 | vnet/ethernet/interface.c \ |
| 115 | vnet/ethernet/node.c \ |
Damjan Marion | 374e2c5 | 2017-03-09 20:38:15 +0100 | [diff] [blame] | 116 | vnet/ethernet/pg.c \ |
Pavel Kotucek | 6899a30 | 2017-06-08 08:46:10 +0200 | [diff] [blame] | 117 | vnet/ethernet/sfp.c \ |
| 118 | vnet/ethernet/p2p_ethernet.c \ |
Pavel Kotucek | 15ac81c | 2017-06-20 14:00:26 +0200 | [diff] [blame] | 119 | vnet/ethernet/p2p_ethernet_input.c \ |
Pavel Kotucek | 6899a30 | 2017-06-08 08:46:10 +0200 | [diff] [blame] | 120 | vnet/ethernet/p2p_ethernet_api.c |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 121 | |
| 122 | nobase_include_HEADERS += \ |
| 123 | vnet/ethernet/arp_packet.h \ |
| 124 | vnet/ethernet/error.def \ |
| 125 | vnet/ethernet/ethernet.h \ |
| 126 | vnet/ethernet/packet.h \ |
Damjan Marion | 374e2c5 | 2017-03-09 20:38:15 +0100 | [diff] [blame] | 127 | vnet/ethernet/types.def \ |
Pavel Kotucek | 6899a30 | 2017-06-08 08:46:10 +0200 | [diff] [blame] | 128 | vnet/ethernet/sfp.h \ |
| 129 | vnet/ethernet/p2p_ethernet.api.h \ |
| 130 | vnet/ethernet/p2p_ethernet.h |
| 131 | |
| 132 | API_FILES += vnet/ethernet/p2p_ethernet.api |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 133 | |
| 134 | ######################################## |
| 135 | # Layer 2 protocol: Ethernet bridging |
| 136 | ######################################## |
| 137 | libvnet_la_SOURCES += \ |
| 138 | vnet/l2/feat_bitmap.c \ |
| 139 | vnet/l2/l2_api.c \ |
| 140 | vnet/l2/l2_bd.c \ |
| 141 | vnet/l2/l2_bvi.c \ |
| 142 | vnet/l2/l2_input_classify.c \ |
| 143 | vnet/l2/l2_output_classify.c \ |
| 144 | vnet/l2/l2_efp_filter.c \ |
| 145 | vnet/l2/l2_fib.c \ |
| 146 | vnet/l2/l2_flood.c \ |
| 147 | vnet/l2/l2_fwd.c \ |
| 148 | vnet/l2/l2_input_acl.c \ |
| 149 | vnet/l2/l2_input.c \ |
| 150 | vnet/l2/l2_input_vtr.c \ |
| 151 | vnet/l2/l2_learn.c \ |
| 152 | vnet/l2/l2_output_acl.c \ |
| 153 | vnet/l2/l2_output.c \ |
| 154 | vnet/l2/l2_patch.c \ |
| 155 | vnet/l2/l2_rw.c \ |
| 156 | vnet/l2/l2_vtr.c \ |
| 157 | vnet/l2/l2_xcrw.c |
| 158 | |
| 159 | nobase_include_HEADERS += \ |
| 160 | vnet/l2/feat_bitmap.h \ |
| 161 | vnet/l2/l2_input.h \ |
| 162 | vnet/l2/l2_output.h \ |
| 163 | vnet/l2/l2_vtr.h \ |
| 164 | vnet/l2/l2_input_vtr.h \ |
| 165 | vnet/l2/l2_efp_filter.h \ |
| 166 | vnet/l2/l2_fwd.h \ |
| 167 | vnet/l2/l2_bd.h \ |
| 168 | vnet/l2/l2_bvi.h \ |
| 169 | vnet/l2/l2_flood.h \ |
| 170 | vnet/l2/l2_fib.h \ |
| 171 | vnet/l2/l2_rw.h \ |
| 172 | vnet/l2/l2_xcrw.h \ |
| 173 | vnet/l2/l2_classify.h \ |
| 174 | vnet/l2/l2.api.h |
| 175 | |
| 176 | API_FILES += vnet/l2/l2.api |
| 177 | |
| 178 | ######################################## |
| 179 | # Layer 2 protocol: SRP |
| 180 | ######################################## |
| 181 | libvnet_la_SOURCES += \ |
| 182 | vnet/srp/format.c \ |
| 183 | vnet/srp/interface.c \ |
| 184 | vnet/srp/node.c \ |
| 185 | vnet/srp/pg.c |
| 186 | |
| 187 | nobase_include_HEADERS += \ |
| 188 | vnet/srp/packet.h \ |
| 189 | vnet/srp/srp.h |
| 190 | |
| 191 | ######################################## |
| 192 | # Layer 2 protocol: PPP |
| 193 | ######################################## |
| 194 | libvnet_la_SOURCES += \ |
| 195 | vnet/ppp/node.c \ |
| 196 | vnet/ppp/pg.c \ |
| 197 | vnet/ppp/ppp.c |
| 198 | |
| 199 | nobase_include_HEADERS += \ |
| 200 | vnet/ppp/error.def \ |
| 201 | vnet/ppp/ppp.h \ |
| 202 | vnet/ppp/packet.h |
| 203 | |
| 204 | ######################################## |
| 205 | # Layer 2 protocol: HDLC |
| 206 | ######################################## |
| 207 | libvnet_la_SOURCES += \ |
| 208 | vnet/hdlc/node.c \ |
| 209 | vnet/hdlc/pg.c \ |
| 210 | vnet/hdlc/hdlc.c |
| 211 | |
| 212 | nobase_include_HEADERS += \ |
| 213 | vnet/hdlc/error.def \ |
| 214 | vnet/hdlc/hdlc.h \ |
| 215 | vnet/hdlc/packet.h |
| 216 | |
| 217 | ######################################## |
| 218 | # Layer 2 protocol: LLC |
| 219 | ######################################## |
| 220 | libvnet_la_SOURCES += \ |
| 221 | vnet/llc/llc.c \ |
| 222 | vnet/llc/node.c \ |
| 223 | vnet/llc/pg.c |
| 224 | |
| 225 | nobase_include_HEADERS += \ |
| 226 | vnet/llc/llc.h |
| 227 | |
| 228 | ######################################## |
| 229 | # Layer 2 protocol: SNAP |
| 230 | ######################################## |
| 231 | libvnet_la_SOURCES += \ |
| 232 | vnet/snap/snap.c \ |
| 233 | vnet/snap/node.c \ |
| 234 | vnet/snap/pg.c |
| 235 | |
| 236 | nobase_include_HEADERS += \ |
| 237 | vnet/snap/snap.h |
| 238 | |
| 239 | ######################################## |
| 240 | # Layer 2 / vxlan |
| 241 | ######################################## |
| 242 | libvnet_la_SOURCES += \ |
| 243 | vnet/vxlan/vxlan.c \ |
| 244 | vnet/vxlan/encap.c \ |
| 245 | vnet/vxlan/decap.c \ |
| 246 | vnet/vxlan/vxlan_api.c |
| 247 | |
| 248 | nobase_include_HEADERS += \ |
| 249 | vnet/vxlan/vxlan.h \ |
| 250 | vnet/vxlan/vxlan_packet.h \ |
| 251 | vnet/vxlan/vxlan_error.def \ |
| 252 | vnet/vxlan/vxlan.api.h |
| 253 | |
| 254 | API_FILES += vnet/vxlan/vxlan.api |
| 255 | |
| 256 | ######################################## |
Marco Varlese | b598f1d | 2017-09-19 14:25:28 +0200 | [diff] [blame] | 257 | # Layer 2 / Geneve |
| 258 | ######################################## |
| 259 | libvnet_la_SOURCES += \ |
| 260 | vnet/geneve/geneve.c \ |
| 261 | vnet/geneve/encap.c \ |
| 262 | vnet/geneve/decap.c \ |
| 263 | vnet/geneve/geneve_api.c |
| 264 | |
| 265 | nobase_include_HEADERS += \ |
| 266 | vnet/geneve/geneve.h \ |
| 267 | vnet/geneve/geneve_packet.h \ |
| 268 | vnet/geneve/geneve_error.def \ |
| 269 | vnet/geneve/geneve.api.h |
| 270 | |
| 271 | API_FILES += vnet/geneve/geneve.api |
| 272 | |
| 273 | ######################################## |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 274 | # Layer 2 / CDP |
| 275 | ######################################## |
| 276 | libvnet_la_SOURCES += \ |
| 277 | vnet/cdp/cdp_input.c \ |
| 278 | vnet/cdp/cdp_node.c \ |
| 279 | vnet/cdp/cdp_periodic.c |
| 280 | |
| 281 | nobase_include_HEADERS += \ |
| 282 | vnet/cdp/cdp_protocol.h |
| 283 | |
| 284 | ######################################## |
| 285 | # Layer 2 / LLDP |
| 286 | ######################################## |
| 287 | libvnet_la_SOURCES += \ |
| 288 | vnet/lldp/lldp_input.c \ |
| 289 | vnet/lldp/lldp_node.c \ |
| 290 | vnet/lldp/lldp_output.c \ |
Steve Shin | 99a0e60 | 2017-07-01 04:16:20 +0000 | [diff] [blame] | 291 | vnet/lldp/lldp_cli.c \ |
| 292 | vnet/lldp/lldp_api.c |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 293 | |
| 294 | nobase_include_HEADERS += \ |
Steve Shin | 99a0e60 | 2017-07-01 04:16:20 +0000 | [diff] [blame] | 295 | vnet/lldp/lldp_protocol.h \ |
| 296 | vnet/lldp/lldp.h \ |
| 297 | vnet/lldp/lldp.api.h |
| 298 | |
| 299 | API_FILES += vnet/lldp/lldp.api |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 300 | |
| 301 | ######################################## |
| 302 | # Layer 2/3 "classify" |
| 303 | ######################################## |
| 304 | libvnet_la_SOURCES += \ |
| 305 | vnet/classify/vnet_classify.c \ |
| 306 | vnet/classify/ip_classify.c \ |
| 307 | vnet/classify/input_acl.c \ |
| 308 | vnet/classify/policer_classify.c \ |
| 309 | vnet/classify/flow_classify.c \ |
| 310 | vnet/classify/flow_classify_node.c \ |
Pavel Kotucek | d2c97d9 | 2017-01-24 10:58:12 +0100 | [diff] [blame] | 311 | vnet/classify/vnet_classify.h \ |
| 312 | vnet/classify/classify_api.c |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 313 | |
| 314 | nobase_include_HEADERS += \ |
| 315 | vnet/classify/vnet_classify.h \ |
| 316 | vnet/classify/input_acl.h \ |
| 317 | vnet/classify/policer_classify.h \ |
Pavel Kotucek | d2c97d9 | 2017-01-24 10:58:12 +0100 | [diff] [blame] | 318 | vnet/classify/flow_classify.h \ |
| 319 | vnet/classify/classify.api.h |
| 320 | |
| 321 | API_FILES += vnet/classify/classify.api |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 322 | |
| 323 | ######################################## |
| 324 | # Layer 3 protocols go here |
| 325 | ######################################## |
| 326 | |
| 327 | ######################################## |
| 328 | # Layer 3 protocol: IP v4/v6 |
| 329 | ######################################## |
| 330 | libvnet_la_SOURCES += \ |
| 331 | vnet/ip/format.c \ |
| 332 | vnet/ip/icmp4.c \ |
| 333 | vnet/ip/icmp6.c \ |
| 334 | vnet/ip/ip46_cli.c \ |
| 335 | vnet/ip/ip4_format.c \ |
| 336 | vnet/ip/ip4_forward.c \ |
Neale Ranns | d91c1db | 2017-07-31 02:30:50 -0700 | [diff] [blame] | 337 | vnet/ip/ip4_punt_drop.c \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 338 | vnet/ip/ip4_input.c \ |
| 339 | vnet/ip/ip4_mtrie.c \ |
| 340 | vnet/ip/ip4_pg.c \ |
| 341 | vnet/ip/ip4_source_and_port_range_check.c \ |
| 342 | vnet/ip/ip4_source_check.c \ |
| 343 | vnet/ip/ip6_format.c \ |
| 344 | vnet/ip/ip6_forward.c \ |
Neale Ranns | d91c1db | 2017-07-31 02:30:50 -0700 | [diff] [blame] | 345 | vnet/ip/ip6_punt_drop.c \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 346 | vnet/ip/ip6_hop_by_hop.c \ |
| 347 | vnet/ip/ip6_input.c \ |
| 348 | vnet/ip/ip6_neighbor.c \ |
| 349 | vnet/ip/ip6_pg.c \ |
| 350 | vnet/ip/ip_api.c \ |
| 351 | vnet/ip/ip_checksum.c \ |
| 352 | vnet/ip/ip_frag.c \ |
Florin Coras | cea194d | 2017-10-02 00:18:51 -0700 | [diff] [blame] | 353 | vnet/ip/ip.c \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 354 | vnet/ip/ip_init.c \ |
| 355 | vnet/ip/ip_input_acl.c \ |
| 356 | vnet/ip/lookup.c \ |
| 357 | vnet/ip/ping.c \ |
Neale Ranns | b8d4481 | 2017-11-10 06:53:54 -0800 | [diff] [blame] | 358 | vnet/ip/punt_api.c \ |
Dave Barach | 68b0fb0 | 2017-02-28 15:15:56 -0500 | [diff] [blame] | 359 | vnet/ip/punt.c |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 360 | |
| 361 | nobase_include_HEADERS += \ |
| 362 | vnet/ip/format.h \ |
| 363 | vnet/ip/icmp46_packet.h \ |
| 364 | vnet/ip/icmp4.h \ |
| 365 | vnet/ip/icmp6.h \ |
| 366 | vnet/ip/igmp_packet.h \ |
| 367 | vnet/ip/ip.api.h \ |
| 368 | vnet/ip/ip4_error.h \ |
| 369 | vnet/ip/ip4.h \ |
| 370 | vnet/ip/ip4_mtrie.h \ |
| 371 | vnet/ip/ip4_packet.h \ |
| 372 | vnet/ip/ip6_error.h \ |
| 373 | vnet/ip/ip6.h \ |
| 374 | vnet/ip/ip6_hop_by_hop.h \ |
| 375 | vnet/ip/ip6_hop_by_hop_packet.h \ |
| 376 | vnet/ip/ip6_packet.h \ |
| 377 | vnet/ip/ip6_neighbor.h \ |
| 378 | vnet/ip/ip.h \ |
| 379 | vnet/ip/ip_packet.h \ |
| 380 | vnet/ip/ip_source_and_port_range_check.h \ |
| 381 | vnet/ip/lookup.h \ |
| 382 | vnet/ip/ports.def \ |
| 383 | vnet/ip/protocols.def \ |
| 384 | vnet/ip/punt_error.def \ |
Neale Ranns | b8d4481 | 2017-11-10 06:53:54 -0800 | [diff] [blame] | 385 | vnet/ip/punt.api.h \ |
Dave Barach | 68b0fb0 | 2017-02-28 15:15:56 -0500 | [diff] [blame] | 386 | vnet/ip/punt.h |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 387 | |
Neale Ranns | b8d4481 | 2017-11-10 06:53:54 -0800 | [diff] [blame] | 388 | API_FILES += \ |
| 389 | vnet/ip/ip.api \ |
| 390 | vnet/ip/punt.api |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 391 | |
| 392 | ######################################## |
| 393 | # Bidirectional Forwarding Detection |
| 394 | ######################################## |
| 395 | |
| 396 | nobase_include_HEADERS += \ |
| 397 | vnet/bfd/bfd_protocol.h \ |
| 398 | vnet/bfd/bfd_main.h \ |
| 399 | vnet/bfd/bfd_api.h \ |
| 400 | vnet/bfd/bfd_udp.h \ |
| 401 | vnet/bfd/bfd.api.h |
| 402 | |
| 403 | libvnet_la_SOURCES += \ |
| 404 | vnet/bfd/bfd_api.h \ |
| 405 | vnet/bfd/bfd_udp.c \ |
| 406 | vnet/bfd/bfd_main.c \ |
| 407 | vnet/bfd/bfd_protocol.c \ |
Klement Sekera | 7388448 | 2017-02-23 09:26:30 +0100 | [diff] [blame] | 408 | vnet/bfd/bfd_cli.c \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 409 | vnet/bfd/bfd_api.c |
| 410 | |
| 411 | API_FILES += vnet/bfd/bfd.api |
| 412 | |
| 413 | ######################################## |
| 414 | # Layer 3 protocol: IPSec |
| 415 | ######################################## |
Damjan Marion | a9a951f | 2017-01-16 22:06:10 +0100 | [diff] [blame] | 416 | if WITH_LIBSSL |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 417 | libvnet_la_SOURCES += \ |
| 418 | vnet/ipsec/ipsec.c \ |
| 419 | vnet/ipsec/ipsec_cli.c \ |
| 420 | vnet/ipsec/ipsec_format.c \ |
| 421 | vnet/ipsec/ipsec_input.c \ |
| 422 | vnet/ipsec/ipsec_if.c \ |
| 423 | vnet/ipsec/ipsec_if_in.c \ |
| 424 | vnet/ipsec/ipsec_if_out.c \ |
Sergio Gonzalez Monroy | db93cd9 | 2017-08-26 15:22:05 +0100 | [diff] [blame] | 425 | vnet/ipsec/esp_format.c \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 426 | vnet/ipsec/esp_encrypt.c \ |
| 427 | vnet/ipsec/esp_decrypt.c \ |
| 428 | vnet/ipsec/ikev2.c \ |
| 429 | vnet/ipsec/ikev2_crypto.c \ |
| 430 | vnet/ipsec/ikev2_cli.c \ |
| 431 | vnet/ipsec/ikev2_payload.c \ |
| 432 | vnet/ipsec/ikev2_format.c \ |
| 433 | vnet/ipsec/ipsec_api.c |
| 434 | |
| 435 | API_FILES += vnet/ipsec/ipsec.api |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 436 | endif |
| 437 | |
| 438 | libvnet_la_SOURCES += \ |
| 439 | vnet/ipsec/ipsec_output.c |
| 440 | |
| 441 | nobase_include_HEADERS += \ |
| 442 | vnet/ipsec/ipsec.h \ |
| 443 | vnet/ipsec/esp.h \ |
| 444 | vnet/ipsec/ikev2.h \ |
| 445 | vnet/ipsec/ikev2_priv.h \ |
| 446 | vnet/ipsec/ipsec.api.h |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 447 | |
| 448 | ######################################## |
| 449 | # Layer 3 protocol: osi |
| 450 | ######################################## |
| 451 | libvnet_la_SOURCES += \ |
| 452 | vnet/osi/node.c \ |
| 453 | vnet/osi/osi.c \ |
| 454 | vnet/osi/pg.c |
| 455 | |
| 456 | nobase_include_HEADERS += \ |
| 457 | vnet/osi/osi.h |
| 458 | |
| 459 | ######################################## |
| 460 | # Layer 3 protocol: MAP |
| 461 | ######################################## |
| 462 | libvnet_la_SOURCES += \ |
| 463 | vnet/map/map.c \ |
| 464 | vnet/map/map_dpo.c \ |
| 465 | vnet/map/ip4_map.c \ |
| 466 | vnet/map/ip6_map.c \ |
| 467 | vnet/map/ip4_map_t.c \ |
| 468 | vnet/map/ip6_map_t.c \ |
| 469 | vnet/map/map_api.c |
| 470 | |
| 471 | nobase_include_HEADERS += \ |
| 472 | vnet/map/map.h \ |
| 473 | vnet/map/map_dpo.h \ |
| 474 | vnet/map/map.api.h |
| 475 | |
| 476 | API_FILES += vnet/map/map.api |
| 477 | |
| 478 | if ENABLE_TESTS |
| 479 | TESTS += test_map |
| 480 | test_map_SOURCES = \ |
| 481 | vnet/map/test.c |
| 482 | test_map_CPPFLAGS = $(AM_CPPFLAGS) -DCLIB_DEBUG |
| 483 | |
| 484 | test_map_LDADD = libvnet.la libvppinfra.la libvlib.la \ |
Dave Barach | 654ceaf | 2017-03-29 16:59:02 -0400 | [diff] [blame] | 485 | -lpthread -lvlibmemory -ldl -lsvm -lrt |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 486 | |
| 487 | test_map_LDFLAGS = -static |
| 488 | endif |
| 489 | |
Dave Barach | 68b0fb0 | 2017-02-28 15:15:56 -0500 | [diff] [blame] | 490 | ######################################## |
| 491 | # Layer 4 protocol: tcp |
| 492 | ######################################## |
| 493 | libvnet_la_SOURCES += \ |
Dave Barach | 3bbcfab | 2017-08-15 19:03:44 -0400 | [diff] [blame] | 494 | vnet/tcp/tcp_api.c \ |
Dave Barach | 68b0fb0 | 2017-02-28 15:15:56 -0500 | [diff] [blame] | 495 | vnet/tcp/tcp_format.c \ |
| 496 | vnet/tcp/tcp_pg.c \ |
| 497 | vnet/tcp/tcp_syn_filter4.c \ |
| 498 | vnet/tcp/tcp_output.c \ |
| 499 | vnet/tcp/tcp_input.c \ |
| 500 | vnet/tcp/tcp_newreno.c \ |
Florin Coras | 6792ec0 | 2017-03-13 03:49:51 -0700 | [diff] [blame] | 501 | vnet/tcp/builtin_client.c \ |
Florin Coras | e04c299 | 2017-03-01 08:17:34 -0800 | [diff] [blame] | 502 | vnet/tcp/builtin_server.c \ |
Dave Barach | 1015a1e | 2017-05-08 19:15:03 -0400 | [diff] [blame] | 503 | vnet/tcp/builtin_http_server.c \ |
Dave Barach | 52851e6 | 2017-08-07 09:35:25 -0400 | [diff] [blame] | 504 | vnet/tcp/builtin_proxy.c \ |
Florin Coras | 6792ec0 | 2017-03-13 03:49:51 -0700 | [diff] [blame] | 505 | vnet/tcp/tcp_test.c \ |
Dave Barach | 68b0fb0 | 2017-02-28 15:15:56 -0500 | [diff] [blame] | 506 | vnet/tcp/tcp.c |
| 507 | |
| 508 | nobase_include_HEADERS += \ |
| 509 | vnet/tcp/tcp_packet.h \ |
| 510 | vnet/tcp/tcp_timer.h \ |
Florin Coras | e69f495 | 2017-03-07 10:06:24 -0800 | [diff] [blame] | 511 | vnet/tcp/tcp_debug.h \ |
Florin Coras | c940f09 | 2017-08-23 11:24:02 -0700 | [diff] [blame] | 512 | vnet/tcp/tcp.h \ |
| 513 | vnet/tcp/tcp.api.h |
Dave Barach | 68b0fb0 | 2017-02-28 15:15:56 -0500 | [diff] [blame] | 514 | |
Dave Barach | 3bbcfab | 2017-08-15 19:03:44 -0400 | [diff] [blame] | 515 | API_FILES += vnet/tcp/tcp.api |
| 516 | |
Dave Barach | 68b0fb0 | 2017-02-28 15:15:56 -0500 | [diff] [blame] | 517 | ######################################## |
| 518 | # Layer 4 protocol: udp |
| 519 | ######################################## |
| 520 | libvnet_la_SOURCES += \ |
| 521 | vnet/udp/udp.c \ |
| 522 | vnet/udp/udp_input.c \ |
| 523 | vnet/udp/builtin_server.c \ |
| 524 | vnet/udp/udp_format.c \ |
| 525 | vnet/udp/udp_local.c \ |
Neale Ranns | 810086d | 2017-11-05 16:26:46 -0800 | [diff] [blame] | 526 | vnet/udp/udp_pg.c \ |
| 527 | vnet/udp/udp_encap_node.c \ |
| 528 | vnet/udp/udp_encap.c \ |
| 529 | vnet/udp/udp_api.c |
Dave Barach | 68b0fb0 | 2017-02-28 15:15:56 -0500 | [diff] [blame] | 530 | |
| 531 | nobase_include_HEADERS += \ |
| 532 | vnet/udp/udp_error.def \ |
| 533 | vnet/udp/udp.h \ |
Florin Coras | f149314 | 2017-11-09 14:17:27 -0800 | [diff] [blame] | 534 | vnet/udp/udp_packet.h \ |
| 535 | vnet/udp/udp.api.h |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 536 | |
Neale Ranns | 810086d | 2017-11-05 16:26:46 -0800 | [diff] [blame] | 537 | API_FILES += vnet/udp/udp.api |
| 538 | |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 539 | ######################################## |
| 540 | # Tunnel protocol: gre |
| 541 | ######################################## |
| 542 | libvnet_la_SOURCES += \ |
| 543 | vnet/gre/gre.c \ |
| 544 | vnet/gre/node.c \ |
| 545 | vnet/gre/interface.c \ |
| 546 | vnet/gre/pg.c \ |
| 547 | vnet/gre/gre_api.c |
| 548 | |
| 549 | nobase_include_HEADERS += \ |
| 550 | vnet/gre/gre.h \ |
| 551 | vnet/gre/packet.h \ |
| 552 | vnet/gre/error.def \ |
| 553 | vnet/gre/gre.api.h |
| 554 | |
| 555 | API_FILES += vnet/gre/gre.api |
| 556 | |
| 557 | ######################################## |
| 558 | # Tunnel protocol: l2tpv3 |
| 559 | ######################################## |
| 560 | libvnet_la_SOURCES += \ |
| 561 | vnet/l2tp/l2tp.c \ |
| 562 | vnet/l2tp/encap.c \ |
| 563 | vnet/l2tp/decap.c \ |
| 564 | vnet/l2tp/pg.c \ |
| 565 | vnet/l2tp/l2tp_api.c |
| 566 | |
| 567 | nobase_include_HEADERS += \ |
| 568 | vnet/l2tp/l2tp.h \ |
| 569 | vnet/l2tp/packet.h \ |
| 570 | vnet/l2tp/l2tp.api.h |
| 571 | |
| 572 | API_FILES += vnet/l2tp/l2tp.api |
| 573 | |
| 574 | ######################################## |
| 575 | # Tunnel protocol: gre+mpls |
| 576 | ######################################## |
| 577 | libvnet_la_SOURCES += \ |
| 578 | vnet/mpls/mpls.c \ |
| 579 | vnet/mpls/mpls_lookup.c \ |
| 580 | vnet/mpls/mpls_output.c \ |
| 581 | vnet/mpls/mpls_features.c \ |
Neale Ranns | 696e88d | 2017-03-16 07:34:55 -0400 | [diff] [blame] | 582 | vnet/mpls/mpls_input.c \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 583 | vnet/mpls/interface.c \ |
| 584 | vnet/mpls/mpls_tunnel.c \ |
Pavel Kotucek | 0f971d8 | 2017-01-03 10:48:54 +0100 | [diff] [blame] | 585 | vnet/mpls/pg.c \ |
| 586 | vnet/mpls/mpls_api.c |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 587 | |
| 588 | nobase_include_HEADERS += \ |
| 589 | vnet/mpls/mpls.h \ |
| 590 | vnet/mpls/mpls_types.h \ |
| 591 | vnet/mpls/mpls_tunnel.h \ |
| 592 | vnet/mpls/packet.h \ |
Pavel Kotucek | 0f971d8 | 2017-01-03 10:48:54 +0100 | [diff] [blame] | 593 | vnet/mpls/error.def \ |
| 594 | vnet/mpls/mpls.api.h |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 595 | |
Pavel Kotucek | 0f971d8 | 2017-01-03 10:48:54 +0100 | [diff] [blame] | 596 | API_FILES += vnet/mpls/mpls.api |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 597 | |
| 598 | ######################################## |
| 599 | # Tunnel protocol: vxlan-gpe |
| 600 | ######################################## |
| 601 | |
| 602 | libvnet_la_SOURCES += \ |
| 603 | vnet/vxlan-gpe/vxlan_gpe.c \ |
| 604 | vnet/vxlan-gpe/encap.c \ |
| 605 | vnet/vxlan-gpe/decap.c \ |
| 606 | vnet/vxlan-gpe/vxlan_gpe_api.c |
| 607 | |
| 608 | nobase_include_HEADERS += \ |
| 609 | vnet/vxlan-gpe/vxlan_gpe.h \ |
| 610 | vnet/vxlan-gpe/vxlan_gpe_packet.h \ |
| 611 | vnet/vxlan-gpe/vxlan_gpe_error.def \ |
| 612 | vnet/vxlan-gpe/vxlan_gpe.api.h |
| 613 | |
| 614 | API_FILES += vnet/vxlan-gpe/vxlan_gpe.api |
| 615 | |
| 616 | ######################################## |
| 617 | # Tunnel protocol: ipsec+gre |
| 618 | ######################################## |
| 619 | libvnet_la_SOURCES += \ |
| 620 | vnet/ipsec-gre/ipsec_gre.c \ |
| 621 | vnet/ipsec-gre/node.c \ |
| 622 | vnet/ipsec-gre/interface.c \ |
| 623 | vnet/ipsec-gre/ipsec_gre_api.c |
| 624 | |
| 625 | nobase_include_HEADERS += \ |
| 626 | vnet/ipsec-gre/ipsec_gre.h \ |
| 627 | vnet/ipsec-gre/error.def \ |
| 628 | vnet/ipsec-gre/ipsec_gre.api.h |
| 629 | |
| 630 | API_FILES += vnet/ipsec-gre/ipsec_gre.api |
| 631 | |
| 632 | ######################################## |
| 633 | # LISP control plane: lisp-cp |
| 634 | ######################################## |
| 635 | |
| 636 | libvnet_la_SOURCES += \ |
| 637 | vnet/lisp-cp/lisp_types.c \ |
| 638 | vnet/lisp-cp/lisp_cp_dpo.c \ |
| 639 | vnet/lisp-cp/control.c \ |
| 640 | vnet/lisp-cp/gid_dictionary.c \ |
| 641 | vnet/lisp-cp/lisp_msg_serdes.c \ |
| 642 | vnet/lisp-cp/packets.c \ |
Filip Tehlar | 694396d | 2017-02-17 14:29:11 +0100 | [diff] [blame] | 643 | vnet/lisp-cp/one_cli.c \ |
Florin Coras | f3dc11a | 2017-01-24 03:13:43 -0800 | [diff] [blame] | 644 | vnet/lisp-cp/lisp_cli.c \ |
Filip Tehlar | 694396d | 2017-02-17 14:29:11 +0100 | [diff] [blame] | 645 | vnet/lisp-cp/one_api.c \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 646 | vnet/lisp-cp/lisp_api.c |
| 647 | |
| 648 | nobase_include_HEADERS += \ |
| 649 | vnet/lisp-cp/lisp_types.h \ |
| 650 | vnet/lisp-cp/packets.h \ |
| 651 | vnet/lisp-cp/gid_dictionary.h \ |
| 652 | vnet/lisp-cp/lisp_cp_messages.h \ |
| 653 | vnet/lisp-cp/lisp_msg_serdes.h \ |
| 654 | vnet/lisp-cp/control.h \ |
Filip Tehlar | 694396d | 2017-02-17 14:29:11 +0100 | [diff] [blame] | 655 | vnet/lisp-cp/one.api.h \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 656 | vnet/lisp-cp/lisp.api.h |
| 657 | |
| 658 | API_FILES += vnet/lisp-cp/lisp.api |
Filip Tehlar | 694396d | 2017-02-17 14:29:11 +0100 | [diff] [blame] | 659 | API_FILES += vnet/lisp-cp/one.api |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 660 | |
| 661 | if ENABLE_TESTS |
| 662 | LDS = \ |
| 663 | libvppinfra.la \ |
| 664 | libvnet.la \ |
| 665 | libvlib.la \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 666 | libsvm.la \ |
| 667 | libsvmdb.la \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 668 | libvlibmemory.la \ |
Damjan Marion | c74a86a | 2017-01-16 14:00:03 +0100 | [diff] [blame] | 669 | -lpthread -ldl -lrt -lm |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 670 | |
| 671 | TESTS += test_cp_serdes test_lisp_types |
| 672 | |
| 673 | test_cp_serdes_SOURCES = \ |
| 674 | tests/vnet/lisp-cp/test_cp_serdes.c \ |
| 675 | vnet/lisp-cp/lisp_msg_serdes.c \ |
| 676 | vnet/lisp-cp/lisp_types.c \ |
| 677 | vnet/lisp-cp/packets.c \ |
| 678 | vnet/ip/ip_checksum.c |
| 679 | |
| 680 | test_lisp_types_SOURCES = \ |
| 681 | tests/vnet/lisp-cp/test_lisp_types.c \ |
| 682 | vnet/lisp-cp/lisp_types.c |
| 683 | |
| 684 | test_cp_serdes_CPPFLAGS = $(AM_CPPFLAGS) -DCLIB_DEBUG |
| 685 | test_lisp_types_CPPFLAGS = $(AM_CPPFLAGS) -DCLIB_DEBUG |
| 686 | |
Damjan Marion | c74a86a | 2017-01-16 14:00:03 +0100 | [diff] [blame] | 687 | test_cp_serdes_LDADD = $(LDS) |
| 688 | test_lisp_types_LDADD = $(LDS) |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 689 | endif |
| 690 | |
| 691 | ######################################## |
| 692 | # Tunnel protocol: lisp-gpe |
| 693 | ######################################## |
| 694 | |
| 695 | libvnet_la_SOURCES += \ |
| 696 | vnet/lisp-gpe/lisp_gpe.c \ |
| 697 | vnet/lisp-gpe/lisp_gpe_sub_interface.c \ |
| 698 | vnet/lisp-gpe/lisp_gpe_adjacency.c \ |
| 699 | vnet/lisp-gpe/lisp_gpe_tunnel.c \ |
| 700 | vnet/lisp-gpe/lisp_gpe_fwd_entry.c \ |
| 701 | vnet/lisp-gpe/lisp_gpe_tenant.c \ |
| 702 | vnet/lisp-gpe/interface.c \ |
| 703 | vnet/lisp-gpe/decap.c \ |
| 704 | vnet/lisp-gpe/lisp_gpe_api.c |
| 705 | |
| 706 | nobase_include_HEADERS += \ |
| 707 | vnet/lisp-gpe/lisp_gpe.h \ |
| 708 | vnet/lisp-gpe/lisp_gpe_fwd_entry.h \ |
| 709 | vnet/lisp-gpe/lisp_gpe_tenant.h \ |
| 710 | vnet/lisp-gpe/lisp_gpe_packet.h \ |
| 711 | vnet/lisp-gpe/lisp_gpe_error.def \ |
| 712 | vnet/lisp-gpe/lisp_gpe.api.h |
| 713 | |
| 714 | API_FILES += vnet/lisp-gpe/lisp_gpe.api |
| 715 | |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 716 | ######################################## |
| 717 | # DHCP client |
| 718 | ######################################## |
| 719 | libvnet_la_SOURCES += \ |
| 720 | vnet/dhcp/client.c \ |
Pavel Kotucek | c8d8770 | 2017-01-25 07:25:32 +0100 | [diff] [blame] | 721 | vnet/dhcp/client.h \ |
| 722 | vnet/dhcp/dhcp_api.c |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 723 | |
| 724 | nobase_include_HEADERS += \ |
Neale Ranns | 2dd6852 | 2017-02-16 03:38:59 -0800 | [diff] [blame] | 725 | vnet/dhcp/client.h \ |
Pavel Kotucek | c8d8770 | 2017-01-25 07:25:32 +0100 | [diff] [blame] | 726 | vnet/dhcp/dhcp.api.h |
| 727 | |
| 728 | API_FILES += vnet/dhcp/dhcp.api |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 729 | |
| 730 | ######################################## |
| 731 | # DHCP proxy |
| 732 | ######################################## |
| 733 | libvnet_la_SOURCES += \ |
Neale Ranns | 2dd6852 | 2017-02-16 03:38:59 -0800 | [diff] [blame] | 734 | vnet/dhcp/dhcp6_proxy_node.c \ |
| 735 | vnet/dhcp/dhcp4_proxy_node.c \ |
| 736 | vnet/dhcp/dhcp_proxy.c |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 737 | |
| 738 | nobase_include_HEADERS += \ |
Neale Ranns | 2dd6852 | 2017-02-16 03:38:59 -0800 | [diff] [blame] | 739 | vnet/dhcp/dhcp4_packet.h \ |
| 740 | vnet/dhcp/dhcp6_packet.h \ |
| 741 | vnet/dhcp/dhcp_proxy.h \ |
| 742 | vnet/dhcp/dhcp6_proxy_error.def \ |
| 743 | vnet/dhcp/dhcp4_proxy_error.def |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 744 | |
| 745 | ######################################## |
| 746 | # ipv6 segment routing |
| 747 | ######################################## |
| 748 | |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 749 | libvnet_la_SOURCES += \ |
Pablo Camarillo | 5d73eec | 2017-04-24 17:51:56 +0200 | [diff] [blame] | 750 | vnet/srv6/sr.c \ |
| 751 | vnet/srv6/sr_localsid.c \ |
| 752 | vnet/srv6/sr_policy_rewrite.c \ |
| 753 | vnet/srv6/sr_steering.c \ |
| 754 | vnet/srv6/sr_api.c |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 755 | |
| 756 | nobase_include_HEADERS += \ |
Pablo Camarillo | 5d73eec | 2017-04-24 17:51:56 +0200 | [diff] [blame] | 757 | vnet/srv6/sr_packet.h \ |
| 758 | vnet/srv6/sr.h \ |
| 759 | vnet/srv6/sr.api.h |
Pavel Kotucek | 0f971d8 | 2017-01-03 10:48:54 +0100 | [diff] [blame] | 760 | |
Pablo Camarillo | 5d73eec | 2017-04-24 17:51:56 +0200 | [diff] [blame] | 761 | API_FILES += vnet/srv6/sr.api |
| 762 | |
| 763 | ######################################## |
| 764 | # mpls segment routing |
| 765 | ######################################## |
| 766 | |
| 767 | libvnet_la_SOURCES += \ |
| 768 | vnet/srmpls/sr_mpls_policy.c \ |
| 769 | vnet/srmpls/sr_mpls_steering.c |
| 770 | |
| 771 | |
| 772 | nobase_include_HEADERS += \ |
| 773 | vnet/srmpls/sr.h |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 774 | |
| 775 | ######################################## |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 776 | # IPFIX / netflow v10 |
| 777 | ######################################## |
| 778 | libvnet_la_SOURCES += \ |
Pavel Kotucek | eb9e666 | 2017-01-24 13:40:26 +0100 | [diff] [blame] | 779 | vnet/flow/flow_report.c \ |
| 780 | vnet/flow/flow_api.c |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 781 | |
| 782 | nobase_include_HEADERS += \ |
| 783 | vnet/flow/flow_report.h \ |
| 784 | vnet/flow/ipfix_info_elements.h \ |
Pavel Kotucek | eb9e666 | 2017-01-24 13:40:26 +0100 | [diff] [blame] | 785 | vnet/flow/ipfix_packet.h \ |
| 786 | vnet/flow/flow.api.h |
| 787 | |
| 788 | API_FILES += vnet/flow/flow.api |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 789 | |
| 790 | ######################################## |
| 791 | # IPFIX classify code |
| 792 | ######################################## |
| 793 | |
| 794 | libvnet_la_SOURCES += \ |
| 795 | vnet/flow/flow_report_classify.c |
| 796 | |
| 797 | nobase_include_HEADERS += \ |
| 798 | vnet/flow/flow_report_classify.h |
| 799 | |
| 800 | ######################################## |
| 801 | # lawful intercept |
| 802 | ######################################## |
| 803 | |
| 804 | libvnet_la_SOURCES += \ |
| 805 | vnet/lawful-intercept/lawful_intercept.c \ |
| 806 | vnet/lawful-intercept/node.c |
| 807 | |
| 808 | nobase_include_HEADERS += \ |
| 809 | vnet/lawful-intercept/lawful_intercept.h |
| 810 | |
| 811 | ######################################## |
| 812 | # SPAN (port mirroring) |
| 813 | ######################################## |
| 814 | |
| 815 | libvnet_la_SOURCES += \ |
| 816 | vnet/span/span_api.c \ |
| 817 | vnet/span/span.c \ |
| 818 | vnet/span/node.c |
| 819 | |
| 820 | nobase_include_HEADERS += \ |
| 821 | vnet/span/span.api.h \ |
| 822 | vnet/span/span.h |
| 823 | |
| 824 | API_FILES += vnet/span/span.api |
| 825 | |
| 826 | ######################################## |
Dave Barach | 6545716 | 2017-10-10 17:53:14 -0400 | [diff] [blame] | 827 | # DNS proxy, API |
| 828 | ######################################## |
| 829 | libvnet_la_SOURCES += \ |
| 830 | vnet/dns/dns.c \ |
| 831 | vnet/dns/dns.h \ |
| 832 | vnet/dns/dns_packet.h \ |
| 833 | vnet/dns/reply_node.c \ |
Dave Barach | 9749450 | 2017-11-04 09:44:38 -0400 | [diff] [blame] | 834 | vnet/dns/request_node.c \ |
Dave Barach | 6545716 | 2017-10-10 17:53:14 -0400 | [diff] [blame] | 835 | vnet/dns/resolver_process.c |
| 836 | |
| 837 | nobase_include_HEADERS += \ |
| 838 | vnet/dns/dns.api.h \ |
| 839 | vnet/dns/dns.h |
| 840 | |
| 841 | API_FILES += vnet/dns/dns.api |
| 842 | |
| 843 | ######################################## |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 844 | # Packet generator |
| 845 | ######################################## |
| 846 | |
| 847 | libvnet_la_SOURCES += \ |
| 848 | vnet/pg/cli.c \ |
| 849 | vnet/pg/edit.c \ |
| 850 | vnet/pg/init.c \ |
| 851 | vnet/pg/input.c \ |
| 852 | vnet/pg/output.c \ |
Neale Ranns | b8d4481 | 2017-11-10 06:53:54 -0800 | [diff] [blame] | 853 | vnet/pg/stream.c \ |
| 854 | vnet/pg/pg_api.c |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 855 | |
| 856 | nobase_include_HEADERS += \ |
| 857 | vnet/pg/pg.h \ |
Neale Ranns | b8d4481 | 2017-11-10 06:53:54 -0800 | [diff] [blame] | 858 | vnet/pg/edit.h \ |
| 859 | vnet/pg/pg.api.h |
| 860 | |
| 861 | API_FILES += vnet/pg/pg.api |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 862 | |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 863 | ######################################## |
| 864 | # virtio |
| 865 | ######################################## |
| 866 | |
| 867 | libvnet_la_SOURCES += \ |
| 868 | vnet/devices/virtio/vhost-user.c \ |
| 869 | vnet/devices/virtio/vhost_user_api.c |
| 870 | |
| 871 | nobase_include_HEADERS += \ |
| 872 | vnet/devices/virtio/vhost-user.h \ |
| 873 | vnet/devices/virtio/vhost_user.api.h |
| 874 | |
| 875 | API_FILES += vnet/devices/virtio/vhost_user.api |
| 876 | |
| 877 | ######################################## |
| 878 | # ssvm ethernet |
| 879 | ######################################## |
| 880 | libvnet_la_SOURCES += \ |
| 881 | vnet/devices/ssvm/ssvm_eth.c \ |
| 882 | vnet/devices/ssvm/node.c |
| 883 | |
| 884 | nobase_include_HEADERS += \ |
| 885 | vnet/devices/ssvm/ssvm_eth.h |
| 886 | |
| 887 | ######################################## |
Dave Barach | 68b0fb0 | 2017-02-28 15:15:56 -0500 | [diff] [blame] | 888 | # session managmeent |
| 889 | ######################################## |
| 890 | |
| 891 | libvnet_la_SOURCES += \ |
| 892 | vnet/session/session.c \ |
Florin Coras | cea194d | 2017-10-02 00:18:51 -0700 | [diff] [blame] | 893 | vnet/session/session_table.c \ |
Florin Coras | 1c71045 | 2017-10-17 00:03:13 -0700 | [diff] [blame] | 894 | vnet/session/session_rules_table.c \ |
Florin Coras | 04e5344 | 2017-07-16 17:12:15 -0700 | [diff] [blame] | 895 | vnet/session/session_lookup.c \ |
| 896 | vnet/session/session_node.c \ |
Florin Coras | 3cbc04b | 2017-10-02 00:18:51 -0700 | [diff] [blame] | 897 | vnet/session/transport.c \ |
Dave Barach | 68b0fb0 | 2017-02-28 15:15:56 -0500 | [diff] [blame] | 898 | vnet/session/application.c \ |
| 899 | vnet/session/session_cli.c \ |
Dave Barach | 68b0fb0 | 2017-02-28 15:15:56 -0500 | [diff] [blame] | 900 | vnet/session/application_interface.c \ |
Florin Coras | cea194d | 2017-10-02 00:18:51 -0700 | [diff] [blame] | 901 | vnet/session/application_namespace.c \ |
Florin Coras | 6cf30ad | 2017-04-04 23:08:23 -0700 | [diff] [blame] | 902 | vnet/session/segment_manager.c \ |
Florin Coras | cea194d | 2017-10-02 00:18:51 -0700 | [diff] [blame] | 903 | vnet/session/session_test.c \ |
Dave Barach | 68b0fb0 | 2017-02-28 15:15:56 -0500 | [diff] [blame] | 904 | vnet/session/session_api.c |
| 905 | |
| 906 | nobase_include_HEADERS += \ |
| 907 | vnet/session/session.h \ |
Florin Coras | cea194d | 2017-10-02 00:18:51 -0700 | [diff] [blame] | 908 | vnet/session/session_table.h \ |
Florin Coras | 1c71045 | 2017-10-17 00:03:13 -0700 | [diff] [blame] | 909 | vnet/session/session_rules_table.h \ |
Florin Coras | 04e5344 | 2017-07-16 17:12:15 -0700 | [diff] [blame] | 910 | vnet/session/stream_session.h \ |
| 911 | vnet/session/session_lookup.h \ |
Dave Barach | 68b0fb0 | 2017-02-28 15:15:56 -0500 | [diff] [blame] | 912 | vnet/session/application.h \ |
| 913 | vnet/session/transport.h \ |
Florin Coras | 04e5344 | 2017-07-16 17:12:15 -0700 | [diff] [blame] | 914 | vnet/session/transport_interface.h \ |
Alexander Popovsky (apopovsk) | 6f6f52a | 2017-03-03 16:06:26 -0800 | [diff] [blame] | 915 | vnet/session/application_interface.h \ |
Florin Coras | cea194d | 2017-10-02 00:18:51 -0700 | [diff] [blame] | 916 | vnet/session/application_namespace.h \ |
Florin Coras | e69f495 | 2017-03-07 10:06:24 -0800 | [diff] [blame] | 917 | vnet/session/session_debug.h \ |
Florin Coras | 6cf30ad | 2017-04-04 23:08:23 -0700 | [diff] [blame] | 918 | vnet/session/segment_manager.h \ |
Florin Coras | 1c71045 | 2017-10-17 00:03:13 -0700 | [diff] [blame] | 919 | vnet/session/mma_template.h \ |
| 920 | vnet/session/mma_template.c \ |
| 921 | vnet/session/mma_16.h \ |
| 922 | vnet/session/mma_40.h \ |
Alexander Popovsky (apopovsk) | 6f6f52a | 2017-03-03 16:06:26 -0800 | [diff] [blame] | 923 | vnet/session/session.api.h |
Dave Barach | 68b0fb0 | 2017-02-28 15:15:56 -0500 | [diff] [blame] | 924 | |
| 925 | API_FILES += vnet/session/session.api |
| 926 | |
| 927 | ######################################## |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 928 | # Linux packet interface |
| 929 | ######################################## |
| 930 | |
| 931 | libvnet_la_SOURCES += \ |
| 932 | vnet/devices/af_packet/af_packet.c \ |
| 933 | vnet/devices/af_packet/device.c \ |
| 934 | vnet/devices/af_packet/node.c \ |
| 935 | vnet/devices/af_packet/cli.c \ |
| 936 | vnet/devices/af_packet/af_packet_api.c |
| 937 | |
| 938 | nobase_include_HEADERS += \ |
| 939 | vnet/devices/af_packet/af_packet.h \ |
| 940 | vnet/devices/af_packet/af_packet.api.h |
| 941 | |
| 942 | API_FILES += vnet/devices/af_packet/af_packet.api |
| 943 | |
| 944 | ######################################## |
| 945 | # NETMAP interface |
| 946 | ######################################## |
| 947 | |
| 948 | libvnet_la_SOURCES += \ |
| 949 | vnet/devices/netmap/netmap.c \ |
| 950 | vnet/devices/netmap/device.c \ |
| 951 | vnet/devices/netmap/node.c \ |
| 952 | vnet/devices/netmap/cli.c \ |
| 953 | vnet/devices/netmap/netmap_api.c |
| 954 | |
| 955 | nobase_include_HEADERS += \ |
| 956 | vnet/devices/netmap/netmap.h \ |
| 957 | vnet/devices/netmap/netmap.api.h |
| 958 | |
| 959 | API_FILES += vnet/devices/netmap/netmap.api |
| 960 | |
| 961 | ######################################## |
| 962 | # Driver feature graph arc support |
| 963 | ######################################## |
| 964 | |
| 965 | libvnet_la_SOURCES += \ |
| 966 | vnet/feature/feature.c \ |
Neale Ranns | b8d4481 | 2017-11-10 06:53:54 -0800 | [diff] [blame] | 967 | vnet/feature/feature_api.c \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 968 | vnet/feature/registration.c |
| 969 | |
| 970 | nobase_include_HEADERS += \ |
Neale Ranns | b8d4481 | 2017-11-10 06:53:54 -0800 | [diff] [blame] | 971 | vnet/feature/feature.h \ |
| 972 | vnet/feature/feature.api.h |
| 973 | |
| 974 | API_FILES += vnet/feature/feature.api |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 975 | |
| 976 | ######################################## |
| 977 | # Unix kernel related |
| 978 | ######################################## |
| 979 | |
| 980 | # FIXME: vnet/unix/hgshm.c |
| 981 | |
| 982 | libvnet_la_SOURCES += \ |
| 983 | vnet/unix/gdb_funcs.c \ |
| 984 | vnet/unix/pcap.c \ |
| 985 | vnet/unix/tap_api.c \ |
| 986 | vnet/unix/tapcli.c \ |
| 987 | vnet/unix/tuntap.c |
| 988 | |
| 989 | nobase_include_HEADERS += \ |
| 990 | vnet/unix/pcap.h \ |
| 991 | vnet/unix/tuntap.h \ |
| 992 | vnet/unix/tap.api.h \ |
| 993 | vnet/unix/tapcli.h |
| 994 | |
| 995 | API_FILES += vnet/unix/tap.api |
| 996 | |
| 997 | ######################################## |
| 998 | # FIB |
| 999 | ######################################## |
| 1000 | |
| 1001 | libvnet_la_SOURCES += \ |
| 1002 | vnet/fib/fib.c \ |
| 1003 | vnet/fib/fib_test.c \ |
| 1004 | vnet/fib/ip4_fib.c \ |
| 1005 | vnet/fib/ip6_fib.c \ |
| 1006 | vnet/fib/mpls_fib.c \ |
| 1007 | vnet/fib/fib_table.c \ |
| 1008 | vnet/fib/fib_walk.c \ |
| 1009 | vnet/fib/fib_types.c \ |
| 1010 | vnet/fib/fib_node.c \ |
| 1011 | vnet/fib/fib_node_list.c \ |
| 1012 | vnet/fib/fib_entry.c \ |
| 1013 | vnet/fib/fib_entry_src.c \ |
| 1014 | vnet/fib/fib_entry_src_rr.c \ |
| 1015 | vnet/fib/fib_entry_src_interface.c \ |
| 1016 | vnet/fib/fib_entry_src_default_route.c \ |
| 1017 | vnet/fib/fib_entry_src_special.c \ |
| 1018 | vnet/fib/fib_entry_src_api.c \ |
| 1019 | vnet/fib/fib_entry_src_adj.c \ |
| 1020 | vnet/fib/fib_entry_src_mpls.c \ |
| 1021 | vnet/fib/fib_entry_src_lisp.c \ |
| 1022 | vnet/fib/fib_entry_cover.c \ |
| 1023 | vnet/fib/fib_entry_delegate.c \ |
| 1024 | vnet/fib/fib_path_list.c \ |
| 1025 | vnet/fib/fib_path.c \ |
| 1026 | vnet/fib/fib_path_ext.c \ |
| 1027 | vnet/fib/fib_urpf_list.c \ |
Neale Ranns | 88fc83e | 2017-04-05 08:11:14 -0700 | [diff] [blame] | 1028 | vnet/fib/fib_attached_export.c \ |
| 1029 | vnet/fib/fib_bfd.c |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 1030 | |
| 1031 | nobase_include_HEADERS += \ |
| 1032 | vnet/fib/fib.h \ |
| 1033 | vnet/fib/fib_api.h \ |
| 1034 | vnet/fib/ip4_fib.h \ |
| 1035 | vnet/fib/ip6_fib.h \ |
| 1036 | vnet/fib/fib_types.h \ |
| 1037 | vnet/fib/fib_table.h \ |
| 1038 | vnet/fib/fib_node.h \ |
| 1039 | vnet/fib/fib_node_list.h \ |
| 1040 | vnet/fib/fib_entry.h \ |
| 1041 | vnet/fib/fib_entry_delegate.h |
| 1042 | |
| 1043 | ######################################## |
| 1044 | # ADJ |
| 1045 | ######################################## |
| 1046 | |
| 1047 | libvnet_la_SOURCES += \ |
| 1048 | vnet/adj/adj_nbr.c \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 1049 | vnet/adj/adj_glean.c \ |
| 1050 | vnet/adj/adj_midchain.c \ |
Neale Ranns | 32e1c01 | 2016-11-22 17:07:28 +0000 | [diff] [blame] | 1051 | vnet/adj/adj_mcast.c \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 1052 | vnet/adj/adj_l2.c \ |
Florin Coras | ce1b4c7 | 2017-01-26 14:25:34 -0800 | [diff] [blame] | 1053 | vnet/adj/adj_nsh.c \ |
Neale Ranns | fa5d198 | 2017-02-20 14:19:51 -0800 | [diff] [blame] | 1054 | vnet/adj/adj.c \ |
Neale Ranns | 88fc83e | 2017-04-05 08:11:14 -0700 | [diff] [blame] | 1055 | vnet/adj/rewrite.c \ |
| 1056 | vnet/adj/adj_bfd.c \ |
| 1057 | vnet/adj/adj_delegate.c |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 1058 | |
| 1059 | nobase_include_HEADERS += \ |
| 1060 | vnet/adj/adj.h \ |
| 1061 | vnet/adj/adj_types.h \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 1062 | vnet/adj/adj_glean.h \ |
Florin Coras | ce1b4c7 | 2017-01-26 14:25:34 -0800 | [diff] [blame] | 1063 | vnet/adj/adj_nsh.h \ |
Neale Ranns | fa5d198 | 2017-02-20 14:19:51 -0800 | [diff] [blame] | 1064 | vnet/adj/adj_nbr.h \ |
| 1065 | vnet/adj/rewrite.h |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 1066 | |
| 1067 | ######################################## |
| 1068 | # Data-Plane Objects |
| 1069 | ######################################## |
| 1070 | |
| 1071 | libvnet_la_SOURCES += \ |
| 1072 | vnet/dpo/dpo.c \ |
| 1073 | vnet/dpo/drop_dpo.c \ |
| 1074 | vnet/dpo/ip_null_dpo.c \ |
| 1075 | vnet/dpo/punt_dpo.c \ |
| 1076 | vnet/dpo/receive_dpo.c \ |
| 1077 | vnet/dpo/load_balance.c \ |
| 1078 | vnet/dpo/load_balance_map.c \ |
Neale Ranns | 32e1c01 | 2016-11-22 17:07:28 +0000 | [diff] [blame] | 1079 | vnet/dpo/lookup_dpo.c \ |
| 1080 | vnet/dpo/classify_dpo.c \ |
| 1081 | vnet/dpo/replicate_dpo.c \ |
Neale Ranns | 43161a8 | 2017-08-12 02:12:00 -0700 | [diff] [blame] | 1082 | vnet/dpo/interface_rx_dpo.c \ |
| 1083 | vnet/dpo/interface_tx_dpo.c \ |
Neale Ranns | 0f26c5a | 2017-03-01 15:12:11 -0800 | [diff] [blame] | 1084 | vnet/dpo/mpls_disposition.c \ |
Neale Ranns | 6f63115 | 2017-10-03 08:20:21 -0700 | [diff] [blame] | 1085 | vnet/dpo/mpls_label_dpo.c \ |
Andrew Yourtchenko | 5f3fcb9 | 2017-10-25 05:50:37 -0700 | [diff] [blame] | 1086 | vnet/dpo/l3_proxy_dpo.c \ |
Neale Ranns | 6f63115 | 2017-10-03 08:20:21 -0700 | [diff] [blame] | 1087 | vnet/dpo/l2_bridge_dpo.c |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 1088 | |
| 1089 | nobase_include_HEADERS += \ |
| 1090 | vnet/dpo/load_balance.h \ |
| 1091 | vnet/dpo/drop_dpo.h \ |
| 1092 | vnet/dpo/lookup_dpo.h \ |
| 1093 | vnet/dpo/punt_dpo.h \ |
| 1094 | vnet/dpo/classify_dpo.h \ |
| 1095 | vnet/dpo/receive_dpo.h \ |
| 1096 | vnet/dpo/ip_null_dpo.h \ |
Neale Ranns | 60c1c7c | 2017-11-02 07:39:24 -0700 | [diff] [blame] | 1097 | vnet/dpo/replicate_dpo.h \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 1098 | vnet/dpo/dpo.h |
| 1099 | |
| 1100 | ######################################## |
Neale Ranns | 32e1c01 | 2016-11-22 17:07:28 +0000 | [diff] [blame] | 1101 | # Multicast FIB |
| 1102 | ######################################## |
| 1103 | |
| 1104 | libvnet_la_SOURCES += \ |
| 1105 | vnet/mfib/mfib_test.c \ |
| 1106 | vnet/mfib/mfib_forward.c \ |
| 1107 | vnet/mfib/ip4_mfib.c \ |
| 1108 | vnet/mfib/ip6_mfib.c \ |
| 1109 | vnet/mfib/mfib_types.c \ |
| 1110 | vnet/mfib/mfib_signal.c \ |
| 1111 | vnet/mfib/mfib_itf.c \ |
| 1112 | vnet/mfib/mfib_entry.c \ |
| 1113 | vnet/mfib/mfib_table.c |
| 1114 | |
| 1115 | nobase_include_HEADERS += \ |
| 1116 | vnet/mfib/ip4_mfib.h \ |
| 1117 | vnet/mfib/mfib_types.h \ |
| 1118 | vnet/mfib/mfib_table.h |
| 1119 | |
| 1120 | ######################################## |
| 1121 | # Utilities |
| 1122 | ######################################## |
| 1123 | |
| 1124 | libvnet_la_SOURCES += \ |
Dave Barach | 7bee773 | 2017-10-18 18:48:11 -0400 | [diff] [blame] | 1125 | vnet/util/radix.c \ |
| 1126 | vnet/util/trajectory.c |
Neale Ranns | 32e1c01 | 2016-11-22 17:07:28 +0000 | [diff] [blame] | 1127 | |
| 1128 | ######################################## |
Neale Ranns | d792d9c | 2017-10-21 10:53:20 -0700 | [diff] [blame] | 1129 | # BIER |
| 1130 | ######################################## |
| 1131 | |
| 1132 | libvnet_la_SOURCES += \ |
| 1133 | vnet/bier/bier_bit_string.c \ |
| 1134 | vnet/bier/bier_entry.c \ |
| 1135 | vnet/bier/bier_fmask.c \ |
| 1136 | vnet/bier/bier_fmask_db.c \ |
| 1137 | vnet/bier/bier_input.c \ |
| 1138 | vnet/bier/bier_lookup.c \ |
| 1139 | vnet/bier/bier_output.c \ |
| 1140 | vnet/bier/bier_table.c \ |
| 1141 | vnet/bier/bier_types.c \ |
| 1142 | vnet/bier/bier_test.c \ |
| 1143 | vnet/bier/bier_api.c \ |
| 1144 | vnet/bier/bier_drop.c \ |
| 1145 | vnet/bier/bier_update.c \ |
| 1146 | vnet/bier/bier_imp_node.c \ |
| 1147 | vnet/bier/bier_imp.c \ |
| 1148 | vnet/bier/bier_disp_entry.c \ |
| 1149 | vnet/bier/bier_disp_lookup_node.c \ |
| 1150 | vnet/bier/bier_disp_dispatch_node.c \ |
| 1151 | vnet/bier/bier_disp_table.c |
| 1152 | |
| 1153 | nobase_include_HEADERS += \ |
| 1154 | vnet/bier/bier_types.h \ |
| 1155 | vnet/bier/bier_entry.h \ |
| 1156 | vnet/bier/bier_update.h \ |
| 1157 | vnet/bier/bier.api.h \ |
| 1158 | vnet/bier/bier_table.h |
| 1159 | |
| 1160 | API_FILES += vnet/bier/bier.api |
| 1161 | |
| 1162 | ######################################## |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 1163 | # Plugin client library |
| 1164 | ######################################## |
| 1165 | |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 1166 | nobase_include_HEADERS += \ |
| 1167 | vnet/plugin/plugin.h |
| 1168 | |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 1169 | pcap2pg_SOURCES = \ |
| 1170 | vnet/unix/pcap2pg.c \ |
| 1171 | vnet/unix/pcap.h |
| 1172 | |
| 1173 | pcap2pg_LDFLAGS = -static |
| 1174 | pcap2pg_LDADD = libvnet.la libvppinfra.la -lpthread libvlibmemory.la -lm -ldl |
| 1175 | |
| 1176 | noinst_PROGRAMS += pcap2pg |
| 1177 | |
| 1178 | # vi:syntax=automake |