]>
git.proxmox.com Git - mirror_frr.git/blob - staticd/static_vrf.h
1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Copyright (C) 2018 Cumulus Networks, Inc.
7 #ifndef __STATIC_VRF_H__
8 #define __STATIC_VRF_H__
17 struct route_table
*stable
[AFI_MAX
][SAFI_MAX
];
21 struct static_vrf
*svrf
;
26 #define GET_STABLE_VRF_ID(info) info->svrf->vrf->vrf_id
28 struct static_vrf
*static_vrf_lookup_by_name(const char *vrf_name
);
30 void static_vrf_init(void);
32 struct route_table
*static_vrf_static_table(afi_t afi
, safi_t safi
,
33 struct static_vrf
*svrf
);
34 extern void static_vrf_terminate(void);