Home
last modified time | relevance | path

Searched refs:country (Results 1 – 25 of 93) sorted by relevance

1234

/freebsd-12-stable/lib/lib80211/
Dlib80211_regdomain.h66 struct country;
71 const struct country *cc; /* country code for 1-1/default map */
84 struct country { struct
91 LIST_ENTRY(country) next; argument
97 LIST_HEAD(, country) countries; /* country code table */
116 const struct country *lib80211_country_findbycc(const struct regdata *,
118 const struct country *lib80211_country_findbyname(const struct regdata *,
Dlib80211_regdomain.c57 struct country *country; /* current country */ member
97 if (mt->country == NULL) { in start_element()
103 mt->country->rd = (void *)strdup(ref); in start_element()
157 if (iseq(name, "country") && mt->country == NULL) { in start_element()
158 mt->country = calloc(1, sizeof(struct country)); in start_element()
159 mt->country->isoname = strdup(id); in start_element()
160 mt->country->code = NO_COUNTRY; in start_element()
162 LIST_INSERT_HEAD(&mt->rdp->countries, mt->country, next); in start_element()
314 if (iseq(name, "isocc") && mt->country != NULL) { in end_element()
315 mt->country->code = strtoul(p, NULL, 0); in end_element()
[all …]
/freebsd-12-stable/usr.sbin/bsdconfig/timezone/share/
Dmenus.subr48 # continent and country menus.
60 # Space-separated list of 2-character country codes.
62 # Desired menu text for the country-zone represented by *, the 2-
63 # character country code.
68 # Number of zones for the country represented by *, the 2-
69 # character country code. Should be -1 if the country has only
71 # zones the country has.
73 # Principal continent (or ocean) in which the country-zone
74 # represented by *, the 2-character country code, resides.
76 # Principal continent (or ocean) in which zone-N of the country
[all …]
Dcountries.subr33 # Returns a single property of a given country. Available properties are:
35 # name Name of the country as read from _PATH_ISO3166.
36 # nzones Number of zones within the country (-1 if country has
40 # cont The principal continent in which the country lies (appears
42 # filename_N Like filename, but for the Nth zone when the country has
44 # cont_N Like cont, but for the Nth zone when the country has
46 # descr_N Like name, but for the Nth zone when the country has
60 # Sorts alphabetically the 2-character country codes listed in $COUNTRIES based
61 # on the name of each country.
Diso3166.subr56 # Read the ISO 3166 country code database in _PATH_ISO3166:
69 # two ISO 3166 2-character country code
70 # three ISO 3166 3-character country code (if provided)
71 # number ISO 3166 numeric country code (if provided)
72 # name Human-readable country name (may contain spaces)
77 # A space-separated list of 2-character country codes.
79 # The country `name' (as described above).
81 # where CODE is the 2-character country code.
133 # Get the ISO3166-1 (Alpha 1) 2-letter country code
137 # Validate the two-character country code
Dzones.subr78 # The ISO 3166 2-character country code.
87 # Comments; present if and only if the country has multiple rows.
100 # Country name of the country represented by CODE, the 2-
101 # character country code.
106 # Either set to `-1' to indicate that the 2-character country
110 # iated with the given country code. When multiple zones are
126 # NOTE: CODE is the 2-character country code.
167 # Validate the two-character country code
267 # Get the ISO3166-1 (Alpha 1) 2-letter country code
271 # Validate the two-character country code
/freebsd-12-stable/sys/dev/ath/ath_hal/
Dah_regdomain.c239 COUNTRY_CODE_TO_ENUM_RD *country; in getDefaultCountry() local
241 country = findCountry(cc); in getDefaultCountry()
242 if (country != AH_NULL) in getDefaultCountry()
269 COUNTRY_CODE_TO_ENUM_RD *country; in getregstate() local
287 country = findCountry(cc); in getregstate()
288 if (country == AH_NULL) { in getregstate()
293 regDmn = country->regDmnEnum; in getregstate()
297 if (country->countryCode == CTRY_DEFAULT) { in getregstate()
312 country = findCountry(cc); in getregstate()
313 if (country == AH_NULL) { in getregstate()
[all …]
/freebsd-12-stable/usr.sbin/bsdinstall/scripts/
Dwlanconfig82 local input regdomains countries regdomain country prompt
131 prompt="Select your country."
147 country_set "$regdomain" "$country"
193 f_dialog_title "Regdomain/country"
194 if f_yesno "Change regdomain/country ($DEF_REGDOMAIN/$DEF_COUNTRY)?"
/freebsd-12-stable/usr.bin/whois/
Dwhois.c168 const char *country, *host; in main() local
175 country = host = NULL; in main()
189 country = optarg; in main()
242 if (!argc || (country != NULL && host != NULL)) in main()
248 if (host == NULL && country == NULL) { in main()
256 if (country != NULL) { in main()
258 s_asprintf(&qnichost, "%s%s", country, QNICHOST_TAIL); in main()
/freebsd-12-stable/usr.sbin/bsdconfig/timezone/include/
Dmessages.subr44 msg_country_code_invalid="%s:%d: country code \`%s' invalid"
45 msg_country_code_multiply_defined="%s:%d: country code \`%s' multiply defined: %s"
46 msg_country_code_unknown="%s:%d: country code \`%s' unknown"
57 msg_invalid_country_code="%s:%d: invalid country code \`%s'"
68 msg_select_country="Select a country"
/freebsd-12-stable/contrib/tzdata/
Dzone1970.tab12 # of ISO 3166 2-character country codes.
20 # If multiple timezones overlap a country, each has a row in the
21 # table, with each column 1 containing the country code.
28 # and that country is listed first in column 1; any other countries
29 # are listed alphabetically by country code. The table is sorted
30 # first by country code, then (if possible) by an order within the
31 # country that (1) makes some geographical sense, and (2) puts the
38 #country-
357 # For example, the comment "#@AQ<tab>Antarctica/" means the country code
360 # under the Pacific because its line's country codes include AQ.
[all …]
/freebsd-12-stable/contrib/wpa/src/common/
Dieee802_11_common.c1186 static int country_match(const char *const cc[], const char *const country) in country_match() argument
1190 if (country == NULL) in country_match()
1193 if (cc[i][0] == country[0] && cc[i][1] == country[1]) in country_match()
1481 int ieee80211_chan_to_freq(const char *country, u8 op_class, u8 chan) in ieee80211_chan_to_freq() argument
1485 if (country_match(us_op_class_cc, country)) { in ieee80211_chan_to_freq()
1491 if (country_match(eu_op_class_cc, country)) { in ieee80211_chan_to_freq()
1497 if (country_match(jp_op_class_cc, country)) { in ieee80211_chan_to_freq()
1503 if (country_match(cn_op_class_cc, country)) { in ieee80211_chan_to_freq()
2166 u8 country_to_global_op_class(const char *country, u8 op_class) in country_to_global_op_class() argument
2172 if (country_match(us_op_class_cc, country)) { in country_to_global_op_class()
[all …]
Dieee802_11_common.h213 int ieee80211_chan_to_freq(const char *country, u8 op_class, u8 chan);
260 u8 country_to_global_op_class(const char *country, u8 op_class);
262 const struct oper_class_map * get_oper_class(const char *country, u8 op_class);
/freebsd-12-stable/contrib/wpa/src/p2p/
Dp2p_build.c85 void p2p_buf_add_listen_channel(struct wpabuf *buf, const char *country, in p2p_buf_add_listen_channel() argument
91 wpabuf_put_data(buf, country, 3); in p2p_buf_add_listen_channel()
99 void p2p_buf_add_operating_channel(struct wpabuf *buf, const char *country, in p2p_buf_add_operating_channel() argument
105 wpabuf_put_data(buf, country, 3); in p2p_buf_add_operating_channel()
151 void p2p_buf_add_channel_list(struct wpabuf *buf, const char *country, in p2p_buf_add_channel_list() argument
160 wpabuf_put_data(buf, country, 3); /* Country String */ in p2p_buf_add_channel_list()
370 void p2p_buf_add_oob_go_neg_channel(struct wpabuf *buf, const char *country, in p2p_buf_add_oob_go_neg_channel() argument
377 wpabuf_put_data(buf, country, 3); in p2p_buf_add_oob_go_neg_channel()
Dp2p_go_neg.c51 os_memcpy(dev->country, pos, 3); in p2p_peer_channels_check()
53 if (pos[2] != 0x04 && os_memcmp(pos, p2p->cfg->country, 2) != 0) { in p2p_peer_channels_check()
55 p2p->cfg->country[0], p2p->cfg->country[1], in p2p_peer_channels_check()
176 p2p_buf_add_listen_channel(buf, p2p->cfg->country, p2p->cfg->reg_class, in p2p_build_go_neg_req()
182 p2p_buf_add_channel_list(buf, p2p->cfg->country, &p2p->channels); in p2p_build_go_neg_req()
184 p2p_buf_add_operating_channel(buf, p2p->cfg->country, in p2p_build_go_neg_req()
320 p2p_buf_add_operating_channel(buf, p2p->cfg->country, in p2p_build_go_neg_resp()
326 p2p_buf_add_operating_channel(buf, p2p->cfg->country, in p2p_build_go_neg_resp()
332 p2p_buf_add_channel_list(buf, p2p->cfg->country, in p2p_build_go_neg_resp()
335 p2p_buf_add_channel_list(buf, p2p->cfg->country, in p2p_build_go_neg_resp()
[all …]
Dp2p_invitation.c72 p2p_buf_add_operating_channel(buf, p2p->cfg->country, in p2p_build_invitation_req()
77 p2p_buf_add_channel_list(buf, p2p->cfg->country, &p2p->channels); in p2p_build_invitation_req()
154 p2p_buf_add_operating_channel(buf, p2p->cfg->country, in p2p_build_invitation_resp()
159 p2p_buf_add_channel_list(buf, p2p->cfg->country, channels); in p2p_build_invitation_resp()
359 p2p->cfg->country[0], p2p->cfg->country[1], in p2p_process_invitation_req()
Dp2p_i.h80 char country[3]; member
756 void p2p_buf_add_listen_channel(struct wpabuf *buf, const char *country,
758 void p2p_buf_add_operating_channel(struct wpabuf *buf, const char *country,
760 void p2p_buf_add_channel_list(struct wpabuf *buf, const char *country,
774 void p2p_buf_add_oob_go_neg_channel(struct wpabuf *buf, const char *country,
/freebsd-12-stable/usr.sbin/tzsetup/
Dtzsetup.c307 struct country { struct
330 static struct country countries[NCOUNTRIES];
342 struct country *cp; in read_iso3166_table()
398 struct country *cp; in add_zone_to_country()
453 const struct country *a = xa, *b = xb; in compare_countries()
533 struct country *cp; in make_menus()
633 struct country *cp = dmi->data; in set_zone_menu()
692 struct country *cp = dmi->data; in set_zone_whole_country()
/freebsd-12-stable/contrib/wpa/wpa_supplicant/
Dmesh.c479 wpa_s->hw.num_modes) && wpa_s->conf->country[0]) { in wpa_supplicant_mesh_init()
482 conf->country[0] = wpa_s->conf->country[0]; in wpa_supplicant_mesh_init()
483 conf->country[1] = wpa_s->conf->country[1]; in wpa_supplicant_mesh_init()
484 conf->country[2] = ' '; in wpa_supplicant_mesh_init()
Drrm.c589 const char *country, const u8 *subelems, in wpas_channel_report_freqs() argument
611 op = get_oper_class(country, *pos); in wpas_channel_report_freqs()
656 const char *country = NULL; in wpas_beacon_request_freqs() local
664 country = (const char *) (elem + 2); in wpas_beacon_request_freqs()
666 op = get_oper_class(country, op_class); in wpas_beacon_request_freqs()
695 ext_freqs = wpas_channel_report_freqs(wpa_s, active, country, subelems, in wpas_beacon_request_freqs()
Dconfig.h328 char country[3]; member
765 char country[2]; member
Dwnm_sta.h33 char country[2]; /* valid if country_present=1 */ member
/freebsd-12-stable/contrib/apr-util/
DREADME79 This distribution includes cryptographic software. The country in
81 possession, use, and/or re-export to another country, of
83 check your country's laws, regulations and policies concerning the
/freebsd-12-stable/tools/tools/net80211/scripts/
Dsetup.dfs17 ifconfig $WLAN country $COUNTRY
/freebsd-12-stable/contrib/tzcode/zic/
DTheory243 Include at least one location per time zone rule set per country.
245 iso3166.tab) to help decide whether something is a country.
248 If all the clocks in a country's region have agreed since 1970,
262 Use the most populous among locations in a country's time zone,
270 but prefer `Mexico_City' to `Mexico' because the country
336 If this is not available or is a phrase mentioning the country
339 When a country has a single or principal time zone region,
340 append `T' to the country's ISO code, e.g. `CVT' for
343 When a country has multiple time zones, take the first three
417 year after 1696 would be in 1744 -- putting the whole country on a calendar

1234