blob: eff20699dfccf89b6d27d44a43bcd6dcf57970f7 [file] [log] [blame]
Florin Corasce1b4c72017-01-26 14:25:34 -08001/*
2 * Copyright (c) 2017 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:
6 *
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *
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.
14 */
15
16#ifndef __ADJ_NSH_H__
17#define __ADJ_NSH_H__
18
19#include <vnet/adj/adj.h>
20
21extern vlib_node_registration_t adj_nsh_midchain_node;
22extern vlib_node_registration_t adj_nsh_rewrite_node;
23
Dave Barach11fb09e2020-08-06 12:10:09 -040024typedef struct _nsh_main_placeholder
Florin Corasce1b4c72017-01-26 14:25:34 -080025{
26 u8 output_feature_arc_index;
Dave Barach11fb09e2020-08-06 12:10:09 -040027} nsh_main_placeholder_t;
Florin Corasce1b4c72017-01-26 14:25:34 -080028
Dave Barach11fb09e2020-08-06 12:10:09 -040029extern nsh_main_placeholder_t nsh_main_placeholder;
Florin Corasce1b4c72017-01-26 14:25:34 -080030
31#endif