43 return VNET_API_ERROR_NO_SUCH_FIB;
115 .path =
"set ip6 nd proxy",
116 .short_help =
"set ip6 nd proxy <HOST> <INTERFACE>",
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.
vnet_main_t * vnet_get_main(void)
static clib_error_t * set_ip6_nd_proxy_cmd(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
unformat_function_t unformat_vnet_sw_interface
int ip_neighbor_del(const ip46_address_t *ip, ip46_type_t type, u32 sw_if_index)
vl_api_interface_index_t sw_if_index
Aggregate type for a prefix.
u16 fp_len
The mask length.
u32 ip6_fib_table_get_index_for_sw_if_index(u32 sw_if_index)
int ip6_nd_proxy_del(u32 sw_if_index, const ip6_address_t *addr)
#define VLIB_CLI_COMMAND(x,...)
static int ip6_nd_proxy_add_del(u32 sw_if_index, const ip6_address_t *addr, u8 is_del)
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.
int ip6_nd_proxy_add(u32 sw_if_index, const ip6_address_t *addr)