mirror of
https://github.com/ChronosX88/netsukuku.git
synced 2024-11-22 18:22:18 +00:00
26 lines
1.1 KiB
C
26 lines
1.1 KiB
C
|
/* This file is part of Netsukuku
|
||
|
* (c) Copyright 2004 Andrea Lo Pumo aka AlpT <alpt@freaknet.org>
|
||
|
*
|
||
|
* This source code is free software; you can redistribute it and/or
|
||
|
* modify it under the terms of the GNU General Public License as published
|
||
|
* by the Free Software Foundation; either version 2 of the License,
|
||
|
* or (at your option) any later version.
|
||
|
*
|
||
|
* This source code 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.
|
||
|
* Please refer to the GNU Public License for more details.
|
||
|
*
|
||
|
* You should have received a copy of the GNU Public License along with
|
||
|
* this source code; if not, write to:
|
||
|
* Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||
|
*/
|
||
|
|
||
|
int rule_add(inet_prefix *from, inet_prefix *to, char *dev,
|
||
|
int prio, u_int fwmark, u_char table);
|
||
|
int rule_del(inet_prefix *from, inet_prefix *to, char *dev,
|
||
|
int prio, u_int fwmark, u_char table);
|
||
|
int rule_replace(inet_prefix *from, inet_prefix *to, char *dev,
|
||
|
int prio, u_int fwmark, u_char table);
|
||
|
int rule_flush_table_range(int family, int a, int b);
|