# Generic stuff
########################################
libvnet_la_SOURCES += \
+ vnet/buffer.c \
vnet/config.c \
vnet/devices/devices.c \
+ vnet/devices/netlink.c \
vnet/handoff.c \
vnet/interface.c \
vnet/interface_api.c \
vnet/buffer.h \
vnet/config.h \
vnet/devices/devices.h \
+ vnet/devices/netlink.h \
vnet/global_funcs.h \
vnet/handoff.h \
vnet/interface.h \
vnet/vnet.h \
vnet/vnet_all_api_h.h \
vnet/vnet_msg_enum.h \
- vnet/util/radix.h
+ vnet/util/radix.h \
+ vnet/util/refcount.h
API_FILES += vnet/interface.api
vnet/ipsec/esp_format.c \
vnet/ipsec/esp_encrypt.c \
vnet/ipsec/esp_decrypt.c \
+ vnet/ipsec/ah_decrypt.c \
+ vnet/ipsec/ah_encrypt.c \
vnet/ipsec/ikev2.c \
vnet/ipsec/ikev2_crypto.c \
vnet/ipsec/ikev2_cli.c \
nobase_include_HEADERS += \
vnet/ipsec/ipsec.h \
vnet/ipsec/esp.h \
+ vnet/ipsec/ah.h \
vnet/ipsec/ikev2.h \
vnet/ipsec/ikev2_priv.h \
vnet/ipsec/ipsec.api.h
# virtio
########################################
-libvnet_la_SOURCES += \
- vnet/devices/virtio/vhost-user.c \
- vnet/devices/virtio/vhost_user_api.c
+libvnet_la_SOURCES += \
+ vnet/devices/virtio/device.c \
+ vnet/devices/virtio/node.c \
+ vnet/devices/virtio/vhost-user.c \
+ vnet/devices/virtio/vhost_user_api.c \
+ vnet/devices/virtio/virtio.c
+
-nobase_include_HEADERS += \
- vnet/devices/virtio/vhost-user.h \
+nobase_include_HEADERS += \
+ vnet/devices/virtio/virtio.h \
+ vnet/devices/virtio/vhost-user.h \
vnet/devices/virtio/vhost_user.api.h
API_FILES += vnet/devices/virtio/vhost_user.api
+########################################
+# tap interface (with virtio backend)
+########################################
+
+libvnet_la_SOURCES += \
+ vnet/devices/tap/cli.c \
+ vnet/devices/tap/tap.c \
+ vnet/devices/tap/tapv2_api.c
+
+nobase_include_HEADERS += \
+ vnet/devices/tap/tap.h \
+ vnet/devices/tap/tapv2.api.h
+
+API_FILES += vnet/devices/tap/tapv2.api
+
########################################
# ssvm ethernet
########################################
########################################
libvnet_la_SOURCES += \
- vnet/util/radix.c \
+ vnet/util/radix.c \
+ vnet/util/refcount.c \
vnet/util/trajectory.c
########################################