summaryrefslogtreecommitdiffstats
path: root/tun.h
diff options
context:
space:
mode:
authorGert Doering <gert@greenie.muc.de>2010-02-28 22:57:28 +0100
committerGert Doering <gert@greenie.muc.de>2011-04-24 17:22:40 +0200
commitb52c5256efd5f0120a1322b0b9089c96dbedfe56 (patch)
tree924ebe1287ec6b5d3f436662d758027cd04315ed /tun.h
parent6607def82270d0c31900736912e12dfec7a025b4 (diff)
downloadopenvpn-b52c5256efd5f0120a1322b0b9089c96dbedfe56.tar.gz
openvpn-b52c5256efd5f0120a1322b0b9089c96dbedfe56.tar.xz
openvpn-b52c5256efd5f0120a1322b0b9089c96dbedfe56.zip
- Win32 IPv6 ifconfig support, using "netsh" calls
- initialize tuntap->ipv6 in init.c::do_init_tun(), to make sure it's setup "early enough", no matter what ifconfig_order() wants - change call convention for open_tun(): drop "ipv6" flag, because it's incompatible with windows/openbsd calling sequence (ifconfig first, open_tun later) - also affects open_tun_generic() and tuncfg(). - drop ipv6_support() helper function - has no useful purpose anymore - introduce add_route_connected_v6_net() helper for Win32, Darwin, Netbsd (cleanup code) - fix NetBSD tunnel setup - destroy/recreate before ifconfig'ing, to make sure no leftover configuration lingers on tunnel from previous call (NetBSD tunnels are always persistent unless explicitely destroyed) - DARWIN (MacOS X) gets its own #ifdef section for open_tun()/close_tun() now, because close_tun() needs to cleanup IPv6 ifconfig
Diffstat (limited to 'tun.h')
0 files changed, 0 insertions, 0 deletions