FD.io VPP
v17.04-9-g99c0734
Vector Packet Processing
|
Go to the source code of this file.
Functions | |
u8 * | format_fib_protocol (u8 *s, va_list ap) |
u8 * | format_vnet_link (u8 *s, va_list ap) |
u8 * | format_fib_forw_chain_type (u8 *s, va_list *args) |
void | fib_prefix_from_ip46_addr (const ip46_address_t *addr, fib_prefix_t *pfx) |
Host prefix from ip. More... | |
void | fib_prefix_from_mpls_label (mpls_label_t label, fib_prefix_t *pfx) |
Big train switch; FIB debugs on or off. More... | |
int | fib_prefix_cmp (const fib_prefix_t *p1, const fib_prefix_t *p2) |
Compare two prefixes for equality. More... | |
int | fib_prefix_is_cover (const fib_prefix_t *p1, const fib_prefix_t *p2) |
Compare two prefixes for covering relationship. More... | |
int | fib_prefix_is_host (const fib_prefix_t *prefix) |
Return true is the prefix is a host prefix. More... | |
u8 * | format_fib_prefix (u8 *s, va_list *args) |
int | fib_route_path_cmp (const fib_route_path_t *rpath1, const fib_route_path_t *rpath2) |
dpo_proto_t | fib_proto_to_dpo (fib_protocol_t fib_proto) |
fib_protocol_t | dpo_proto_to_fib (dpo_proto_t dpo_proto) |
vnet_link_t | fib_proto_to_link (fib_protocol_t proto) |
Convert from a protocol to a link type. More... | |
fib_forward_chain_type_t | fib_forw_chain_type_from_dpo_proto (dpo_proto_t proto) |
Convert from a payload-protocol to a chain type. More... | |
vnet_link_t | fib_forw_chain_type_to_link_type (fib_forward_chain_type_t fct) |
Convert from a chain type to the adjacencies link type. More... | |
dpo_proto_t | fib_forw_chain_type_to_dpo_proto (fib_forward_chain_type_t fct) |
Convert from a chain type to the DPO proto it will install. More... | |
Variables | |
static const char * | fib_protocol_names [] = FIB_PROTOCOLS |
static const char * | vnet_link_names [] = VNET_LINKS |
static const char * | fib_forw_chain_names [] = FIB_FORW_CHAINS |
fib_protocol_t dpo_proto_to_fib | ( | dpo_proto_t | dpo_proto | ) |
fib_forward_chain_type_t fib_forw_chain_type_from_dpo_proto | ( | dpo_proto_t | proto | ) |
Convert from a payload-protocol to a chain type.
Definition at line 270 of file fib_types.c.
dpo_proto_t fib_forw_chain_type_to_dpo_proto | ( | fib_forward_chain_type_t | fct | ) |
Convert from a chain type to the DPO proto it will install.
Definition at line 317 of file fib_types.c.
vnet_link_t fib_forw_chain_type_to_link_type | ( | fib_forward_chain_type_t | fct | ) |
Convert from a chain type to the adjacencies link type.
Definition at line 290 of file fib_types.c.
int fib_prefix_cmp | ( | const fib_prefix_t * | p1, |
const fib_prefix_t * | p2 | ||
) |
Compare two prefixes for equality.
Definition at line 78 of file fib_types.c.
void fib_prefix_from_ip46_addr | ( | const ip46_address_t * | addr, |
fib_prefix_t * | pfx | ||
) |
Host prefix from ip.
Definition at line 54 of file fib_types.c.
void fib_prefix_from_mpls_label | ( | mpls_label_t | label, |
fib_prefix_t * | pfx | ||
) |
Big train switch; FIB debugs on or off.
Definition at line 68 of file fib_types.c.
int fib_prefix_is_cover | ( | const fib_prefix_t * | p1, |
const fib_prefix_t * | p2 | ||
) |
Compare two prefixes for covering relationship.
Definition at line 113 of file fib_types.c.
int fib_prefix_is_host | ( | const fib_prefix_t * | prefix | ) |
Return true is the prefix is a host prefix.
Definition at line 135 of file fib_types.c.
dpo_proto_t fib_proto_to_dpo | ( | fib_protocol_t | fib_proto | ) |
vnet_link_t fib_proto_to_link | ( | fib_protocol_t | proto | ) |
Convert from a protocol to a link type.
Definition at line 254 of file fib_types.c.
int fib_route_path_cmp | ( | const fib_route_path_t * | rpath1, |
const fib_route_path_t * | rpath2 | ||
) |
Definition at line 187 of file fib_types.c.
Definition at line 46 of file fib_types.c.
Definition at line 150 of file fib_types.c.
Definition at line 30 of file fib_types.c.
Definition at line 38 of file fib_types.c.
|
static |
Definition at line 27 of file fib_types.c.
|
static |
Definition at line 25 of file fib_types.c.
|
static |
Definition at line 26 of file fib_types.c.