Searched refs:country_code (Results 1 - 25 of 25) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/GeoIP-1.5.1/libGeoIP/
H A DregionName.c4 const char * GeoIP_region_name_by_code(const char * country_code,const char * region_code) { argument
28 if (strcmp(country_code,"CA") == 0) {
58 else if (strcmp(country_code,"US") == 0) {
186 else if (strcmp(country_code,"AD") == 0) {
204 else if (strcmp(country_code,"AE") == 0) {
222 else if (strcmp(country_code,"AF") == 0) {
294 else if (strcmp(country_code,"AG") == 0) {
314 else if (strcmp(country_code,"AL") == 0) {
342 else if (strcmp(country_code,"AM") == 0) {
368 else if (strcmp(country_code,"A
[all...]
H A DGeoIPCity.h33 char *country_code; member in struct:GeoIPRecordTag
H A DGeoIP.c1481 region->country_code[0] = 'U';
1482 region->country_code[1] = 'S';
1486 memcpy(region->country_code, GeoIP_country_code[seek_region], 2);
1496 region->country_code[0] = 'U';
1497 region->country_code[1] = 'S';
1502 region->country_code[0] = 'C';
1503 region->country_code[1] = 'A';
1508 memcpy(region->country_code, GeoIP_country_code[(seek_region - WORLD_OFFSET) / FIPS_RANGE], 2);
1526 region->country_code[0] = 'U';
1527 region->country_code[
[all...]
H A DGeoIPCity.c90 record->country_code = (char *) GeoIP_country_code[record_buf[0]];
145 if (!strcmp(record->country_code, "US")) {
H A DGeoIP.h91 char country_code[3]; member in struct:GeoIPRegionTag
276 GEOIP_API const char * GeoIP_region_name_by_code(const char *country_code, const char *region_code);
279 GEOIP_API const char * GeoIP_time_zone_by_country_and_region(const char *country_code, const char *region_code);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/GeoIP-1.5.1/test/
H A Dtest-geoip-region.c79 gir->country_code, gir->region);
89 GeoIP_time_zone_by_country_and_region(gir->country_code,
92 gir->country_code,
95 (gir->country_code, gir->region)), _mk_NA(time_zone));
102 assert(giRegion.country_code[0]);
103 assert(!strcmp(gir->country_code, giRegion.country_code));
111 assert(!giRegion.country_code[0]);
H A Dtest-geoip-city.c62 GeoIP_time_zone_by_country_and_region(gir->country_code,
65 _mk_NA(gir->country_code), _mk_NA(gir->region),
67 (gir->country_code, gir->region)), _mk_NA(gir->city),
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/GeoIP-1.5.1/apps/
H A Dgeoiplookup6.c125 const char *country_code; local
171 printf("%s: %s, %s, %s, %s, %f, %f\n", GeoIPDBDescription[i], gir->country_code, _mk_NA(gir->region),
181 printf("%s: %s, %s, %s, %s, %f, %f, %d, %d\n", GeoIPDBDescription[i], gir->country_code, _mk_NA(gir->region), _mk_NA(gir->city), _mk_NA(gir->postal_code),
189 country_code = GeoIP_country_code[country_id];
195 printf("%s: %s, %s\n", GeoIPDBDescription[i], country_code, country_name);
209 printf("%s: %s, %s\n", GeoIPDBDescription[i], region->country_code, region->region);
219 printf("%s: %s, %s, %s, %s, %f, %f\n", GeoIPDBDescription[i], gir->country_code, gir->region,
229 printf("%s: %s, %s, %s, %s, %f, %f, %d, %d\n", GeoIPDBDescription[i], gir->country_code, gir->region, gir->city, gir->postal_code,
H A Dgeoiplookup.c236 const char *country_code; local
280 country_code = GeoIP_country_code[country_id];
286 printf("%s: %s, %s\n", GeoIPDBDescription[i], country_code, country_name);
292 if (NULL == region || region->country_code[0] == '\0' ) {
296 printf("%s: %s, %s\n", GeoIPDBDescription[i], region->country_code, region->region);
308 printf("%s: %s, %s, %s, %s, %s, %f, %f\n", GeoIPDBDescription[i], gir->country_code, _mk_NA(gir->region),
309 _mk_NA(GeoIP_region_name_by_code(gir->country_code, gir->region)),
321 printf("%s: %s, %s, %s, %s, %s, %f, %f, %d, %d\n", GeoIPDBDescription[i], gir->country_code, _mk_NA(gir->region),
322 _mk_NA(GeoIP_region_name_by_code(gir->country_code, gir->region)),
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/wireless/ath/
H A Dregd.c513 reg->country_code = ath_regd_get_default_country(regdmn);
515 if (reg->country_code == CTRY_DEFAULT &&
519 reg->country_code = CTRY_UNITED_STATES;
522 if (reg->country_code == CTRY_DEFAULT) {
527 country = ath_regd_find_country(reg->country_code);
532 reg->country_code);
575 (reg->country_code == CTRY_DEFAULT &&
H A Dath.h65 u16 country_code; member in struct:ath_regulatory
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/wireless/libertas/
H A Dcmd.c745 domain->country_code[0] = request->alpha2[0];
746 domain->country_code[1] = request->alpha2[1];
747 domain->country_code[2] = ' ';
813 domain->header.len = cpu_to_le16(sizeof(domain->country_code) +
817 (u8 *) &cmd.domain.country_code,
823 sizeof(cmd.domain.country_code) +
H A Dhost.h390 u8 country_code[3]; member in struct:mrvl_ie_domain_param_set
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/ssb/
H A Dpci.c364 SPEX(country_code, SSB_SPROM1_BINF, SSB_SPROM1_BINF_CCODE,
428 SPEX(country_code, SSB_SPROM4_CCODE, 0xFFFF, 0);
432 SPEX(country_code, SSB_SPROM5_CCODE, 0xFFFF, 0);
487 SPEX(country_code, SSB_SPROM8_CCODE, 0xFFFF, 0);
H A Dsdio.c528 sprom->country_code = tuple->data[1];
H A Dpcmcia.c669 sprom->country_code = tuple->TupleData[1];
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/mips/bcm47xx/
H A Dsetup.c83 READ_FROM_NVRAM(country_code, "ccode", buf);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/wireless/
H A Dadm8211.h504 u8 country_code; /* 0x1B */ member in struct:adm8211_eeprom
H A Dadm8211.c174 if (priv->eeprom->country_code >= ARRAY_SIZE(cranges)) {
176 pci_name(priv->pdev), priv->eeprom->country_code);
180 chan_range = cranges[priv->eeprom->country_code];
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/mips/bcm63xx/boards/
H A Dboard_bcm963xx.c629 .country_code = 0x0,
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/ssb/
H A Dssb.h29 u8 country_code; /* Country Code */ member in struct:ssb_sprom
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/wlags49_h2/
H A Dmdd.h410 hcf_16, n_channel_sets, hcf_16, country_code[2], \
413 hcf_16, n_channel_sets, hcf_16, country_code[2], \
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/wireless/ath/ath9k/
H A Dhw.c420 regulatory->country_code = CTRY_DEFAULT;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/wireless/b43legacy/
H A Dradio.c1788 if (dev->dev->bus->sprom.country_code == 5) /* JAPAN) */
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/wireless/b43/
H A Dphy_g.c2103 if (dev->dev->bus->sprom.country_code ==

Completed in 162 milliseconds