diff options
Diffstat (limited to 'src/plugins/vrrp/vrrp_msg_enum.h')
-rw-r--r-- | src/plugins/vrrp/vrrp_msg_enum.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/plugins/vrrp/vrrp_msg_enum.h b/src/plugins/vrrp/vrrp_msg_enum.h new file mode 100644 index 00000000000..48ae619205a --- /dev/null +++ b/src/plugins/vrrp/vrrp_msg_enum.h @@ -0,0 +1,23 @@ + +/* + * vrrp_msg_enum.h - vrrp plug-in message enumeration + * + * Copyright 2019-2020 Rubicon Communications, LLC (Netgate) + * + * SPDX-License-Identifier: Apache-2.0 + * + */ +#ifndef included_vrrp_msg_enum_h +#define included_vrrp_msg_enum_h + +#include <vppinfra/byte_order.h> + +#define vl_msg_id(n,h) n, +typedef enum { +#include <vrrp/vrrp_all_api_h.h> + /* We'll want to know how many messages IDs we need... */ + VL_MSG_FIRST_AVAILABLE, +} vl_msg_id_t; +#undef vl_msg_id + +#endif /* included_vrrp_msg_enum_h */ |