1 /* Hey Emacs use -*- mode: C -*- */
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:
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
17 typedef u8 ip4_address[4];
18 typedef u8 ip6_address[16];
26 vl_api_ip4_address_t ip4;
27 vl_api_ip6_address_t ip6;
31 vl_api_address_family_t af;
32 vl_api_address_union_t un;
36 vl_api_address_t address;
41 vl_api_address_family_t af;
42 u16 grp_address_length;
43 vl_api_address_union_t grp_address;
44 vl_api_address_union_t src_address;
48 vl_api_ip6_address_t prefix;
53 vl_api_ip4_address_t prefix;