Matus Fabian | 694265d | 2016-08-10 01:55:36 -0700 | [diff] [blame] | 1 | /* |
| 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: |
| 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 | /** |
Chris Luke | 16bcf7d | 2016-09-01 14:31:46 -0400 | [diff] [blame] | 16 | * @file |
Matus Fabian | 694265d | 2016-08-10 01:55:36 -0700 | [diff] [blame] | 17 | * @brief L2-GRE over IPSec errors. |
| 18 | */ |
| 19 | |
| 20 | |
| 21 | ipsec_gre_error (NONE, "no error") |
| 22 | ipsec_gre_error (UNKNOWN_PROTOCOL, "unknown protocol") |
| 23 | ipsec_gre_error (UNSUPPORTED_VERSION, "unsupported version") |
| 24 | ipsec_gre_error (PKTS_DECAP, "GRE input packets decapsulated") |
| 25 | ipsec_gre_error (PKTS_ENCAP, "GRE output packets encapsulated") |
| 26 | ipsec_gre_error (NO_SUCH_TUNNEL, "GRE input packets dropped due to missing tunnel") |