Symbol: country
lib/lib80211/lib80211_regdomain.c
100
mt->country->rd = (void *)strdup(ref);
lib/lib80211/lib80211_regdomain.c
154
if (iseq(name, "country") && mt->country == NULL) {
lib/lib80211/lib80211_regdomain.c
155
mt->country = calloc(1, sizeof(struct country));
lib/lib80211/lib80211_regdomain.c
156
mt->country->isoname = strdup(id);
lib/lib80211/lib80211_regdomain.c
157
mt->country->code = NO_COUNTRY;
lib/lib80211/lib80211_regdomain.c
159
LIST_INSERT_HEAD(&mt->rdp->countries, mt->country, next);
lib/lib80211/lib80211_regdomain.c
311
if (iseq(name, "isocc") && mt->country != NULL) {
lib/lib80211/lib80211_regdomain.c
312
mt->country->code = strtoul(p, NULL, 0);
lib/lib80211/lib80211_regdomain.c
315
if (iseq(name, "name") && mt->country != NULL) {
lib/lib80211/lib80211_regdomain.c
316
mt->country->name = strdup(p);
lib/lib80211/lib80211_regdomain.c
359
if (iseq(name, "country") && mt->country != NULL) {
lib/lib80211/lib80211_regdomain.c
361
if ((int) mt->country->code == NO_COUNTRY) {
lib/lib80211/lib80211_regdomain.c
365
if (mt->country->name == NULL) {
lib/lib80211/lib80211_regdomain.c
369
if (mt->country->rd == NULL) {
lib/lib80211/lib80211_regdomain.c
373
mt->country = NULL;
lib/lib80211/lib80211_regdomain.c
419
struct country *cp;
lib/lib80211/lib80211_regdomain.c
54
struct country *country; /* current country */
lib/lib80211/lib80211_regdomain.c
599
struct country *cp = LIST_FIRST(&rdp->countries);
lib/lib80211/lib80211_regdomain.c
706
const struct country *
lib/lib80211/lib80211_regdomain.c
709
const struct country *cp;
lib/lib80211/lib80211_regdomain.c
721
const struct country *
lib/lib80211/lib80211_regdomain.c
724
const struct country *cp;
lib/lib80211/lib80211_regdomain.c
94
if (mt->country == NULL) {
lib/lib80211/lib80211_regdomain.h
114
const struct country *lib80211_country_findbycc(const struct regdata *,
lib/lib80211/lib80211_regdomain.h
116
const struct country *lib80211_country_findbyname(const struct regdata *,
lib/lib80211/lib80211_regdomain.h
64
struct country;
lib/lib80211/lib80211_regdomain.h
69
const struct country *cc; /* country code for 1-1/default map */
lib/lib80211/lib80211_regdomain.h
89
LIST_ENTRY(country) next;
lib/lib80211/lib80211_regdomain.h
95
LIST_HEAD(, country) countries; /* country code table */
sbin/ifconfig/ifieee80211.c
2324
const struct country *cc;
sbin/ifconfig/ifieee80211.c
2338
cc = lib80211_country_findbycc(rdp, reg->country);
sbin/ifconfig/ifieee80211.c
2341
reg->country);
sbin/ifconfig/ifieee80211.c
2460
const struct country *cp;
sbin/ifconfig/ifieee80211.c
2484
const struct country *cc;
sbin/ifconfig/ifieee80211.c
2490
regdomain.country = cc->code;
sbin/ifconfig/ifieee80211.c
2513
if (regdomain.country == 0 && rd->cc != NULL) {
sbin/ifconfig/ifieee80211.c
2527
const struct country *cc;
sbin/ifconfig/ifieee80211.c
2541
regdomain.country = cc->code;
sbin/ifconfig/ifieee80211.c
4838
reg->regdomain != reg->country) || verb) {
sbin/ifconfig/ifieee80211.c
4846
if (reg->country != 0 || verb) {
sbin/ifconfig/ifieee80211.c
4847
const struct country *cc =
sbin/ifconfig/ifieee80211.c
4848
lib80211_country_findbycc(getregdata(), reg->country);
sbin/ifconfig/ifieee80211.c
4850
LINE_CHECK("country %d", reg->country);
sbin/ifconfig/ifieee80211.c
504
if (rd->country != NO_COUNTRY) {
sbin/ifconfig/ifieee80211.c
505
const struct country *cc;
sbin/ifconfig/ifieee80211.c
512
cc = lib80211_country_findbycc(rdp, rd->country);
sbin/ifconfig/ifieee80211.c
514
errx(1, "unknown ISO country code %d", rd->country);
sbin/ifconfig/ifieee80211.c
6045
regdomain.country != CTRY_DEFAULT)
sbin/ifconfig/ifieee80211.c
6052
regdomain.country != CTRY_DEFAULT)
sbin/ifconfig/ifieee80211.c
6069
regdomain.country = CTRY_DEFAULT;
sys/dev/ath/ath_hal/ah_regdomain.c
237
COUNTRY_CODE_TO_ENUM_RD *country;
sys/dev/ath/ath_hal/ah_regdomain.c
239
country = findCountry(cc);
sys/dev/ath/ath_hal/ah_regdomain.c
240
if (country != AH_NULL)
sys/dev/ath/ath_hal/ah_regdomain.c
267
COUNTRY_CODE_TO_ENUM_RD *country;
sys/dev/ath/ath_hal/ah_regdomain.c
285
country = findCountry(cc);
sys/dev/ath/ath_hal/ah_regdomain.c
286
if (country == AH_NULL) {
sys/dev/ath/ath_hal/ah_regdomain.c
291
regDmn = country->regDmnEnum;
sys/dev/ath/ath_hal/ah_regdomain.c
295
if (country->countryCode == CTRY_DEFAULT) {
sys/dev/ath/ath_hal/ah_regdomain.c
310
country = findCountry(cc);
sys/dev/ath/ath_hal/ah_regdomain.c
311
if (country == AH_NULL) {
sys/dev/ath/ath_hal/ah_regdomain.c
317
regDmn = country->regDmnEnum;
sys/dev/ath/ath_hal/ah_regdomain.c
330
__func__, regDmn, country->countryCode);
sys/dev/ath/ath_hal/ah_regdomain.c
337
__func__, regpair->regDmn5GHz, country->countryCode);
sys/dev/ath/ath_hal/ah_regdomain.c
344
__func__, regpair->regDmn2GHz, country->countryCode);
sys/dev/ath/ath_hal/ah_regdomain.c
352
__func__, regDmn, country->countryCode);
sys/dev/ath/ath_hal/ah_regdomain.c
357
*pcountry = country;
sys/dev/ath/ath_hal/ah_regdomain.c
819
COUNTRY_CODE_TO_ENUM_RD *country;
sys/dev/ath/ath_hal/ah_regdomain.c
824
cc, regDmn, enableExtendedChannels, &country, &rd2GHz, &rd5GHz);
sys/dev/ath/ath_hal/ah_regdomain.c
830
ah->ah_countryCode = country->countryCode;
sys/dev/ath/ath_hal/ah_regdomain.c
850
COUNTRY_CODE_TO_ENUM_RD *country;
sys/dev/ath/ath_hal/ah_regdomain.c
867
&country, &rd2GHz, &rd5GHz);
sys/dev/ath/ath_hal/ah_regdomain.c
871
&country, &rd2GHz, &rd5GHz);
sys/dev/ath/ath_hal/ah_regdomain.c
879
ah->ah_countryCode = country->countryCode;
sys/dev/ath/if_ath.c
6364
__func__, reg->regdomain, reg->country, reg->location,
sys/dev/ath/if_ath.c
6368
reg->country, reg->regdomain);
sys/dev/ath/if_ath.c
6417
ic->ic_regdomain.country = (uint16_t) sc->sc_eecc;
sys/dev/ath/if_ath.c
6427
ic->ic_regdomain.regdomain, ic->ic_regdomain.country,
sys/dev/mwl/if_mwl.c
1088
if (rd->country == CTRY_SPAIN)
sys/dev/mwl/if_mwl.c
1090
if (rd->country == CTRY_FRANCE || rd->country == CTRY_FRANCE2)
sys/dev/mwl/if_mwl.c
4477
ic->ic_regdomain.country = CTRY_DEFAULT;
sys/dev/wtap/if_wtap.c
654
ic->ic_regdomain.country = CTRY_SWEDEN;
sys/net80211/_ieee80211.h
436
uint16_t country; /* ISO country code */
sys/net80211/ieee80211_input.c
574
scan->country = frm;
sys/net80211/ieee80211_input.c
726
if (scan->country != NULL) {
sys/net80211/ieee80211_input.c
734
IEEE80211_VERIFY_LENGTH(scan->country[1], 3 * sizeof(uint8_t),
sys/net80211/ieee80211_input.c
735
scan->country = NULL);
sys/net80211/ieee80211_regdomain.c
277
rd->country);
sys/net80211/ieee80211_regdomain.c
71
ic->ic_regdomain.country == CTRY_DEFAULT) {
sys/net80211/ieee80211_scan.c
581
if (sp->country != NULL)
sys/net80211/ieee80211_scan.c
582
dump_country(sp->country);
sys/net80211/ieee80211_scan.h
241
uint8_t *country;
sys/net80211/ieee80211_scan_sta.c
1102
(ic->ic_regdomain.country == CTRY_DEFAULT ||
sys/net80211/ieee80211_scan_sta.c
365
if (sp->country != NULL) {
sys/net80211/ieee80211_scan_sta.c
367
(const struct ieee80211_country_ie *) sp->country;
sys/net80211/ieee80211_scan_sta.c
379
(ic->ic_regdomain.country == CTRY_DEFAULT ||
usr.bin/whois/whois.c
153
const char *country, *host;
usr.bin/whois/whois.c
160
country = host = NULL;
usr.bin/whois/whois.c
174
country = optarg;
usr.bin/whois/whois.c
227
if (!argc || (country != NULL && host != NULL))
usr.bin/whois/whois.c
233
if (host == NULL && country == NULL) {
usr.bin/whois/whois.c
241
if (country != NULL) {
usr.bin/whois/whois.c
243
s_asprintf(&qnichost, "%s%s", country, QNICHOST_TAIL);
usr.sbin/tzsetup/tzsetup.c
297
static struct country countries[NCOUNTRIES];
usr.sbin/tzsetup/tzsetup.c
309
struct country *cp;
usr.sbin/tzsetup/tzsetup.c
360
static struct country *
usr.sbin/tzsetup/tzsetup.c
363
struct country *cp;
usr.sbin/tzsetup/tzsetup.c
379
add_cont_to_country(struct country *cp, struct continent *cont)
usr.sbin/tzsetup/tzsetup.c
391
add_zone_to_country(int lineno, struct country *cp, const char *descr,
usr.sbin/tzsetup/tzsetup.c
426
const struct country *a = xa, *b = xb;
usr.sbin/tzsetup/tzsetup.c
454
struct country *cp;
usr.sbin/tzsetup/tzsetup.c
557
struct country *cp;
usr.sbin/tzsetup/tzsetup.c
573
struct country *cp;
usr.sbin/tzsetup/tzsetup.c
676
struct country *cp = dmi->data;