Searched refs:PORT_OFFSET (Results 1 – 6 of 6) sorted by relevance
100 PORT_OFFSET = int(os.getenv('PORT_OFFSET', '0')) variable in SnifferSocketTransport108 return self.BASE_PORT + (self.PORT_OFFSET * (self.MAX_NETWORK_SIZE + 1)) + nodeid111 return (port - self.BASE_PORT - (self.PORT_OFFSET * (self.MAX_NETWORK_SIZE + 1)))
97 PORT_OFFSET = int(os.getenv('PORT_OFFSET', "0")) variable in SnifferSocketTransport113 self.BASE_PORT + (self.PORT_OFFSET * (self.MAX_NETWORK_SIZE + 1)) + nodeid,118 return (port - self.BASE_PORT - (self.PORT_OFFSET * (self.MAX_NETWORK_SIZE + 1)))
143 PORT_OFFSET = int(os.getenv('PORT_OFFSET', '0')) variable in VirtualTime158 self.port = self.BASE_PORT + (self.PORT_OFFSET * (self.MAX_NODES + 1))
54 PORT_OFFSET = int(os.getenv('PORT_OFFSET', "0")) variable447 'PORT_OFFSET': config.PORT_OFFSET,
65 PORT_OFFSET = int(os.getenv('PORT_OFFSET', '0')) variable
54 PORT_OFFSET = int(os.getenv('PORT_OFFSET', "0")) variable