~ubuntu-branches/ubuntu/precise/openvpn/precise-updates

« back to all changes in this revision

Viewing changes to tun.h

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2010-10-05 06:21:14 UTC
  • mfrom: (1.1.16 upstream) (10.2.8 sid)
  • Revision ID: james.westby@ubuntu.com-20101005062114-18lyqud9e3p4g735
Tags: 2.1.3-1ubuntu1
* Merge from debian unstable.  Remaining changes:
  + debian/openvpn.init.d:
    - Do not use start-stop-daemon and </dev/null to avoid blocking boot.
    - Show per-VPN result messages.
    - Add "--script-security 2" by default for backwards compatablitiy
  + debian/control: Add lsb-base >= 3.2-14 to allow status_of_proc()

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 *             packet encryption, packet authentication, and
6
6
 *             packet compression.
7
7
 *
8
 
 *  Copyright (C) 2002-2009 OpenVPN Technologies, Inc. <sales@openvpn.net>
 
8
 *  Copyright (C) 2002-2010 OpenVPN Technologies, Inc. <sales@openvpn.net>
9
9
 *
10
10
 *  This program is free software; you can redistribute it and/or modify
11
11
 *  it under the terms of the GNU General Public License version 2
99
99
  bool dhcp_renew;
100
100
  bool dhcp_pre_release;
101
101
  bool dhcp_release;
 
102
 
 
103
  bool register_dns;
102
104
};
103
105
 
104
106
#elif TARGET_LINUX
335
337
bool dhcp_release_by_adapter_index(const DWORD adapter_index);
336
338
bool dhcp_renew_by_adapter_index (const DWORD adapter_index);
337
339
 
 
340
void fork_register_dns_action (struct tuntap *tt);
 
341
void ipconfig_register_dns (const struct env_set *es);
 
342
 
338
343
void tun_standby_init (struct tuntap *tt);
339
344
bool tun_standby (struct tuntap *tt);
340
345