FD.io VPP  v20.01-48-g3e0dafb74
Vector Packet Processing
ip6_ll_types.h
Go to the documentation of this file.
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  * Aggregate type for a prefix in the IPv6 Link-local table
23  */
24 typedef struct ip6_ll_prefix_t_
25 {
26  /**
27  * The interface
28  */
30 
31  /**
32  * the IP6 address
33  */
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
unsigned char u8
Definition: types.h:56
unsigned int u32
Definition: types.h:88
ip6_address_t ilp_addr
the IP6 address
Definition: ip6_ll_types.h:34
Aggregate type for a prefix in the IPv6 Link-local table.
Definition: ip6_ll_types.h:24
u8 * format_ip6_ll_prefix(u8 *s, va_list *args)
Definition: ip6_ll_types.c:21
u32 ilp_sw_if_index
The interface.
Definition: ip6_ll_types.h:29
struct ip6_ll_prefix_t_ ip6_ll_prefix_t
Aggregate type for a prefix in the IPv6 Link-local table.