]> Cypherpunks.ru repositories - govpn.git/blob - tap_linux.go
Smaller Emptiness, as 16 KiB is enough even for jumbo frames
[govpn.git] / tap_linux.go
1 // +build linux
2
3 /*
4 GoVPN -- simple secure free software virtual private network daemon
5 Copyright (C) 2014-2015 Sergey Matveev <stargrave@stargrave.org>
6 */
7
8 package govpn
9
10 import (
11         "io"
12
13         "github.com/bigeagle/water"
14 )
15
16 func newTAPer(ifaceName string) (io.ReadWriter, error) {
17         return water.NewTAP(ifaceName)
18 }