Searched refs:tun (Results 1 – 2 of 2) sorted by relevance
94 tun = self.CreateTunInterface(netid)96 return tun119 tun = self.makeTunInterface(netid)121 poll.register(tun, select.POLLIN | select.POLLPRI)143 packet = posix.read(tun.fileno(), 4096)174 tun.close()
54 def __init__(self, tun, mymac, routermac, routeraddr): argument56 self._tun = tun