|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
22 const route::itf_flags_t&
31 vapi_enum_mfib_itf_flags
50 payload.sw_if_index = ~0;
58 payload.table_id = p.
rd()->table_id();
61 payload.sw_if_index = p.
itf()->handle().value();
73 payload.weight = p.
weight();
86 std::to_string(p.sw_if_index));
89 p.weight, p.preference));
101 std::to_string(p.table_id));
129 return static_cast<vapi_enum_ip_dscp
>((int)d);
const static ip_dscp_t DSCP_CS2
@ MFIB_API_ITF_FLAG_FORWARD
const static special_t PROHIBIT
a path will return ICMP prohibit
enum ip_dscp_t_ ip_dscp_t
The VPP Object Model (VOM) library.
const static ip_dscp_t DSCP_CS4
const boost::asio::ip::address & nh() const
std::shared_ptr< route_domain > rd() const
const static ip_dscp_t DSCP_AF33
@ FIB_API_PATH_TYPE_CLASSIFY
const static itf_flags_t FORWARD
A local/for-us/recieve.
@ FIB_API_PATH_TYPE_ICMP_UNREACH
const static ip_dscp_t DSCP_AF21
const static ip_dscp_t DSCP_AF12
const static ip_dscp_t DSCP_AF43
const static ip_dscp_t DSCP_CS7
const static ip_dscp_t DSCP_AF23
uint8_t preference() const
const static ip_dscp_t DSCP_AF41
const static ip_dscp_t DSCP_CS3
const static ip_dscp_t DSCP_EF
special_t type() const
Getters.
manual_print typedef address
@ MFIB_API_ITF_FLAG_ACCEPT
const static ip_dscp_t DSCP_CS5
const static ip_dscp_t DSCP_AF22
const static ip_dscp_t DSCP_AF11
const static flags_t DVR
A path that resolves via a DVR next-hop.
const static special_t STANDARD
A standard path type.
const static itf_flags_t ACCEPT
Path is accepting multicast traffic.
const static special_t LOCAL
A local/for-us/recieve.
vapi_enum_ip_neighbor_flags to_api(const neighbour::flags_t &f)
const static special_t DROP
drop path
const static ip_dscp_t DSCP_AF32
@ FIB_API_PATH_TYPE_INTERFACE_RX
@ FIB_API_PATH_TYPE_UDP_ENCAP
@ FIB_API_PATH_TYPE_BIER_IMP
const static special_t UNREACH
a path will return ICMP unreachables
nh_proto_t nh_proto() const
@ FIB_API_PATH_TYPE_NORMAL
const static ip_dscp_t DSCP_CS0
@ FIB_API_PATH_TYPE_ICMP_PROHIBIT
@ FIB_API_PATH_TYPE_LOCAL
const static ip_dscp_t DSCP_AF42
A path for IP or MPLS routes.
std::shared_ptr< interface > itf() const
const static ip_dscp_t DSCP_CS6
const static ip_dscp_t DSCP_CS1
const static ip_dscp_t DSCP_AF31
const neighbour::flags_t from_api(vapi_enum_ip_neighbor_flags f)
@ FIB_API_PATH_TYPE_SOURCE_LOOKUP
const static ip_dscp_t DSCP_AF13
static std::shared_ptr< route_domain > find(const key_t &temp)
Find the instnace of the route domain in the OM.
static std::shared_ptr< interface > find(const handle_t &h)
The the singular instance of the interface in the DB by handle.