def netspeed_by_addr(self, addr):
if self._databaseType == const.NETSPEED_EDITION:<EOL><INDENT>return const.NETSPEED_NAMES[self.id_by_addr(addr)]<EOL><DEDENT>elif self._databaseType in (const.NETSPEED_EDITION_REV1,<EOL>const.NETSPEED_EDITION_REV1_V6):<EOL><INDENT>ipnum = util.ip2long(addr)<EOL>return self._get_org(ipnum)<EOL><DEDENT>raise GeoIPError(<EOL>'<STR_LIT>')<EOL>
Returns NetSpeed name from address.

:arg addr: IP address (e.g. 203.0.113.30)