Add support for OpenWrt DNS management
[vpnc.git] / vpnc.h
blob2bacc080e2a5bcb552ab0fe78b5ae0249ce886c7
1 /* IPSec VPN client compatible with Cisco equipment.
2 Copyright (C) 2002, 2003, 2004 Geoffrey Keating and Maurice Massar
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2 of the License, or
7 (at your option) any later version.
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 $Id$
21 #ifndef __VPNC_H__
22 #define __VPNC_H__
24 #include "tunip.h"
26 void process_late_ike(struct sa_block *s, uint8_t *r_packet, ssize_t r_length);
27 void keepalive_ike(struct sa_block *s);
28 void dpd_ike(struct sa_block *s);
29 void print_vid(const unsigned char *vid, uint16_t len);
31 #endif