]> git.proxmox.com Git - mirror_frr.git/blob - bgpd/rfapi/rfapi_encap_tlv.h
Merge pull request #12916 from donaldsharp/clang_15_warnings
[mirror_frr.git] / bgpd / rfapi / rfapi_encap_tlv.h
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /*
3 * Copyright 2015-2016, LabN Consulting, L.L.C.
4 */
5
6 #ifndef _QUAGGA_BGP_RFAPI_ENCAP_TLV_H
7 #define _QUAGGA_BGP_RFAPI_ENCAP_TLV_H
8
9 #define RFAPI_BGP_ENCAP_TYPE_DEFAULT BGP_ENCAP_TYPE_IP_IN_IP
10
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);
15
16 extern struct rfapi_un_option *rfapi_encap_tlv_to_un_option(struct attr *attr);
17
18 extern void rfapi_print_tunneltype_option(void *stream, int column_offset,
19 struct rfapi_tunneltype_option *tto);
20
21
22 #endif /* _QUAGGA_BGP_RFAPI_ENCAP_TLV_H */