mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-07 23:05:48 +00:00
79 lines
2.3 KiB
C
79 lines
2.3 KiB
C
|
/*
|
||
|
* Copyright (C) 2006-2013 Red Hat, Inc.
|
||
|
* Copyright (C) 2006 Daniel P. Berrange
|
||
|
*
|
||
|
* This library is free software; you can redistribute it and/or
|
||
|
* modify it under the terms of the GNU Lesser General Public
|
||
|
* License as published by the Free Software Foundation; either
|
||
|
* version 2.1 of the License, or (at your option) any later version.
|
||
|
*
|
||
|
* This library is distributed in the hope that it will be useful,
|
||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||
|
* Lesser General Public License for more details.
|
||
|
*
|
||
|
* You should have received a copy of the GNU Lesser General Public
|
||
|
* License along with this library. If not, see
|
||
|
* <http://www.gnu.org/licenses/>.
|
||
|
*
|
||
|
* Author: Daniel P. Berrange <berrange@redhat.com>
|
||
|
*/
|
||
|
|
||
|
#include <config.h>
|
||
|
|
||
|
int networkCheckRouteCollision(virNetworkObjPtr network)
|
||
|
{
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
int networkAddMasqueradingFirewallRules(virNetworkObjPtr network ATTRIBUTE_UNUSED,
|
||
|
virNetworkIpDefPtr ipdef ATTRIBUTE_UNUSED)
|
||
|
{
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
void networkRemoveMasqueradingFirewallRules(virNetworkObjPtr network ATTRIBUTE_UNUSED,
|
||
|
virNetworkIpDefPtr ipdef ATTRIBUTE_UNUSED)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
int networkAddRoutingFirewallRules(virNetworkObjPtr network ATTRIBUTE_UNUSED,
|
||
|
virNetworkIpDefPtr ipdef ATTRIBUTE_UNUSED)
|
||
|
{
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
void networkRemoveRoutingFirewallRules(virNetworkObjPtr network ATTRIBUTE_UNUSED,
|
||
|
virNetworkIpDefPtr ipdef ATTRIBUTE_UNUSED)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
int networkAddGeneralFirewallRules(virNetworkObjPtr network ATTRIBUTE_UNUSED)
|
||
|
{
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
void networkRemoveGeneralFirewallRules(virNetworkObjPtr network ATTRIBUTE_UNUSED)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
int networkAddIpSpecificFirewallRules(virNetworkObjPtr network ATTRIBUTE_UNUSED,
|
||
|
virNetworkIpDefPtr ipdef ATTRIBUTE_UNUSED)
|
||
|
{
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
void networkRemoveIpSpecificFirewallRules(virNetworkObjPtr network ATTRIBUTE_UNUSED,
|
||
|
virNetworkIpDefPtr ipdef ATTRIBUTE_UNUSED)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
int networkAddFirewallRules(virNetworkObjPtr network ATTRIBUTE_UNUSED)
|
||
|
{
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
void networkRemoveFirewallRules(virNetworkObjPtr network ATTRIBUTE_UNUSED)
|
||
|
{
|
||
|
}
|