Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 1 | /* |
| 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: |
| 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 | #ifndef included_vnet_icmp6_h |
| 16 | #define included_vnet_icmp6_h |
| 17 | |
Neale Ranns | e403113 | 2020-10-26 13:00:06 +0000 | [diff] [blame] | 18 | #include <vnet/ip/icmp46_packet.h> |
| 19 | |
Dave Barach | d7cb1b5 | 2016-12-09 09:52:16 -0500 | [diff] [blame] | 20 | typedef struct |
| 21 | { |
Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 22 | u8 packet_data[64]; |
| 23 | } icmp6_input_trace_t; |
| 24 | |
| 25 | format_function_t format_icmp6_input_trace; |
Dave Barach | d7cb1b5 | 2016-12-09 09:52:16 -0500 | [diff] [blame] | 26 | void icmp6_register_type (vlib_main_t * vm, icmp6_type_t type, |
| 27 | u32 node_index); |
| 28 | void icmp6_error_set_vnet_buffer (vlib_buffer_t * b, u8 type, u8 code, |
| 29 | u32 data); |
Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 30 | |
| 31 | extern vlib_node_registration_t ip6_icmp_input_node; |
| 32 | |
| 33 | #endif /* included_vnet_icmp6_h */ |
| 34 | |
| 35 | |
Dave Barach | d7cb1b5 | 2016-12-09 09:52:16 -0500 | [diff] [blame] | 36 | |
| 37 | /* |
| 38 | * fd.io coding-style-patch-verification: ON |
| 39 | * |
| 40 | * Local Variables: |
| 41 | * eval: (c-set-style "gnu") |
| 42 | * End: |
| 43 | */ |