]> git.proxmox.com Git - mirror_frr.git/blob - bgpd/bgp_encap.h
bgpd: Cleanup grabbag of coverity scan issues found
[mirror_frr.git] / bgpd / bgp_encap.h
1 /*
2 *
3 * Copyright 2009-2015, LabN Consulting, L.L.C.
4 *
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version 2
9 * of the License, or (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19 *
20 */
21
22 #ifndef _QUAGGA_BGP_ENCAP_H
23 #define _QUAGGA_BGP_ENCAP_H
24 #include "bgpd/bgp_route.h"
25
26 extern void bgp_encap_init (void);
27 extern int bgp_nlri_parse_encap (struct peer *, struct attr *, struct bgp_nlri *);
28 extern int bgp_show_encap (struct vty *vty, afi_t afi, struct prefix_rd *prd,
29 enum bgp_show_type type, void *output_arg, int tags);
30 #include "bgp_encap_types.h"
31 #endif /* _QUAGGA_BGP_ENCAP_H */