summaryrefslogtreecommitdiffstats
path: root/src/vnet/interface.h
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2023-07-28 13:02:00 +0200
committerFlorin Coras <florin.coras@gmail.com>2023-07-28 15:52:35 +0000
commit8797956bac13dba878250a2528794fdf6a8192bf (patch)
treea3474a0522a5fef060e17f10e8579ef1937223cc /src/vnet/interface.h
parent00ea98ad6050e7784da1153c4d8a9145bc481308 (diff)
vnet: add vnet_register_device_class function
To allow dynamic registration of device classes..." Change-Id: Ie8435e8c55b7e300be06abe97b653c0c3ce7f732 Type: improvement Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vnet/interface.h')
-rw-r--r--src/vnet/interface.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vnet/interface.h b/src/vnet/interface.h
index 8ba5c996e0d..f0cb540f979 100644
--- a/src/vnet/interface.h
+++ b/src/vnet/interface.h
@@ -292,6 +292,8 @@ typedef struct _vnet_device_class
} vnet_device_class_t;
+u32 vnet_register_device_class (vlib_main_t *, vnet_device_class_t *);
+
#ifndef CLIB_MARCH_VARIANT
#define VNET_DEVICE_CLASS(x,...) \
__VA_ARGS__ vnet_device_class_t x; \