1 /* FreeS/WAN Virtual IP Management
2 * Copyright (C) 2002 Mathieu Lafon - Arkoon Network Security
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License as published by the
6 * Free Software Foundation; either version 2 of the License, or (at your
7 * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
9 * This program is distributed in the hope that it will be useful, but
10 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
11 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * RCSID $Id: virtual.h,v 1.3 2003-09-29 05:08:44 philipc Exp $
20 extern void init_virtual_ip(const char *private_list);
22 extern struct virtual_t *create_virtual(const struct connection *c,
25 extern bool is_virtual_end(const struct end *that);
26 extern bool is_virtual_connection(const struct connection *c);
27 extern bool is_virtual_net_allowed(const struct connection *c,
28 const ip_subnet *peer_net, const ip_address *his_addr);
30 #endif /* _VIRTUAL_IP_H */