2 * Copyright (c) 2015 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 #ifndef __IPSEC_IO_H__
16 #define __IPSEC_IO_H__
18 #define IPSEC_FLAG_IPSEC_GRE_TUNNEL (1 << 0)
20 #define foreach_ipsec_output_next \
21 _ (DROP, "error-drop")
23 #define _(v, s) IPSEC_OUTPUT_NEXT_##v,
26 foreach_ipsec_output_next
29 } ipsec_output_next_t;
31 #define foreach_ipsec_input_next \
32 _ (DROP, "error-drop")
34 #define _(v, s) IPSEC_INPUT_NEXT_##v,
37 foreach_ipsec_input_next
53 #endif /* __IPSEC_IO_H__ */
56 * fd.io coding-style-patch-verification: ON
59 * eval: (c-set-style "gnu")