]> Cypherpunks.ru repositories - govpn.git/blob - tap_linux.go
Well, performance is not so high actually
[govpn.git] / tap_linux.go
1 // +build linux
2
3 /*
4 govpn -- Simple secure virtual private network daemon
5 Copyright (C) 2014 Sergey Matveev <stargrave@stargrave.org>
6 */
7
8 package main
9
10 import (
11         "github.com/chon219/water"
12 )
13
14 func NewTAP(string ifaceName) TAP {
15         iface, err := water.NewTAP(ifaceName)
16         if err != nil {
17                 panic(err)
18         }
19         return iface
20 }