]> git.proxmox.com Git - mirror_frr.git/blame - bgpd/bgp_vnc_types.h
debianpkg: Add Debian 9 Package support
[mirror_frr.git] / bgpd / bgp_vnc_types.h
CommitLineData
ac4d0be5 1/*
65efcfce
LB
2 * Copyright 2015-2016, LabN Consulting, L.L.C.
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version 2
7 * of the License, or (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17 *
18 */
19
20#ifndef _QUAGGA_BGP_VNC_TYPES_H
21#define _QUAGGA_BGP_VNC_TYPES_H
22
23#if ENABLE_BGP_VNC
24typedef enum {
ac4d0be5 25 BGP_VNC_SUBTLV_TYPE_LIFETIME = 1,
26 BGP_VNC_SUBTLV_TYPE_RFPOPTION = 2, /* deprecated */
65efcfce
LB
27} bgp_vnc_subtlv_types;
28
29/*
30 * VNC Attribute subtlvs
31 */
32struct bgp_vnc_subtlv_lifetime {
ac4d0be5 33 uint32_t lifetime;
65efcfce
LB
34};
35
36struct bgp_vnc_subtlv_unaddr {
ac4d0be5 37 struct prefix un_address; /* IPv4 or IPv6; pfx length ignored */
65efcfce
LB
38};
39
ac4d0be5 40#endif /* ENABLE_BGP_VNC */
65efcfce 41#endif /* _QUAGGA_BGP_VNC_TYPES_H */