2 * Copyright (c) 2018 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.
15 option version = "1.0.0";
17 import "vnet/fib/fib_types.api";
18 import "vnet/ip/ip_types.api";
22 MFIB_API_ENTRY_FLAG_NONE = 0,
23 MFIB_API_ENTRY_FLAG_SIGNAL = 0x1,
24 MFIB_API_ENTRY_FLAG_DROP = 0x2,
25 MFIB_API_ENTRY_FLAG_CONNECTED = 0x4,
26 MFIB_API_ENTRY_FLAG_ACCEPT_ALL_ITF = 0x8,
31 MFIB_API_ITF_FLAG_NONE = 0,
32 MFIB_API_ITF_FLAG_NEGATE_SIGNAL = 0x1,
33 MFIB_API_ITF_FLAG_ACCEPT = 0x2,
34 MFIB_API_ITF_FLAG_FORWARD = 0x4,
35 MFIB_API_ITF_FLAG_SIGNAL_PRESENT = 0x8,
36 MFIB_API_ITF_FLAG_DONT_PRESERVE = 0x10,
43 vl_api_mfib_itf_flags_t itf_flags;
44 vl_api_fib_path_t path;