Searched refs:tun (Results 1 – 2 of 2) sorted by relevance
91 tun = self.CreateTunInterface(netid)93 return tun116 tun = self.makeTunInterface(netid)118 poll.register(tun, select.POLLIN | select.POLLPRI)140 packet = posix.read(tun.fileno(), 4096)
56 def __init__(self, tun, mymac, routermac, routeraddr): argument58 self._tun = tun