FD.io VPP
v18.10-34-gcce845e
Vector Packet Processing
Main Page
Related Pages
Modules
Namespaces
Data Structures
Source
Files
Symbols
ip_types.api
Go to the documentation of this file.
1
/* Hey Emacs use -*- mode: C -*- */
2
/*
3
* Copyright (c) 2018 Cisco and/or its affiliates.
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at:
7
*
8
* http://www.apache.org/licenses/LICENSE-2.0
9
*
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
15
*/
16
17
typedef
ip4_address
{
18
u8
address
[4];
19
};
20
21
typedef
ip6_address
{
22
u8
address
[16];
23
};
24
25
enum
address_family
{
26
ADDRESS_IP4
= 0,
27
ADDRESS_IP6
,
28
};
29
30
union
address_union
{
31
vl_api_ip4_address_t
ip4
;
32
vl_api_ip6_address_t
ip6
;
33
};
34
35
typedef
address
{
36
vl_api_address_family_t af;
37
vl_api_address_union_t
un
;
38
};
39
40
typedef
prefix
{
41
vl_api_address_t
address
;
42
u8
address_length
;
43
};
44
45
typedef
mprefix
{
46
vl_api_address_family_t af;
47
u16
grp_address_length
;
48
vl_api_address_union_t
grp_address
;
49
vl_api_address_union_t
src_address
;
50
};
address
typedef address
Definition:
ip_types.api:35
u8
unsigned char u8
Definition:
types.h:56
ADDRESS_IP6
Definition:
ip_types.api:27
address_union::ip6
vl_api_ip6_address_t ip6
Definition:
ip_types.api:32
address_length
u8 address_length
Definition:
ip_types.api:42
u16
unsigned short u16
Definition:
types.h:57
ip6_address
typedef ip6_address
Definition:
ip_types.api:21
ADDRESS_IP4
Definition:
ip_types.api:26
grp_address_length
u16 grp_address_length
Definition:
ip_types.api:47
src_address
vl_api_address_union_t src_address
Definition:
ip_types.api:49
address_union
Definition:
ip_types.api:30
mprefix
typedef mprefix
Definition:
ip_types.api:45
address_family
address_family
Definition:
ip_types.api:25
prefix
typedef prefix
Definition:
ip_types.api:40
ip4_address
typedef ip4_address
Definition:
ip_types.api:17
grp_address
vl_api_address_union_t grp_address
Definition:
ip_types.api:48
un
vl_api_address_union_t un
Definition:
ip_types.api:37
address_union::ip4
vl_api_ip4_address_t ip4
Definition:
ip_types.api:31
src
vnet
ip
ip_types.api
Generated on Thu May 16 2019 14:26:32 for FD.io VPP by
1.8.11