Documentation
¶
Index ¶
- func CreateProxyTUN(addr *proxy.ProxyAddr) (*proxy.Proxy, error)
- type NativeTUN
- func (tun *NativeTUN) AddAddressCIDR(cidrAddr string) error
- func (tun *NativeTUN) Close() error
- func (tun *NativeTUN) Index() int
- func (tun *NativeTUN) LocalAddr() net.Addr
- func (tun *NativeTUN) MTU() int
- func (tun *NativeTUN) RemoteAddr() net.Addr
- func (tun *NativeTUN) SetMTU(mtu int) error
- func (tun *NativeTUN) SetUP() error
- type ProxyTUN
- type TUNDevice
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.