type Device interface {
stack.LinkEndpoint// Close stops and closes the device. Close() error// Name returns the current name of the device. Name() string
}
Device is the interface that implemented by network layer devices (e.g. tun),
and easy to use as stack.LinkEndpoint.