]>
Commit | Line | Data |
---|---|---|
acddc0ed | 1 | // SPDX-License-Identifier: GPL-2.0-or-later |
d62a17ae | 2 | /* |
65efcfce | 3 | * Copyright 2015-2016, LabN Consulting, L.L.C. |
65efcfce LB |
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 | |
d62a17ae | 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); | |
65efcfce | 15 | |
d62a17ae | 16 | extern struct rfapi_un_option *rfapi_encap_tlv_to_un_option(struct attr *attr); |
65efcfce | 17 | |
d62a17ae | 18 | extern void rfapi_print_tunneltype_option(void *stream, int column_offset, |
19 | struct rfapi_tunneltype_option *tto); | |
65efcfce LB |
20 | |
21 | ||
22 | #endif /* _QUAGGA_BGP_RFAPI_ENCAP_TLV_H */ |