|
FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Go to the documentation of this file.
43 return VNET_API_ERROR_NO_SUCH_FIB;
119 .path =
"set ip6 nd proxy",
120 .short_help =
"set ip6 nd proxy <interface> [del] <host-ip>",
fib_node_index_t fib_table_entry_path_add(u32 fib_index, const fib_prefix_t *prefix, fib_source_t source, fib_entry_flag_t flags, dpo_proto_t next_hop_proto, const ip46_address_t *next_hop, u32 next_hop_sw_if_index, u32 next_hop_fib_index, u32 next_hop_weight, fib_mpls_label_t *next_hop_labels, fib_route_path_flags_t path_flags)
Add one path to an entry (aka route) in the FIB.
int ip6_nd_proxy_add(u32 sw_if_index, const ip6_address_t *addr)
u16 fp_len
The mask length.
vlib_main_t * vm
X-connect all packets from the HOST to the PHY.
static clib_error_t * set_ip6_nd_proxy_cmd(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
void fib_table_entry_path_remove(u32 fib_index, const fib_prefix_t *prefix, fib_source_t source, dpo_proto_t next_hop_proto, const ip46_address_t *next_hop, u32 next_hop_sw_if_index, u32 next_hop_fib_index, u32 next_hop_weight, fib_route_path_flags_t path_flags)
remove one path to an entry (aka route) in the FIB.
vnet_main_t * vnet_get_main(void)
static vlib_cli_command_t set_ip6_nd_proxy_command
(constructor) VLIB_CLI_COMMAND (set_ip6_nd_proxy_command)
#define VLIB_CLI_COMMAND(x,...)
u32 ip6_fib_table_get_index_for_sw_if_index(u32 sw_if_index)
int ip_neighbor_del(const ip_address_t *ip, u32 sw_if_index)
unformat_function_t unformat_vnet_sw_interface
@ FIB_ROUTE_PATH_FLAG_NONE
int ip6_nd_proxy_del(u32 sw_if_index, const ip6_address_t *addr)
@ FIB_SOURCE_IP6_ND_PROXY
IPv6 Proxy ND.
vl_api_interface_index_t sw_if_index
Aggregate type for a prefix.
static int ip6_nd_proxy_add_del(u32 sw_if_index, const ip6_address_t *addr, u8 is_del)