📄 virtual.h
字号:
/* Openswan Virtual IP Management * Copyright (C) 2002 Mathieu Lafon - Arkoon Network Security * * This program 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. See <http://www.fsf.org/copyleft/gpl.txt>. * * This program 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 General Public License * for more details. * * RCSID $Id: virtual.h,v 1.2 2004/05/08 11:05:38 ken Exp $ */#ifndef _VIRTUAL_IP_H#define _VIRTUAL_IP_Hextern void init_virtual_ip(const char *private_list);extern struct virtual_t *create_virtual(const struct connection *c, const char *string);extern bool is_virtual_end(const struct end *that);extern bool is_virtual_connection(const struct connection *c);extern bool is_virtual_net_allowed(const struct connection *c, const ip_subnet *peer_net, const ip_address *his_addr);#endif /* _VIRTUAL_IP_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -