]>
git.proxmox.com Git - mirror_frr.git/blob - bgpd/rfapi/rfapi_encap_tlv.h
1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright 2015-2016, LabN Consulting, L.L.C.
6 #ifndef _QUAGGA_BGP_RFAPI_ENCAP_TLV_H
7 #define _QUAGGA_BGP_RFAPI_ENCAP_TLV_H
9 #define RFAPI_BGP_ENCAP_TYPE_DEFAULT BGP_ENCAP_TYPE_IP_IN_IP
11 extern bgp_encap_types
12 rfapi_tunneltype_option_to_tlv(struct bgp
*bgp
, struct rfapi_ip_addr
*ea
,
13 struct rfapi_tunneltype_option
*tto
,
14 struct attr
*attr
, int always_add
);
16 extern struct rfapi_un_option
*rfapi_encap_tlv_to_un_option(struct attr
*attr
);
18 extern void rfapi_print_tunneltype_option(void *stream
, int column_offset
,
19 struct rfapi_tunneltype_option
*tto
);
22 #endif /* _QUAGGA_BGP_RFAPI_ENCAP_TLV_H */