![]() |
FD.io VPP
v18.10-32-g1161dda
Vector Packet Processing
|
Include dependency graph for interface.c:Go to the source code of this file.
Data Structures | |
| struct | vnet_sw_hw_interface_state_t |
Macros | |
| #define | VNET_INTERFACE_SET_FLAGS_HELPER_IS_CREATE (1 << 0) |
| #define | VNET_INTERFACE_SET_FLAGS_HELPER_WANT_REDISTRIBUTE (1 << 1) |
| #define | VNET_INTERFACE_SET_FLAGS_HELPER_IS_CREATE (1 << 0) |
| #define | VNET_INTERFACE_SET_FLAGS_HELPER_WANT_REDISTRIBUTE (1 << 1) |
Variables | |
| int | collect_detailed_interface_stats_flag = 0 |
| static vlib_cli_command_t | collect_detailed_interface_stats_command |
| (constructor) VLIB_CLI_COMMAND (collect_detailed_interface_stats_command) More... | |
| #define VNET_INTERFACE_SET_FLAGS_HELPER_IS_CREATE (1 << 0) |
Definition at line 258 of file interface.c.
| #define VNET_INTERFACE_SET_FLAGS_HELPER_IS_CREATE (1 << 0) |
Definition at line 258 of file interface.c.
| #define VNET_INTERFACE_SET_FLAGS_HELPER_WANT_REDISTRIBUTE (1 << 1) |
Definition at line 259 of file interface.c.
| #define VNET_INTERFACE_SET_FLAGS_HELPER_WANT_REDISTRIBUTE (1 << 1) |
Definition at line 259 of file interface.c.
|
static |
|
static |
Definition at line 223 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 251 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 598 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
| void collect_detailed_interface_stats_flag_clear | ( | void | ) |
| void collect_detailed_interface_stats_flag_set | ( | void | ) |
| u8* default_build_rewrite | ( | vnet_main_t * | vnm, |
| u32 | sw_if_index, | ||
| vnet_link_t | link_type, | ||
| const void * | dst_address | ||
| ) |
Return a complete, zero-length (aka dummy) rewrite.
Definition at line 1513 of file interface.c.
Here is the caller graph for this function:| void default_update_adjacency | ( | vnet_main_t * | vnm, |
| u32 | sw_if_index, | ||
| u32 | ai | ||
| ) |
Default adjacency update function.
Definition at line 1521 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
| void serialize_vnet_interface_state | ( | serialize_main_t * | m, |
| va_list * | va | ||
| ) |
Definition at line 106 of file interface.c.
|
static |
Definition at line 693 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 679 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 657 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 90 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void unserialize_vnet_interface_state | ( | serialize_main_t * | m, |
| va_list * | va | ||
| ) |
| clib_error_t* vnet_create_sw_interface | ( | vnet_main_t * | vnm, |
| vnet_sw_interface_t * | template, | ||
| u32 * | sw_if_index | ||
| ) |
Definition at line 529 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 485 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void vnet_delete_hw_interface | ( | vnet_main_t * | vnm, |
| u32 | hw_if_index | ||
| ) |
Definition at line 913 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void vnet_delete_sw_interface | ( | vnet_main_t * | vnm, |
| u32 | sw_if_index | ||
| ) |
Definition at line 567 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| clib_error_t* vnet_hw_interface_change_mac_address | ( | vnet_main_t * | vnm, |
| u32 | hw_if_index, | ||
| u8 * | mac_address | ||
| ) |
Definition at line 1422 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1376 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| word vnet_hw_interface_compare | ( | vnet_main_t * | vnm, |
| uword | hw_if_index0, | ||
| uword | hw_if_index1 | ||
| ) |
Definition at line 1161 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void vnet_hw_interface_init_for_class | ( | vnet_main_t * | vnm, |
| u32 | hw_if_index, | ||
| u32 | hw_class_index, | ||
| u32 | hw_instance | ||
| ) |
Definition at line 1041 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| int vnet_hw_interface_rx_redirect_to_node | ( | vnet_main_t * | vnm, |
| u32 | hw_if_index, | ||
| u32 | node_index | ||
| ) |
Definition at line 1138 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1119 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| clib_error_t* vnet_hw_interface_set_class | ( | vnet_main_t * | vnm, |
| u32 | hw_if_index, | ||
| u32 | hw_class_index | ||
| ) |
Definition at line 1111 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1054 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| clib_error_t* vnet_hw_interface_set_flags | ( | vnet_main_t * | vnm, |
| u32 | hw_if_index, | ||
| u32 | flags | ||
| ) |
|
static |
Definition at line 262 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void vnet_hw_interface_set_mtu | ( | vnet_main_t * | vnm, |
| u32 | hw_if_index, | ||
| u32 | mtu | ||
| ) |
Definition at line 665 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void vnet_hw_interface_walk | ( | vnet_main_t * | vnm, |
| vnet_hw_interface_walk_t | fn, | ||
| void * | ctx | ||
| ) |
Walk all the HW interface.
Definition at line 1005 of file interface.c.
Here is the caller graph for this function:| void vnet_hw_interface_walk_sw | ( | vnet_main_t * | vnm, |
| u32 | hw_if_index, | ||
| vnet_hw_sw_interface_walk_t | fn, | ||
| void * | ctx | ||
| ) |
Walk the SW interfaces on a HW interface - this is the super interface and any sub-interfaces.
Definition at line 982 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| clib_error_t* vnet_interface_init | ( | vlib_main_t * | vm | ) |
Definition at line 1188 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 1311 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| vnet_l3_packet_type_t vnet_link_to_l3_proto | ( | vnet_link_t | link | ) |
Convert a link to to an Ethertype.
Definition at line 1475 of file interface.c.
Here is the caller graph for this function:| vnet_mtu_t vnet_link_to_mtu | ( | vnet_link_t | link | ) |
| u32 vnet_register_interface | ( | vnet_main_t * | vnm, |
| u32 | dev_class_index, | ||
| u32 | dev_instance, | ||
| u32 | hw_class_index, | ||
| u32 | hw_instance | ||
| ) |
Definition at line 703 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| clib_error_t* vnet_rename_interface | ( | vnet_main_t * | vnm, |
| u32 | hw_if_index, | ||
| char * | new_name | ||
| ) |
Definition at line 1340 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| word vnet_sw_interface_compare | ( | vnet_main_t * | vnm, |
| uword | sw_if_index0, | ||
| uword | sw_if_index1 | ||
| ) |
Definition at line 1147 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void vnet_sw_interface_ip_directed_broadcast | ( | vnet_main_t * | vnm, |
| u32 | sw_if_index, | ||
| u8 | enable | ||
| ) |
Definition at line 638 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| int vnet_sw_interface_is_p2p | ( | vnet_main_t * | vnm, |
| u32 | sw_if_index | ||
| ) |
Definition at line 1173 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| clib_error_t* vnet_sw_interface_set_flags | ( | vnet_main_t * | vnm, |
| u32 | sw_if_index, | ||
| u32 | flags | ||
| ) |
Definition at line 477 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 310 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void vnet_sw_interface_set_mtu | ( | vnet_main_t * | vnm, |
| u32 | sw_if_index, | ||
| u32 | mtu | ||
| ) |
Definition at line 605 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void vnet_sw_interface_set_protocol_mtu | ( | vnet_main_t * | vnm, |
| u32 | sw_if_index, | ||
| u32 | mtu[] | ||
| ) |
Definition at line 617 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void vnet_sw_interface_update_unnumbered | ( | u32 | unnumbered_sw_if_index, |
| u32 | ip_sw_if_index, | ||
| u8 | enable | ||
| ) |
Definition at line 1431 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void vnet_sw_interface_walk | ( | vnet_main_t * | vnm, |
| vnet_sw_interface_walk_t | fn, | ||
| void * | ctx | ||
| ) |
Walk all the SW interfaces in the system.
Definition at line 1023 of file interface.c.
Here is the caller graph for this function:
|
static |
(constructor) VLIB_CLI_COMMAND (collect_detailed_interface_stats_command)
Definition at line 1616 of file interface.c.
| int collect_detailed_interface_stats_flag = 0 |
Definition at line 1569 of file interface.c.