FD.io VPP
v21.10.1-2-g0a485f517
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: OFF
36
*
37
* Local Variables:
38
* eval: (c-set-style "mozilla")
39
* End:
40
*/
ip_dscp_t
enum ip_dscp_t_ ip_dscp_t
VOM
The VPP Object Model (VOM) library.
Definition:
acl_binding.cpp:19
path
vl_api_fib_path_t path
Definition:
mfib_types.api:44
route.hpp
VOM::to_api
vapi_enum_ip_neighbor_flags to_api(const neighbour::flags_t &f)
Definition:
api_types.cpp:21
VOM::from_api
const neighbour::flags_t from_api(vapi_enum_ip_neighbor_flags f)
Definition:
api_types.cpp:36
flags
vl_api_wireguard_peer_flags_t flags
Definition:
wireguard.api:105
extras
deprecated
vom
vom
route_api_types.hpp
Generated on Sat Jan 8 2022 10:34:47 for FD.io VPP by
1.8.17