code: def getRealInterfaceNumber(self, interface):
          
          try:
              return self._ioctl(INTERFACE_REVMAP, interface)
          except IOError as exc:
              if exc.errno == errno.EDOM:
                  return None
              raise
docs: Returns the host-visible interface number, or None if there is no such
          interface.