2 * Copyright (c) 2016 Cisco and/or its affiliates.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at:
7 * http://www.apache.org/licenses/LICENSE-2.0
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
21 add_del_route_check (fib_protocol_t table_proto,
23 u32 next_hop_sw_if_index,
24 fib_protocol_t next_hop_table_proto,
25 u32 next_hop_table_id,
26 u8 create_missing_tables,
28 u32 * fib_index, u32 * next_hop_fib_index);
31 add_del_route_t_handler (u8 is_multipath,
39 u32 classify_table_index,
41 u8 is_resolve_attached,
45 const fib_prefix_t * prefix,
46 u8 next_hop_proto_is_ip4,
47 const ip46_address_t * next_hop,
48 u32 next_hop_sw_if_index,
49 u8 next_hop_fib_index,
51 u16 next_hop_preference,
52 mpls_label_t next_hop_via_label,
53 mpls_label_t * next_hop_out_label_stack);
56 copy_fib_next_hop (fib_route_path_encode_t * api_rpath,
59 #endif /* __FIB_API_H__ */