David Woodhouse
|
72eb0feee2
Bump library soname and add 'const' to lots of char * arguments
|
10 years ago |
Nikos Mavrogiannopoulos
|
93b3db9e30
do not take ownership of any of the provided strings
|
10 years ago |
David Woodhouse
|
a211b649c3
Wrap ifreq_set_ifname() in #ifndef __sun__ to shut the compiler up there
|
10 years ago |
David Woodhouse
|
47b4fd14ed
Convert vpninfo->ifname to legacy charset for $TUNDEV and configuration
|
10 years ago |
David Woodhouse
|
705da6b2ea
Use autoheader. Ick. But the command lines were getting silly
|
10 years ago |
Kevin Cernekee
|
90127eddaf
tun: Don't leak tun_fd on ioctl errors
|
10 years ago |
David Woodhouse
|
63edf11b13
Fix Windows tun read handling
|
10 years ago |
David Woodhouse
|
2e8dd14755
Fix OpenBSD build
|
10 years ago |
David Woodhouse
|
83c5b14d44
Make openconnect_setup_tun_fd() work on Windows
|
10 years ago |
David Woodhouse
|
c4300fb0e9
Remove tun.c from Windows build
|
10 years ago |
David Woodhouse
|
ee72cef1d8
Move openconnect_setup_tun_device() to library.c
|
10 years ago |
David Woodhouse
|
da51169d72
Move set_tun_mtu() into os_setup_tun()
|
10 years ago |
David Woodhouse
|
c3d166fc03
Split out os_setup_tun() for Windows vs. sane platforms
|
10 years ago |
David Woodhouse
|
d0ec3d4484
Move Windows openconnect_setup_tun_fd() to tun-win32.c
|
10 years ago |
David Woodhouse
|
761832fdc3
Split out os_shutdown_tun() for Windows vs. sane platforms
|
10 years ago |
David Woodhouse
|
4b3317e376
Move tun_mainloop() to mainloop.c
|
10 years ago |
David Woodhouse
|
87070617c1
Factor out os_write_tun() from tun_mainloop()
|
10 years ago |
David Woodhouse
|
4d58e4f351
Factor out os_read_tun() from tun_mainloop()
|
10 years ago |
David Woodhouse
|
f90b4428d3
Move script_config_tun() to script.c
|
10 years ago |
David Woodhouse
|
8f2d1a5c1a
Move set_script_env() to script.c
|
10 years ago |
David Woodhouse
|
a12ac9e630
Finally add tun handling for Windows
|
10 years ago |
David Woodhouse
|
67c6cf51ef
Abstract select() and FD_SET handling
|
10 years ago |
David Woodhouse
|
7c7ad370b7
Add basic support for opening Windows TAP driver
|
10 years ago |
David Woodhouse
|
ce55d9241d
Update copyright year
|
10 years ago |
David Woodhouse
|
6bf5b05093
Remove FSF address from copyright boilerplate
|
10 years ago |
David Woodhouse
|
3eeaa7f3e0
Make tun.c build for MinGW
|
10 years ago |
David Woodhouse
|
441a729049
Add set_sock_nonblock() and set_fd_cloexec() compat functions
|
10 years ago |
David Woodhouse
|
6b89340196
Start to clean up includes for MinGW build.
|
10 years ago |
Kevin Cernekee
|
6361a465b3
library: Add new callback for obtaining TX/RX statistics
|
11 years ago |
Kevin Cernekee
|
d86782e062
library: Make vpn_option a public struct
|
11 years ago |