blob: cdc61a5bcf5562be78dd41424c0e485d7993d071 [file] [log] [blame]
Dave Barach371e4e12016-07-08 09:38:52 -04001/*
Ed Warnickecb9cada2015-12-08 15:45:58 -07002 *------------------------------------------------------------------
3 * vl_msg_enum.h - Our view of how to number API messages
4 * Clients have their own view, which has to agree with ours.
5 *
6 * Copyright (c) 2009 Cisco and/or its affiliates.
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at:
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 *------------------------------------------------------------------
19 */
20
21#ifndef __VL_MSG_ENUM_H__
22#define __VL_MSG_ENUM_H__
23
24#include <vppinfra/byte_order.h>
25
26#define vl_msg_id(n,h) n,
Dave Barach371e4e12016-07-08 09:38:52 -040027typedef enum
28{
29 VL_ILLEGAL_MESSAGE_ID = 0,
Ed Warnickecb9cada2015-12-08 15:45:58 -070030#include <vlibsocket/vl_socket_api_h.h>
31} vl_msg_id_t;
32#undef vl_msg_id
33
34#endif /* __VL_MSG_ENUM_H__ */
Dave Barach371e4e12016-07-08 09:38:52 -040035
36/*
37 * fd.io coding-style-patch-verification: ON
38 *
39 * Local Variables:
40 * eval: (c-set-style "gnu")
41 * End:
42 */