FD.io VPP
v21.10.1-2-g0a485f517
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
*/
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
ip6_ll_prefix_t_::ilp_sw_if_index
u32 ilp_sw_if_index
The interface.
Definition:
ip6_ll_types.h:29
format_ip6_ll_prefix
u8 * format_ip6_ll_prefix(u8 *s, va_list *args)
Definition:
ip6_ll_types.c:21
ip6_packet.h
ip6_ll_prefix_t_
Aggregate type for a prefix in the IPv6 Link-local table.
Definition:
ip6_ll_types.h:24
u32
unsigned int u32
Definition:
types.h:88
u8
unsigned char u8
Definition:
types.h:56
ip6_ll_prefix_t_::ilp_addr
ip6_address_t ilp_addr
the IP6 address
Definition:
ip6_ll_types.h:34
ip6_ll_prefix_t
struct ip6_ll_prefix_t_ ip6_ll_prefix_t
Aggregate type for a prefix in the IPv6 Link-local table.
src
vnet
ip
ip6_ll_types.h
Generated on Sat Jan 8 2022 10:36:36 for FD.io VPP by
1.8.17