def tunnelkey(self, n1num, n2num):
        sid = self.session_id_master
        if sid is None:
            # this is the master session
            sid = self.session.sessionid
            
        key = (sid  << 16) ^ hash(n1num)  ^ (hash(n2num) << 8)
        return key & 0xFFFFFFFF
Compute a 32-bit key used to uniquely identify a GRE tunnel.
dataset/ETHPy150Open coreemu/core/daemon/core/broker.py/CoreBroker.tunnelkey