FD.io VPP  v19.08.3-2-gbabecb413
Vector Packet Processing
route_api_types.hpp
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2018 Cisco and/or its affiliates.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at:
6  *
7  * http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
16 #include <vom/route.hpp>
17 
18 #include <vapi/ip.api.vapi.hpp>
19 
20 namespace VOM {
21 
22 vapi_enum_mfib_itf_flags to_api(const route::itf_flags_t& flags);
23 const route::itf_flags_t& from_api(vapi_enum_mfib_itf_flags flags);
24 
25 void to_api(const route::path& p, vapi_type_fib_path& o);
26 
27 route::path from_api(const vapi_type_fib_path& p);
28 
29 vapi_enum_ip_dscp to_api(const ip_dscp_t& d);
30 const ip_dscp_t& from_api(vapi_enum_ip_dscp d);
31 
32 }; // namespace VOM
33 
34 /*
35  * fd.io coding-style-patch-verification: ON
36  *
37  * Local Variables:
38  * eval: (c-set-style "mozilla")
39  * End:
40  */
u32 flags
Definition: vhost_user.h:141
vapi_enum_ip_neighbor_flags to_api(const neighbour::flags_t &f)
Definition: api_types.cpp:21
enum ip_dscp_t_ ip_dscp_t
The VPP Object Model (VOM) library.
Definition: acl_binding.cpp:19
const neighbour::flags_t from_api(vapi_enum_ip_neighbor_flags f)
Definition: api_types.cpp:36