2010-03-25 17:46:09 +00:00
|
|
|
/*
|
|
|
|
* nwfilter_ebiptables_driver.h: ebtables/iptables driver support
|
|
|
|
*
|
|
|
|
* Copyright (C) 2010 IBM Corporation
|
|
|
|
* Copyright (C) 2010 Stefan Berger
|
|
|
|
*
|
|
|
|
* 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
|
2012-09-20 22:30:55 +00:00
|
|
|
* License along with this library. If not, see
|
2012-07-21 10:06:23 +00:00
|
|
|
* <http://www.gnu.org/licenses/>.
|
2010-03-25 17:46:09 +00:00
|
|
|
*/
|
2018-12-13 13:32:06 +00:00
|
|
|
|
2019-06-18 16:12:34 +00:00
|
|
|
#pragma once
|
2010-03-25 17:46:09 +00:00
|
|
|
|
2019-06-18 16:12:34 +00:00
|
|
|
#include "nwfilter_tech_driver.h"
|
2014-03-24 12:32:37 +00:00
|
|
|
|
2019-06-18 16:12:34 +00:00
|
|
|
#define MAX_CHAINNAME_LENGTH 32 /* see linux/netfilter_bridge/ebtables.h */
|
2010-03-25 17:46:09 +00:00
|
|
|
|
|
|
|
extern virNWFilterTechDriver ebiptables_driver;
|
|
|
|
|
2019-06-18 16:12:34 +00:00
|
|
|
#define EBIPTABLES_DRIVER_ID "ebiptables"
|
2010-03-25 17:46:09 +00:00
|
|
|
|
2019-06-18 16:12:34 +00:00
|
|
|
#define IPTABLES_MAX_COMMENT_LENGTH 256
|