VPP-1506: dump local punts and registered punt sockets
[vpp.git] / src / vnet / ip / ip6_ll_types.h
1  /*
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:
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 __IP6_LL_TYPES_H__
17 #define __IP6_LL_TYPES_H__
18
19 #include <vnet/ip/ip6_packet.h>
20
21 /**
22  * Aggregrate type for a prefix in the IPv6 Link-local table
23  */
24 typedef struct ip6_ll_prefix_t_
25 {
26   /**
27    * The interface
28    */
29   u32 ilp_sw_if_index;
30
31   /**
32    * the IP6 address
33    */
34   ip6_address_t ilp_addr;
35 } ip6_ll_prefix_t;
36
37 extern u8 *format_ip6_ll_prefix (u8 * s, va_list * args);
38
39 /*
40  * fd.io coding-style-patch-verification: ON
41  *
42  * Local Variables:
43  * eval: (c-set-style "gnu")
44  * End:
45  */
46
47 #endif