]> git.proxmox.com Git - mirror_frr.git/blame - bgpd/rfapi/rfapi_descriptor_rfp_utils.h
bgpd: add L3/L2VPN Virtual Network Control feature
[mirror_frr.git] / bgpd / rfapi / rfapi_descriptor_rfp_utils.h
CommitLineData
65efcfce
LB
1/*
2 *
3 * Copyright 2009-2016, 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
23extern void *rfapi_create_generic (struct rfapi_ip_addr *vn,
24 struct rfapi_ip_addr *un);
25
26/*------------------------------------------
27 * rfapi_free_generic
28 *
29 * Compare two generic rfapi descriptors.
30 *
31 * input:
32 * grfd: rfapi descriptor returned by rfapi_open or rfapi_create_generic
33 *
34 * output:
35 *
36 * return value:
37 *
38 *------------------------------------------*/
39extern void rfapi_free_generic (void *grfd);